Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

threadVideoShow error on macOS #8

Open
choehn-signogy opened this issue Aug 2, 2021 · 3 comments
Open

threadVideoShow error on macOS #8

choehn-signogy opened this issue Aug 2, 2021 · 3 comments

Comments

@choehn-signogy
Copy link

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

@monxarat
Copy link

monxarat commented Oct 13, 2021

@choehn-signogy
I facing same error

@monxarat
Copy link

@choehn-signogy
you have resolved this issue

@rsardal
Copy link

rsardal commented Aug 5, 2022

@monxarat @choehn-signogy Did you ever find a solution for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants