You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to use the live feature, the video does not open and the app crashes. On a MacOS (10.14.5)
The log outputs:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.'
Any idea?
The text was updated successfully, but these errors were encountered:
It is a weird issue since I did not face this with Ubuntu 18.04 and Windows 10, it seems cv2.VideoCapture() follows the same logic as cv2.imshow() like in the github issue here: opencv/opencv-python#134
It seems these calls must be from the main thread only and flask (or waitress in this case) creates a thread per each request which causes this issue, I suppose disallowing threaded mode would fix the issue.
When trying to use the live feature, the video does not open and the app crashes. On a MacOS (10.14.5)
The log outputs:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '+[NSUndoManager(NSInternal) _endTopLevelGroupings] is only safe to invoke on the main thread.'
Any idea?
The text was updated successfully, but these errors were encountered: