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

iOS demo 打开拍照 ,打开摄像头,打开视频 ,然后点拍照崩溃了 #352

Open
SongPuECY opened this issue Apr 7, 2023 · 1 comment

Comments

@SongPuECY
Copy link

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)

@lhyos
Copy link

lhyos commented Jun 30, 2023

对,我也如此。 还有,静态图片识别存在内存无法释放问题,一次500M,3次闪退,怎么解决呢

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

2 participants