Closed jonmatthis closed 1 year ago
It's possible that one of the camera captures is not being properly released during the 'detect cameras' thing.
I added a line to delete the cap
object, and that might have fixed this issue.
I'll need to iterate on it a bit before I know for sure
It's possible that one of the camera captures is not being properly released during the 'detect cameras' thing.
I added a line to delete the
cap
object, and that might have fixed this issue.I'll need to iterate on it a bit before I know for sure
Nope, still a problem lol :joy:
Added functionality to check_if_cameras_started
loop in CameraGroup
that will restart a process if it dies during connection and it seems to work...
...still doesn't explain why its failing though
(but it's definitely happening in the part where we create the cv2.VideoCatpure()
object )
I tracked it down to the actual
cv2.VideoCapture
part - something will fail with one of the cameras and the process will hang (or maybe die)?