-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Hi, guys after I wanted to use on a video I got this error. When I try with webcam, it's the same. Any idea why is this?
Stack:
- Mac
- Opencv2
Command:
./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights example_02.mp4 -prefix 0
Error:
2019-06-18 17:58:17.835 darknet[46591:2110979] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'nextEventMatchingMask should only be called from the Main Thread!'
*** First throw call stack:
(
0 CoreFoundation 0x00007fffba1c665b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fffcf00548d objc_exception_throw + 48
2 AppKit 0x00007fffb83ace82 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 4480
3 libopencv_highgui.2.4.dylib 0x000000010dafc599 cvWaitKey + 351
4 darknet 0x000000010d5d64d0 show_image_cv + 240
5 darknet 0x000000010d57acb3 draw_detections + 4963
6 darknet 0x000000010d5c937b detect_in_thread + 459
7 libsystem_pthread.dylib 0x00007fffcfb5893b _pthread_body + 180
8 libsystem_pthread.dylib 0x00007fffcfb58887 _pthread_body + 0
9 libsystem_pthread.dylib 0x00007fffcfb5808d thread_start + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels