TensorFlow-Object-Detection-on-the-Raspberry-Pi
TensorFlow-Object-Detection-on-the-Raspberry-Pi copied to clipboard
File "/home/pi/.local/lib/python3.5/site-packages/picamera/camera.py", line 1704, in capture_continuous 'Timed out waiting for capture to end')
I followed the tutorial to the letter, and I'm so close! When I run "python3 Object_detection_picamera.py" I get the following. This website seems to indicate that it's a truncation problem. I'm not sure what to make of it, because your code looks like it's already doing what the link suggests.
My Pi Camera is an older Rev 1.3, would that matter? Using a RPi3 otherwise.
Traceback (most recent call last): File "/home/pi/.local/lib/python3.5/site-packages/picamera/camera.py", line 1704, in capture_continuous 'Timed out waiting for capture to end') picamera.exc.PiCameraRuntimeError: Timed out waiting for capture to end
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Object_detection_picamera.py", line 130, in
I was also using v1.3. Maybe you can try the following:
a. sudo apt-get update and followed by upgrade b. Try “raspistill -o xxx.jpg” to see if your camera is able to capture an image c. In the code, reduce the resolution ie. #IM_WIDTH = 640 Use smaller resolution for #IM_HEIGHT = 480 Uncomment and comment out the higher resolution parameters