-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plot Window Freezes and Videos Don't End at the Specified Time #26
Comments
From what I can tell after a bit of diagnosing, the issue is stemming from this error:
From what I have read online and in the spinnaker docs, using white balance with a monochrome camera is null since there are no colors to balance. Are there some different arguments that I should be including with my FLIR monochrome camera config to make sure that it is working correctly? With the master build, the video can record just fine with this error being thrown (although plotting window freezes and acquisition needs to be stopped manually. In the AVI build, the camera initiates but the video is corrupted and I still need to stop video via keyboard. I'm just running the AV1 build in a new conda envi called campy2, all configs are more or less the same. Here is that output with the AV1 build:
|
This error is fixed for me in the master branch (I am still interested in moving over to the Av1 branch but wanted to first get things working with h.265. Essentially, I followed the tips given in #12 . This included changing the flir.py file to comment out the white balance line, using pixel input of "gray" and output of "rgb0", adjusting the display.py file to include some additional info since we are in greyscale, and then commenting out a few more lines of code within flir.py regarding inputs.
It should now look something like this...
and then here is the config that worked for me with a FLIR BFS monochrome camera. I am still some slight issues with getting configs to stay saved onto the camera but I will open a new issue for troubleshooting those issues.
The true dimensions of my camera are 2048x1536 but I have been having issues with those specific frame heights and widths. I'm assuming it is an issue with camera properties getting overwritten each time I run a config file. |
I have been having some issues running campy on my system. Specifically, when I run the
campy-acquire ./configs/my_config.yaml
command, the camera capture initiates, but the plot window is frozen and the videos won't end at the specified time fromrecTimeInSec:
. I can keyboard interrupt the acquisition just fine; however, with sayrecTimeInSec: 30
, the acquisition will continue past this point and will only stop after said keyboard interruption.I just installed the package per the instructions in the readme (conda with py3.7, pyspin wheel for version 3.7, etc.).
The camera I am using is a FLIR BFS-U3-32s4M-C USB3.
My computer configuration is a Dell Precision 5860 machine with: Intel(R) Xeon(R) w5-2545, 128GB RAM, and NVIDIA 4000 Ada.
I tested this with a few of the example configs and the same behavior is present with CPU/GPU compression.
Here is an example config that I was using:
And now the output:
As you can see, recording time for this acquisition should only be 30 seconds, but after waiting 2 minutes with no ending and the plotting window frozen, I just interrupted with control+c on the keyboard.
Here is a screenshot of the issue with the frozen plotting window:
And some properties of the test video saved to disc. Notice how the video is larger than 30 seconds. The video plays just fine, but it seems to be capturing more video than I want it to!
I'm going to keep trying to solve the issue and I will post any updates here.
I think I will also try the AV1 branch build as I have read that potentially the issues with the plotting window are fixed there.
ALSO, THANK YOU VERY MUCH FOR DEVELOPING THIS TOOL, IT'S AWESOME!!
The text was updated successfully, but these errors were encountered: