-
Notifications
You must be signed in to change notification settings - Fork 150
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
Low frame rate and latency #115
Comments
Hi, Regarding your frame rate, you have to pay attention that setting the FPS to a certain value does not necessarily imply that you will reach that FPS rate. It is a value related to the exposure time. If your exposure time is too high, then the frame rate cannot be high. For instance, you can get the maximum frame rate of 70 fps in some cameras only if your exposure time is less than 10 mS. This is because from your camera the image travels through the code that sometimes is not optimized, it might do some processing that will increase the time between frames, and any other operation you will do will also decrease the frame rate. Another detail: When you retrieve an image from a Basler camera, you have to specify a timeout. If your exposure time is too high, and taking an image takes more time than the timeout time, then you will never receive an image from the camera (a timeout exception will always occur). Additionally, the configuration is persistent, so if you stop your program and you restart it, then the same situation will happen. What I used to do in my programs is to start the camera always with a safe configuration, that allows me to always receive images, and to always interact with the camera. I hope this information is useful for you. |
@farhad-dalirani Hi, for the "usbfs" check the pylon ReadMe > Performance Optimization > USB Vision Cameras: https://www.baslerweb.com/fp-1654588449/media/downloads/software/pylon_software/README~5.txt |
The problem was solved. The answer is in this StackOverflow post: |
I have a Basler camera that is connected to my PC(24 GB RAM, Core i7) with a USB3. It is very slow and the frame rate is low. For example, I pass in front of it at t=6 (second), and it shows me on t=9 (second).
Also, the frame rate is so low although in the configuration file I determined the frame rate as 60.0.
I get this error on the terminal:
Also, I get this warning on terminal:
This is my configuration file:
The text was updated successfully, but these errors were encountered: