Ask Your Question
1

OpenCV samples cause Camera Server Died, ICamera died and Error 100

asked 2014-07-10 07:13:40 -0600

James666 gravatar image

updated 2014-07-10 07:16:53 -0600

berak gravatar image

I am having issues with running the OpenCV Sample 15 (one of the projects which comes with the OpenCV library - the others being face-detection, color-blob-detection etc). I have looked throughout the internet and stackoverflow but no one seems to have the same issues that I have; in the sense that the project does run correctly... just not on my Samsung tablet and I have no idea why. Could someone explain what is missing from the sample code or is there anything I could change in the settings on my tablet device? Any help would be much appreciated.

The code used is exactly how it is when downloaded from the OpenCV website.

I am having issues with running the OpenCV Sample 15 (one of the projects which comes with the OpenCV library - the others being face-detection, color-blob-detection etc). I have looked throughout the internet and stackoverflow but no one seems to have the same issues that I have; in the sense that the project does run correctly... just not on my Samsung tablet and I have no idea why. Could someone explain what is missing from the sample code or is there anything I could change in the settings on my tablet device? Any help would be much appreciated. Finally here are the logs

07-10 12:21:57.656: D/dalvikvm(13117): WAIT_FOR_CONCURRENT_GC blocked 10ms 
07-10 12:21:57.656: D/JavaCameraView(13117): startPreview 
07-10 12:21:58.125: D/JavaCameraView(13117): Starting processing thread 
07-10 12:21:58.132: I/Choreographer(13117): Skipped 40 frames! The application may be doing too much work on its main thread. 
07-10 12:22:00.679: W/Camera(13117): Camera server died! 
07-10 12:22:00.679: W/Camera(13117): ICamera died 07-10 12:22:00.679: E/Camera(13117): Error 100

Just to clarify when I run the project the APP appears on my device and does indeed open and as you can see I am able to use the Menu Item, however it is a black screen due to the error 100 shown above. Hope that this is enough information to explain my problem. Android version of Tablet: 4.1.2

edit retag flag offensive close merge delete

Comments

encountered the same problem here..

abupatricia gravatar imageabupatricia ( 2015-04-18 21:41:24 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-03-28 02:37:29 -0600

try to comment this line:

  params.setRecordingHint(true);

It works for me on Xiaomi 4C, Android 4.4

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-07-10 07:13:40 -0600

Seen: 834 times

Last updated: Jul 10 '14