stringless
stringless copied to clipboard
FaceDetection server crashing after approx. one minute of running on OSX
2017-08-11 22:32:05.372 Stringless[32898:454311] -[CaptureDelegate doFireTimer:]: unrecognized selector sent to instance 0x7fcc214122f0
2017-08-11 22:32:05.387 Stringless[32898:454311] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CaptureDelegate doFireTimer:]: unrecognized selector sent to instance 0x7fcc214122f0'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff883a22cb __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff9d1b248d objc_exception_throw + 48
2 CoreFoundation 0x00007fff88423f04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x00007fff88314755 ___forwarding___ + 1061
4 CoreFoundation 0x00007fff883142a8 _CF_forwarding_prep_0 + 120
5 Foundation 0x00007fff89dabe0f __NSFireTimer + 83
6 CoreFoundation 0x00007fff88321c54 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
7 CoreFoundation 0x00007fff883218df __CFRunLoopDoTimer + 1071
8 CoreFoundation 0x00007fff8832143a __CFRunLoopDoTimers + 298
9 CoreFoundation 0x00007fff88318b81 __CFRunLoopRun + 2065
10 CoreFoundation 0x00007fff88318114 CFRunLoopRunSpecific + 420
11 Foundation 0x00007fff89d2b252 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
12 Foundation 0x00007fff89dbb9b5 -[NSRunLoop(NSRunLoop) runUntilDate:] + 111
13 libopencv_videoio.3.1.dylib 0x00000001104c9cf1 _ZN12CvCaptureCAM9grabFrameEd + 241
14 libopencv_videoio.3.1.dylib 0x00000001104bda6f _ZN2cv12VideoCapture4grabEv + 31
15 libopencv_videoio.3.1.dylib 0x00000001104bddf3 _ZN2cv12VideoCapture4readERKNS_12_OutputArrayE + 19
16 libopencv_videoio.3.1.dylib 0x00000001104bde54 _ZN2cv12VideoCapturersERNS_3MatE + 52
17 Stringless 0x000000010f6e09b1 _ZN10Stringless12FaceDetector5startERNS_6WriterE + 3281
18 Stringless 0x000000010f6d5fda main + 6682
19 libdyld.dylib 0x00007fff9da98235 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
[1] 32898 abort ./Stringless -d 4 -s 200 -p
I believe this and this issue is directly correlated, I have both OpenCV 2.4.13.2 and OpenCV 3.2.0 installed.
hi!
seems not to happen with this opencv version
build> brew list --versions opencv3
opencv 3.3.0_3
build> ./src/Stringless -d 4 -s 200 -p ../ext/dlib/shape_predictor_68_face_landmarks.dat
Camera output: 320x240
Camera max fps: 30
Initializing face detection...
Frame rate: 3^CFrame count: 9967