-
Notifications
You must be signed in to change notification settings - Fork 370
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
Add gen2-mono-raw-controls #132
base: master
Are you sure you want to change the base?
Conversation
Another quick question for you @alex-luxonis. When running both ISP and RAW I am getting about 10fps for preview streams. If I disable RAW I can get 22-24 fps on ISP. But if I use cam.setFPS(60) it doesn't improve. Wondering if I am hitting USB bandwidth limit on the RPI3 or if the MonoCamera has other internal limits? If I drop to T_720_P from 800 I get another 2fps. Given the specs I was thinking I could get more than 24 fps out of it. Thoughts? |
Yes, this is very likely a USB2 limitation/Pi CPU limitation. I recall in Gen1 we had the capability to increase the size of data chunks that are transferred, which helps reduce CPU load and thereby increase throughput. I'm not sure if it's in Gen2 yet though. To tell if it's a USB bandwidth issue, you could run this example, which does encoding, and will reduce the throughput requirements by about an order of magnitude: Could be missing something though, so definitely feel free to wait for Alex on this. :-) |
Thanks @Luxonis-Brandon. I will run that example and then switch to RPI4 to see if FPS goes up. |
So must be bandwidth. I can get 60fps using single stream mono on Jetson/USB3 (both mono streams results is 34 fps each). Pushing fps above 60 kicks out a system warning that fps is capped for 720p resolution. |
Thanks. And if you do lower resolution (640x400) you can do up to 118FPS on the grayscale. |
Should we merge this? |
Displays both the
raw
output of a mono camera (left) and the ISP processedout
.(
raw
output added in luxonis/depthai-python#265)Key controls: