jishipp / javacv

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

Face Detection #378

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Expected output: Face Detection
Get Error: 
OpenCV Error: Null pointer (Invalid classifier cascade) in unknown function, 
file ..\..\..\src\opencv\modules\objdetect\src\haar.cpp, line 1514
Exception in thread "main" java.lang.RuntimeException: 
..\..\..\src\opencv\modules\objdetect\src\haar.cpp:1514: error: (-27) Invalid 
classifier cascade

    at com.googlecode.javacv.cpp.opencv_objdetect.cvHaarDetectObjects(Native Method)
    at com.googlecode.javacv.cpp.opencv_objdetect.cvHaarDetectObjects(opencv_objdetect.java:238)
    at FaceDetection.FaceDetection.detect(FaceDetection.java:34)
    at FaceDetection.FaceDetection.main(FaceDetection.java:26)

What version of the product are you using? On what operating system?
OS: Windows 8

Please provide any additional information below.

Original issue reported on code.google.com by ichar...@gmail.com on 28 Oct 2013 at 10:35

Attachments:

GoogleCodeExporter commented 9 years ago
Does the Demo class from the README.txt file work as is on your machine?

Original comment by samuel.a...@gmail.com on 3 Nov 2013 at 1:49

GoogleCodeExporter commented 9 years ago
Yes the problem was that I add an extra space in xml file

Original comment by ichar...@gmail.com on 3 Nov 2013 at 2:43

GoogleCodeExporter commented 9 years ago
Ok, good to hear that! Please ask your questions on the mailing list next time 
if possible, thank you!

Original comment by samuel.a...@gmail.com on 17 Nov 2013 at 8:19