computer-vision
computer-vision copied to clipboard
threadVideoShow error on macOS
Hi.
I'm getting the following error when trying the code on Python 3.9 with MacOS 11.4
It is the same for
python3 thread_demo.py -s 1 -t show
and
python3 thread_demo.py -s 1 -t both
computer-vision_nrsyed/multithread/VideoShow.py", line 19, in show cv2.imshow("Video", self.frame) cv2.error: Unknown C++ exception from OpenCV code Assertion failed: (NSViewIsCurrentlyBuildingLayerTreeForDisplay() != currentlyBuildingLayerTree), function NSViewSetCurrentlyBuildingLayerTreeForDisplay, file /System/Volumes/Data/SWE/macOS/BuildRoots/e90674e518/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-2022.50.114/AppKit.subproj/NSView.m, line 13412. [1] 61566 illegal hardware instruction python3 thread_demo.py -s 1 -t show
@choehn-signogy I facing same error
@choehn-signogy you have resolved this issue
@monxarat @choehn-signogy Did you ever find a solution for this issue?