Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GoogleCodeExporter opened this issue Oct 26, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author

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

  • Changed state: Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant