johnson-pkt / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

cvHaarDetectObjects method not found #157

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

I'm trying to develop a face recogniton for android, when I was doing the face 
dection process, I'm unable to find the method: cvHaarDetectObjectsgray(Image, 
cascade, storage, 1.1, 1, 0);

I'm doing the following:
CvSeq faces = cvHaarDetectObjectsgray(grayImage, cascade, storage, 1.1, 1, 0);

I can't find the correct class to import it

Is this the correct way to do this ?

Thanks

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by rodrigog...@gmail.com on 19 Feb 2012 at 5:09

GoogleCodeExporter commented 8 years ago
Please follow the instructions in the README.txt file. And let me know if this 
fixes your problem, thank you.

Original comment by samuel.a...@gmail.com on 20 Feb 2012 at 3:14

GoogleCodeExporter commented 8 years ago
Hi,

I took a look at README.txt and did what it's written there. I'm still unable 
to find the method. Actually what I'm intending to do it's a login based on 
face. If no face is found the application should take a picture and learn this 
new face. The searches that I've made, says that I need detect the face, then 
run the recognition.

What I'm trying to do now, it's to detect the face to take parameters(distence 
between eyes,lips, etc). If you have another suggestion how it can be done ?

Thanks for your help

Original comment by rodrigog...@gmail.com on 20 Feb 2012 at 5:09

GoogleCodeExporter commented 8 years ago
When I do a search of the source code, it comes up here:
http://code.google.com/p/javacv/source/search?q=cvHaarDetectObjects&origq=cvHaar
DetectObjects&btnG=Search+Trunk

So, as I said, my guess is that you did not install JavaCV properly... Can you 
explain in more details exactly what you did?

Original comment by samuel.a...@gmail.com on 21 Feb 2012 at 3:31

GoogleCodeExporter commented 8 years ago
Hi,

I have the same issue here. No method found cvHaarDetectObjects. 

Btw. I think i did installation in correct way. At least i was able to run 
FaceRecognition program. 

Original comment by Marcin.B...@gmail.com on 21 Feb 2012 at 11:40

GoogleCodeExporter commented 8 years ago
By installation i mean i have put dll files to C:\Windows\System32 folder. That 
did a trick for me. Cheers.

Samuel any ideas why cvHaarDetectObjects can't be found?

Original comment by Marcin.B...@gmail.com on 21 Feb 2012 at 11:42

GoogleCodeExporter commented 8 years ago
Found problem. I had to add simple import:

import static com.googlecode.javacv.cpp.opencv_objdetect.cvHaarDetectObjects;

Working like a charm :D

Original comment by Marcin.B...@gmail.com on 21 Feb 2012 at 11:54

GoogleCodeExporter commented 8 years ago
Hi,

I was able to find the method.

Thaks for the tip Marcin.

Original comment by rodrigog...@gmail.com on 21 Feb 2012 at 3:17

GoogleCodeExporter commented 8 years ago
Good. Since this is not an issue with JavaCV, please post your questions on the 
mailing list next time if possible, thank you!

Original comment by samuel.a...@gmail.com on 22 Feb 2012 at 1:24

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
import static com.googlecode.javacv.cpp.opencv_objdetect.*;

Original comment by hdl...@gmail.com on 2 May 2013 at 10:14

GoogleCodeExporter commented 8 years ago
did te trick for me.

Original comment by michal.g...@gmail.com on 2 Jun 2013 at 10:41