Open aitov opened 8 months ago
The issue is probably a dropped connection to the camera or some other video issue. Have you tried connecting to the camera in the morning after failure?
Hi, camera connected directly to RPi (MIPI camera). According to the log record:
2024/01/12 05:21:42-INFO-BufferedCapture-line:106 - Terminating capture...
It stuck in main loop during grabbing frames and I found only one possible place for deadlock:
ret, frame = device.read()
So it could be opencv or hardware issue
In opencv version 4.8 added timeout properties : CAP_PROP_READ_TIMEOUT_MSEC
timeout in milliseconds for reading from a video capture (applicable for FFmpeg and GStreamer back-ends only)
Probably it might help for reconnection to camera
Tried to reproduce on new device - can't reproduce. With vibration, movements and hits still continue processing. Need check on original device, seems like hardware issue.
Hi, I have camera inside large box and during strong wind some vibration is happening (as result blurry fits images ). But noticed if wind is very strong: RMS just stops image capturing without any error in log and you just missed the most of nigh.
It was reproduced 3rd time over 5 months . Example of log below: