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
OV9281 occasional capture timeout on CM3 #24
Comments
@lukedempsey Would you please post the question on our forum : https://www.arducam.com/forum/ |
Didn't explicitly find the root cause, but it was definitely a pebcak. Resolved in the above Arducam forum thread. |
Was mistaken, the issue was intermittent enough that it convinced me that it was fixed. Didn't find the root cause, however a quicker version of my workaround is to reset the resolution, rather than closing and opening the camera again. |
Note to anyone who tries this, I found this wasn't a great way to do it. It would cause the pi to get locked up to a point where it appeared that had shut down |
Hello, |
I am using a CM3 which interfaces with the OV9281 using a custom carrier board.
I have a python script based heavily off of the capture2opencv.py demo - it sits in a while loop capturing images.
I have set my gpu allocation as following:
My wiring is a little bit different to a standard CM3 carrier so I have reflected this change in my setup:
My main loop is pretty much identical to capture2opencv.py:
My problem is that after 50 or so images, the arducam_capture() method will timeout and return a NullPtr. (Definition located here)
My current work around is the very hacky following to catch the buffer being a Null Pointer. It will just reinitialise the camera again and it will operate normatlly for another ~50 images before the error occurs again.
I have been using this camera with a 3B+ for several weeks and haven't had this problem.
The text was updated successfully, but these errors were encountered: