-
Notifications
You must be signed in to change notification settings - Fork 15
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
Camera Capture Unattributed Latency #107
Comments
I just ran the script with my camera pointing randomly. I had to change one line in algo.py
I get a few pages of spewage (which can slow things down). root DEBUG generatorHexagonVerticies found a half-hexagon At the end of it all, i get this: Total processing time: 3.630576854106039 My raspi4 is 2GB, fwiw. |
I ran the cameraLatencyTest 3 times each on the pi3 and the pi4. Notably, two different cameras were used, but the average time to capture was approximately the same. (Numbers were put into data/). After quite a bit of digging into how the camera captures frames and the picam itself, Dana and I concurred that control of the fps is largely out of our reach; modulating fps and shutterspeed did not affect how many images the pi actually received. |
Here's a data point suggesting our wrapper might be at fault. On 2020.02.16, Jeffery and I wanted to compare latency between our wrapper (with multithreading) and one of the 'shipped' picam utilities, Jeffery has a video showcasing the difference in latency in a more empirical manner, but the two videos suggest that @JeffreyTT Upload the videos and post links? |
As of the time of writing this, there is currently an unknown latency involved with capturing a frame from the raspberry pi camera when operating in 1080p. The latency
Data (As we have recorded it) (@JeffreyTT Please fill in if I'm missing anything)
realPnP
pipeline can operate at about 10Hz on a Raspberry Pi 3B+. @dbadb The scripts to test this latency on a Rpi4 should be available2020/testLatency.py
, it would be interesting to see what your latency numbers are.The text was updated successfully, but these errors were encountered: