OpenCV Face Recognition : [iOS] - ios

I am trying to work on OpenCV Face recognition but the problem is :-
The sample code i downloaded from github(https://github.com/ekurutepe/iOS-OpenCV-FaceRec) for opencv face recognition have the following problem :-
use of undeclared identifier createLBPHFaceRecognizer()
Please refer to the following screenshot :-

I've been faced with this issue. The latest pod opencv library does not contain "extra" libs (e.g. face detection). So you have to find or build library with required library by yourself

Related

Rust binding for OpenCV seems to be missing the face module

I'm using opencv as OpenCV bindings for rust and I'm trying to implement an EigenFaceRecogniser system. On docs.rs, the opencv::face module is listed inside the opencv crate. However, when I build my code, I get the error:
could not find face in opencv
I'm not really sure what's causing this as the face module is clearly listed in the documentation but for some reason I cannot use it. If anybody who has used these bindings before or knows anything about what could be going wrong could help, it would be appreciated.
I'm using OpenCV version 4.5.1.
The solution was to enable the contrib feature for the opencv package.
While I was writing the above question, I stumbled across this post asking about OpenCV having no face module in python. The solution to that question was to install the opencv-contrib-python package so I tried enabling the contrib feature in the opencv crate and it compiled. I thought I'd post this question anyway just in case somebody else was having this issue.

How to use openCV in Xamarin?

I am creating a Xamarin project to detect some objects in images .
I want to use openCV library , but I can't wrap it to the xamarin .
I wrapped it to an windows form application but I can not wrap it to Xamarin (I got errors in compatibility)
I have tried to install EMGU.cv but I got error : unable to find version 3.4.3
also I can't update it .
I also tried to wrap the openCV to xamarin by downloading the openCV from here https://opencv.org/releases/
but I didn't find the the .jar file to add it the my project .
so how can I use openCV in xamarin please ?
also is object detection applicable with openCV or not ?
Luckily there is some work done by people before you. You can already use the wrapper that's created for Android, but for iOS you'll have to try to create the wrapper yourself
Edit from 2022: For Android you can also take a look at this GitHub sample, amongst many others

need help regarding Markerless example using opencv for unity

I am working on project which is based on markerless technology so for this right now I am using opencv for unity and well known unity asset "Markerless example using opencv for unity" so after importing both packages it's showing one error of coremodule. I tried as much as i can but now I need help so i can proceed further to achieve my target.
here I am attaching the error that i am getting!!
enter image description here
This is because the plugin not successfully installed or imported or you're using outdated. Because new update of opencv for unity is just awesome. Do import it again or else you need to manually import classes by going to core module.

Demo needs OpenCV for webcam images

I am trying to do object detection using YOLO from the official website:https://pjreddie.com/darknet/yolo/
But I cannot integrate OpenCV with it though I have already install OpenCV in my both python version python and python3
her is the error:
rajan#RGR:~/darknet$ ./darknet detector demo cfg/coco.data cfg/yolov3.cfg yolov3.weights videosample.mp4
Demo needs OpenCV for webcam images.
so can anyone help me to solve this, I have been trying to solve it for more than a week but I could not do it. I would be glad if someone gives me the solution. thank you in advance.
Hi. You should opencv =1 in makefile, and make again
if you want to test on a video then type
./darknet detector demo cfg/obj.data cfg/yolo-tiny-obj.cfg
backup/yolo-tiny-obj_40000.weights data/test.mp4
or you can upgrade your opencv

OpenCV ocl module -

I tried to run face detection sample in the ocl module of OpenCV. I got the following error in command line:
unidentified identifier "int3"
Following error in VS2012
cv::Exception at memory location xxxxx
No idea what to do!
Possible duplicate here: ocl-facedetect sample of opencv 2.4.6.1 . But no answer.
I don't have the specs handy but I think the 3-component vector types didn't get added until 1.1 (or maybe 1.2). Perhaps your device only supports OpenCL 1.0. What is the device?

Resources