Ask Your Question
2

Android native camera crashes on HTC One X

asked 2012-08-25 04:53:36 -0600

Vincent gravatar image

updated 2012-10-01 10:37:49 -0600

Kirill Kornyakov gravatar image

Hi,

I try to run the sample apps on my HTC one X.(version 4.0.4)

And install OpenCV Manager and OCV for VN tegra 3 2.4 rev 3

But when I run the sample app. I receive an error.

08-25 17:50:11.030: A/libc(6995): Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1)

I find the problem is when I new a VideoCapture.

like this:

mCamera = new VideoCapture(Highgui.CV_CAP_ANDROID);

Then the program crashes.

But if I run "OpenCV Tutorial 0 - Android Camera"

Everything is fine.

Is anybody has the same problem?

edit retag flag offensive close merge delete

Comments

Still there with the currently available version from Google Play. Could one of the developers perhaps comment on the status of the bug fix? (in particular, is it worth building the lot from trunk?). Many thanks!

Kasper gravatar imageKasper ( 2012-10-01 09:12:33 -0600 )edit

Native camera in opencv2.4.4 also does not work for Samsung Galaxy Beam. It used to work at least in opencv2.4.1.

Rui Marques gravatar imageRui Marques ( 2013-03-13 15:02:23 -0600 )edit

Can you post logcat?

Andrey Pavlenko gravatar imageAndrey Pavlenko ( 2013-03-15 07:37:08 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2012-10-01 10:37:08 -0600

Kirill Kornyakov gravatar image

Native camera still doesn't work on HTC One X, but we're working on it with high priority.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-08-25 04:53:36 -0600

Seen: 1,420 times

Last updated: Oct 01 '12