razibmimran / javacv

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

Initializing IplImage in Android crashes the application #282

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. IplImage created as a "public IplImage image;"
2. when in the "onCameraViewStarted" method, "image = new IplImage();" (this 
crashes the program)
3. also, when trying to initialize it as "IplImage.create(width, height, 8, 
1);" (this crashes the program)

What is the expected output? What do you see instead?

CameraView starts normally, but the program crashes (LogCat indicates the crash 
in the program at the line where we initialize the IplImage)

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

OpenCV-2.4.3 for Android
JavaCV wrapper classes
adt-eclipse-bundle for Android 

Please provide any additional information below.

Original issue reported on code.google.com by amilmerc...@gmail.com on 21 Feb 2013 at 3:15

GoogleCodeExporter commented 9 years ago
Do the sample FacePreview or RecordActivity work?

Original comment by samuel.a...@gmail.com on 22 Feb 2013 at 1:44

GoogleCodeExporter commented 9 years ago
And please make sure to read the instructions in the README.txt file...

Original comment by samuel.a...@gmail.com on 22 Feb 2013 at 3:30

GoogleCodeExporter commented 9 years ago
Giving the lack of feedback, I'm assuming that following the instructions in 
the README.txt file fixed this issue, but please let me know otherwise. And 
please ask your questions on the mailing list next time if possible, thank you.

Original comment by samuel.a...@gmail.com on 2 Mar 2013 at 1:27