pcentieiro / midian

41 stars 11 forks source link

Can't add opencv2/objdetect in to the sample project #1

Open fahriyor opened 12 years ago

fahriyor commented 12 years ago

Hi Pedro, I'm trying to use your sample project with libfacerec and opencv2 for face recognition ios app. Your sample project is working just fine, but I'm having trouble with adding 'objdetect' module to the project. I want to make automatic face detection with objdetect (detect face rect, crop) and make facerecognizer model for given images taken from camera or photo library. As far, I tried to add 'objdetect' module and all relative modules to the project as you have explained, but no luck.

I'd really appreciate if you could show me the right path for achieving this.

Thanks in advance!

pcentieiro commented 12 years ago

Hello fahriyor!

Thanks for dropping by! I think I've a friend that has a iOS project running OpenCV with the objdetect module. I will contact him tomorrow to see what I can get :) But btw, why don't you use iOS face detection (CIDetector)? It's very easy to set up and get it running ;)

fahriyor commented 12 years ago

Hi, Thanks for the fast reply! I was thinking of supporting devices running >iOS 4.0 and also I have experimented with CIDetector, it detects the faces just fine, but, bounds(rect) of the face detected by CIDetector is not really good, it omits forehead, ears, etc. So I was thinking about using objdetect module of openvc. Anyways, thanks one more time :) I'll be waiting for your answer :)

pcentieiro commented 12 years ago

Hello!

I just talked with my friend, and he asked me if you built the project on the device instead on the simulator, since the objdetect/haarcascade libraries do not compile on the simulator.