You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made an android app using this repertory.
My code is on this repertory: https://github.com/DarkApocalypse/QRCode
It work pretty fine excepted some troubles.I test my app with:
i crash randomly and get this error.
Someone can explain me what it is wrong?
LOGCAT: 2022-06-23 12:52:06.269 2577-2577/fr.jcwebinfo.qrcode I/OPENCVAPP: found Tag: openCV 2022-06-23 12:52:06.269 2577-2577/fr.jcwebinfo.qrcode I/OPENCVAPP: found Tag: 5 2022-06-23 12:52:06.269 2577-2577/fr.jcwebinfo.qrcode I/OPENCVAPP: found Tag: http://fr.wikipedia.org/ 2022-06-23 12:52:06.271 2577-2621/fr.jcwebinfo.qrcode D/: InsertBlankEntry: SPRD_DATA_SPACE ui64Stamp:1964,eYUVColorSpace:2, yuv_info:2 2022-06-23 12:52:06.271 2577-2621/fr.jcwebinfo.qrcode D/: Gralloc Register w:960, h:720, f:0x22, usage:0x20000906, ui64Stamp:1964, sSize:1040384, line = 2270 2022-06-23 12:52:06.272 2577-2621/fr.jcwebinfo.qrcode D/: Gralloc Free w:960, h:720, f:0x22, usage:0x20000906, ui64Stamp:1980 line = 2376 2022-06-23 12:52:06.358 2577-4102/fr.jcwebinfo.qrcode E/cv::error(): OpenCV(4.5.3) Error: Bad argument (The total number of matrix elements is not divisible by the new number of rows) in reshape, file /home/quickbirdstudios/opencv/releases/opencv-4.5.3/modules/core/src/matrix.cpp, line 1186 2022-06-23 12:52:06.359 2577-4102/fr.jcwebinfo.qrcode E/org.opencv.objdetect: objdetect::detectAndDecodeMulti_11() caught cv::Exception: OpenCV(4.5.3) /home/quickbirdstudios/opencv/releases/opencv-4.5.3/modules/core/src/matrix.cpp:1186: error: (-5:Bad argument) The total number of matrix elements is not divisible by the new number of rows in function 'reshape' 2022-06-23 12:52:06.360 2577-4102/fr.jcwebinfo.qrcode E/AndroidRuntime: FATAL EXCEPTION: Thread-6 Process: fr.jcwebinfo.qrcode, PID: 2577 CvException [org.opencv.core.CvException: cv::Exception: OpenCV(4.5.3) /home/quickbirdstudios/opencv/releases/opencv-4.5.3/modules/core/src/matrix.cpp:1186: error: (-5:Bad argument) The total number of matrix elements is not divisible by the new number of rows in function 'reshape' ] at org.opencv.objdetect.QRCodeDetector.detectAndDecodeMulti_1(Native Method) at org.opencv.objdetect.QRCodeDetector.detectAndDecodeMulti(QRCodeDetector.java:292) at fr.jcwebinfo.qrcode.DetectorThread.run(DetectorThread.java:77) 2022-06-23 12:52:06.361 2577-4102/fr.jcwebinfo.qrcode D/HprofFactory: Create HprofDebugEx 2022-06-23 12:52:06.382 2577-4102/fr.jcwebinfo.qrcode I/Process: Sending signal. PID: 2577 SIG: 9
The text was updated successfully, but these errors were encountered:
I made an android app using this repertory.
My code is on this repertory: https://github.com/DarkApocalypse/QRCode
It work pretty fine excepted some troubles.I test my app with:
i crash randomly and get this error.
Someone can explain me what it is wrong?
LOGCAT:
2022-06-23 12:52:06.269 2577-2577/fr.jcwebinfo.qrcode I/OPENCVAPP: found Tag: openCV 2022-06-23 12:52:06.269 2577-2577/fr.jcwebinfo.qrcode I/OPENCVAPP: found Tag: 5 2022-06-23 12:52:06.269 2577-2577/fr.jcwebinfo.qrcode I/OPENCVAPP: found Tag: http://fr.wikipedia.org/ 2022-06-23 12:52:06.271 2577-2621/fr.jcwebinfo.qrcode D/: InsertBlankEntry: SPRD_DATA_SPACE ui64Stamp:1964,eYUVColorSpace:2, yuv_info:2 2022-06-23 12:52:06.271 2577-2621/fr.jcwebinfo.qrcode D/: Gralloc Register w:960, h:720, f:0x22, usage:0x20000906, ui64Stamp:1964, sSize:1040384, line = 2270 2022-06-23 12:52:06.272 2577-2621/fr.jcwebinfo.qrcode D/: Gralloc Free w:960, h:720, f:0x22, usage:0x20000906, ui64Stamp:1980 line = 2376 2022-06-23 12:52:06.358 2577-4102/fr.jcwebinfo.qrcode E/cv::error(): OpenCV(4.5.3) Error: Bad argument (The total number of matrix elements is not divisible by the new number of rows) in reshape, file /home/quickbirdstudios/opencv/releases/opencv-4.5.3/modules/core/src/matrix.cpp, line 1186 2022-06-23 12:52:06.359 2577-4102/fr.jcwebinfo.qrcode E/org.opencv.objdetect: objdetect::detectAndDecodeMulti_11() caught cv::Exception: OpenCV(4.5.3) /home/quickbirdstudios/opencv/releases/opencv-4.5.3/modules/core/src/matrix.cpp:1186: error: (-5:Bad argument) The total number of matrix elements is not divisible by the new number of rows in function 'reshape' 2022-06-23 12:52:06.360 2577-4102/fr.jcwebinfo.qrcode E/AndroidRuntime: FATAL EXCEPTION: Thread-6 Process: fr.jcwebinfo.qrcode, PID: 2577 CvException [org.opencv.core.CvException: cv::Exception: OpenCV(4.5.3) /home/quickbirdstudios/opencv/releases/opencv-4.5.3/modules/core/src/matrix.cpp:1186: error: (-5:Bad argument) The total number of matrix elements is not divisible by the new number of rows in function 'reshape' ] at org.opencv.objdetect.QRCodeDetector.detectAndDecodeMulti_1(Native Method) at org.opencv.objdetect.QRCodeDetector.detectAndDecodeMulti(QRCodeDetector.java:292) at fr.jcwebinfo.qrcode.DetectorThread.run(DetectorThread.java:77) 2022-06-23 12:52:06.361 2577-4102/fr.jcwebinfo.qrcode D/HprofFactory: Create HprofDebugEx 2022-06-23 12:52:06.382 2577-4102/fr.jcwebinfo.qrcode I/Process: Sending signal. PID: 2577 SIG: 9
The text was updated successfully, but these errors were encountered: