RaspiCam_Cv gets deadlocked calling Camera.grab
C++ library for controlling Raspberry Pi Camera (with/without OpenCV)
Brought to you by:
ucoava
Hello all,
I am using RaspiCam_Cv for a robotics application. Using the RaspiCam_Cv example code I have a simple loop processing images, after maybe 2 minutes of use the Camera get locked in to an ON state. The LED is lit on the camera. Killing the application does not shut the camera. Using print statements I was able to determine the problem happens in Camera.grab, it goes in and never gets out.
Has anyone else experienced this issue? Any work arounds in the interim?
This may be a raspberry pi firmware issue, after downgrading firmware to:
sudo rpi-update 8660fe5152f6353dec61422808835dbcb49fc8b2
My problem went away
Probably same issue here : my c++ program loop on raspicam+zbar (QR reader) and enter deadlock randomly after some time.
The raspicam::grab() call never return.
I'm trying Plunder tip (sudo rpi-update 8660fe5152f6353dec61422808835dbcb49fc8b2) I will report result here tomorrow (the program will try to run for the whole night).
Thanks for reading.
bad news ... deadlock again after about 2 hours of running.