Ask Your Question
0

OpenCV Android, testing on a Galaxy S1...

asked 2012-12-20 01:44:13 -0600

Hi, all:

I just clicked OCV T2 Use OpenCV on my Galaxy S1, but received all the following error message from LogCat. Any suggestions?

12-19 23:35:53.056: I/OCVSample::Activity(6226): Instantiated new class org.opencv.samples.tutorial2.Sample2NativeCamera 12-19 23:35:53.060: I/OCVSample::Activity(6226): called onCreate 12-19 23:35:53.080: D/CameraBridge(6226): Attr count: 3 12-19 23:35:53.099: D/OpenCVManager/Helper(6226): Service connection created 12-19 23:35:53.103: D/OpenCVManager/Helper(6226): Trying to get library path 12-19 23:35:53.290: D/OpenCVManager/Helper(6226): Trying to get library list 12-19 23:35:53.458: D/OpenCVManager/Helper(6226): Library list: "" 12-19 23:35:53.458: D/OpenCVManager/Helper(6226): First attempt to load libs 12-19 23:35:53.458: D/OpenCVManager/Helper(6226): Trying to init OpenCV libs 12-19 23:35:53.458: D/OpenCVManager/Helper(6226): Trying to load library /data/data/org.opencv.engine/lib/libopencv_java.so 12-19 23:35:53.458: D/dalvikvm(6226): Trying to load lib /data/data/org.opencv.engine/lib/libopencv_java.so 0x47ad3fa0 12-19 23:35:53.498: D/dalvikvm(6226): Added shared lib /data/data/org.opencv.engine/lib/libopencv_java.so 0x47ad3fa0 12-19 23:35:53.498: D/OpenCVManager/Helper(6226): OpenCV libs init was ok! 12-19 23:35:53.498: D/OpenCVManager/Helper(6226): First attempt to load libs is OK 12-19 23:35:53.498: D/OpenCVManager/Helper(6226): Init finished with status 0 12-19 23:35:53.498: D/OpenCVManager/Helper(6226): Unbind from service 12-19 23:35:53.501: D/OpenCVManager/Helper(6226): Calling using callback 12-19 23:35:53.501: I/OCVSample::Activity(6226): OpenCV loaded successfully 12-19 23:35:53.548: D/CameraBridge(6226): call surfaceChanged event 12-19 23:35:53.548: D/OpenCV::camera(6226): CvCapture_Android::CvCapture_Android(0) 12-19 23:35:53.548: D/OpenCV::camera(6226): Library name: libopencv_java.so 12-19 23:35:53.548: D/OpenCV::camera(6226): Library base address: 0x82000000 12-19 23:35:53.552: D/OpenCV::camera(6226): Libraries folder found: /data/data/org.opencv.engine/lib/ 12-19 23:35:53.552: D/OpenCV::camera(6226): CameraWrapperConnector::connectToLib: folderPath=/data/data/org.opencv.engine/lib/ 12-19 23:35:53.552: E/OpenCV::camera(6226): ||libnative_camera_r4.0.3.so 12-19 23:35:53.552: E/OpenCV::camera(6226): ||libnative_camera_r2.2.0.so 12-19 23:35:53.552: E/OpenCV::camera(6226): ||libnative_camera_r4.2.0.so 12-19 23:35:53.552: E/OpenCV::camera(6226): ||libnative_camera_r4.1.1.so 12-19 23:35:53.552: E/OpenCV::camera(6226): ||libnative_camera_r3.0.1.so 12-19 23:35:53.552: E/OpenCV::camera(6226): ||libnative_camera_r4.0.0.so 12-19 23:35:53.552: E/OpenCV::camera(6226): ||libnative_camera_r2.3.3.so 12-19 23:35:53.552: D/OpenCV::camera(6226): try to load library 'libnative_camera_r4.2.0.so' 12-19 23:35:53.556: D/OpenCV::camera(6226): CameraWrapperConnector::connectToLib ERROR: cannot dlopen camera wrapper library /data/data/org.opencv.engine/lib ...

(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-12-21 07:50:38 -0600

It looks like you use device with old Android 2.1. The minimal version of Android supported by OpenCV is 2.2. Upgrade to the latest available version (Wikipedia says 2.3.6) will fix the problem.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-12-20 01:44:13 -0600

Seen: 308 times

Last updated: Dec 22 '12