jinjudnjs / javacv

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

Converting to gray scale using cvCvtColor gives a access violation exception #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Executed the "Test2" example provided in the "Project Home" page
2. Executed a variance of the same (file attached "DetectFace.java"

What is the expected output? What do you see instead?
The expected output is to draw a rectagle around the detected objects, but 
throws a runtime exception while calling cvCvtColor() method.

What version of the product are you using? On what operating system?
1. OpenCV 2.0
2. JDK 1.6
3. javacv downloded from this site
4. Java Native Access 3.2.5
5. Tried in Windows XP Professional and Windows 7 Ultimate

Please provide any additional information below.
* attached the java source code "DetectFace.java" with debug statements
* attached the log file created with the exception "hs_err_pid384.log"

Appreciate your valuable guidance on this.

Thanks in advance.

Regards,
Mohammed Sadiq

Original issue reported on code.google.com by princesa...@gmail.com on 7 Aug 2010 at 3:09

Attachments:

GoogleCodeExporter commented 9 years ago
Are you running 32-bit Java? And if so, have you tried to recompile OpenCV 
without SSE instructions as indicated in the README.txt file?

Original comment by samuel.a...@gmail.com on 7 Aug 2010 at 4:12

GoogleCodeExporter commented 9 years ago
Closing this long-standing issue, assuming that recompiling OpenCV without SSE 
instructions did the trick. Please reopen the issue if that is not the case, 
thank you.

Original comment by samuel.a...@gmail.com on 4 Nov 2010 at 10:36