iOS demo 打开拍照 ,打开摄像头,打开视频 ,然后点拍照崩溃了
SongPuECY opened this issue · 1 comments
2023-04-07 10:05:45.667486+0800 ppocr_demo[53584:1920961] invalid mode 'kCFRunLoopCommonModes' provided to CFRunLoopRunSpecific - break on _CFRunLoopError_RunCalledWithInvalidMode to debug. This message will only appear once per execution.
2023-04-07 10:05:45.667806+0800 ppocr_demo[53584:1920961] process ON
2023-04-07 10:05:45.689951+0800 ppocr_demo[53584:1920961] [Camera] device connected? YES
2023-04-07 10:05:45.690021+0800 ppocr_demo[53584:1920961] [Camera] device position back
2023-04-07 10:05:45.692170+0800 ppocr_demo[53584:1920961] [Camera] FPS set to 30
2023-04-07 10:05:45.693330+0800 ppocr_demo[53584:1920961] rotate..
2023-04-07 10:05:45.693387+0800 ppocr_demo[53584:1920961] layout preview layer
2023-04-07 10:05:45.693452+0800 ppocr_demo[53584:1920961] [Camera] created AVCaptureVideoDataOutput
2023-04-07 10:05:48.018048+0800 ppocr_demo[53584:1920961] back ON
2023-04-07 10:05:48.109296+0800 ppocr_demo[53584:1920961] [Camera] device connected? YES
2023-04-07 10:05:48.109393+0800 ppocr_demo[53584:1920961] [Camera] device position back
2023-04-07 10:05:48.113542+0800 ppocr_demo[53584:1920961] [Camera] FPS set to 30
2023-04-07 10:05:48.115052+0800 ppocr_demo[53584:1920961] rotate..
2023-04-07 10:05:48.115298+0800 ppocr_demo[53584:1920961] layout preview layer
2023-04-07 10:05:48.115439+0800 ppocr_demo[53584:1920961] [Camera] created AVCaptureVideoDataOutput
2023-04-07 10:05:48.883621+0800 ppocr_demo[53584:1920961] video ON
libc++abi: terminating with uncaught exception of type cv::Exception: OpenCV(4.5.4) /Volumes/build-storage/build/master_iOS-mac/opencv/modules/imgproc/src/imgwarp.cpp:3144: error: (-215:Assertion failed) _src.total() > 0 in function 'warpPerspective'
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
terminating with uncaught exception of type cv::Exception: OpenCV(4.5.4) /Volumes/build-storage/build/master_iOS-mac/opencv/modules/imgproc/src/imgwarp.cpp:3144: error: (-215:Assertion failed) _src.total() > 0 in function 'warpPerspective'
(lldb)
对,我也如此。 还有,静态图片识别存在内存无法释放问题,一次500M,3次闪退,怎么解决呢