I am trying to create a sample face detection application using OpenCv library. I followed the following tutorials
http://docs.opencv.org/doc/tutorials/introduction/desktop_java/java_dev_intro.html https://www.openshift.com/blogs/day-12-opencv-face-detection-for-java-developers
But Iam getting the following warning and it is not detecting faces.
Hello, OpenCV
Running DetectFaceDemo
Detected 0 faces
Writing faceDetection.png
libpng warning: Image width is zero in IHDR
libpng warning: Image height is zero in IHDR
libpng error: Invalid IHDR data
Please help me.I am using linuxMint+eclipse system.