This error is due to Android Studio not indexing your resource files properly. You can solve this by either: - refreshing the caches: Click File -> Invalidate Caches - or rebuilding the project: Build -> Rebuild Project. The first solution solved the problem in my case.
After adding detectMultiScale method to the cascadeclassifier app crashing getting error like OpenCV(4.8.0) Error: Parsing error (parseTag) in /data/user/0/in.user.face_recognition_open_cv/app_cascade/lbpcascade_frontalface.xml(6): Attribute name should be followed by '=', file /home/ci/opencv/modules/core/src/persistence_xml.cpp, line 733
you are the best
wish u a great career
Give me RUclips link related to this openCV topic thank you 😊
How to convert OPENCV MAT image to BASE64 to send it for processing using API?
Convert mat to bitmap
Then bitmap to base64
stackoverflow.com/questions/9224056/android-bitmap-to-base64-string
the xml file that we did input inside raw when I want call it as in 2:39 it's came an error 🙁🙁
same problem here . I am not able to add the file.
sameee
Share the error
@@programming_hut The error is "Cannot resolve symbol 'lbpcascade_frontalface' '"
This error is due to Android Studio not indexing your resource files properly. You can solve this by either:
- refreshing the caches: Click File -> Invalidate Caches
- or rebuilding the project: Build -> Rebuild Project.
The first solution solved the problem in my case.
After adding detectMultiScale method to the cascadeclassifier app crashing getting error like OpenCV(4.8.0) Error: Parsing error (parseTag) in /data/user/0/in.user.face_recognition_open_cv/app_cascade/lbpcascade_frontalface.xml(6): Attribute name should be followed by '=', file /home/ci/opencv/modules/core/src/persistence_xml.cpp, line 733
Could you please make automatic zoom on face detect?
Try this
Mat imageROI = new Mat(grayFrame,rectCrop);
Or this
Mat imageROI = grayFrame.submat(rectCrop);