Ask Your Question
0

OpenCV Manager and Galaxy S III

asked 2012-11-23 21:09:13 -0500

krokodil gravatar image

updated 2012-11-23 21:38:21 -0500

I have a simple android app using OpenCV. OpenCV Manager on my Samsung Galaxy S3 shows that I have "ARM V7 with NEON". I have "armeabi-v7a with Neon" package installed. However I do not see any speed up (in frames per second). If i uninstall this package, the program works at about the same speed. Moreover, in the list of packages in OpenCV manager there is no "(in use)" indicator near this package name. I suspect it is not currently being recognized as compatible with my phone. Here is the screenshot:

http://yfrog.com/mr20121123170311p

Log file from device:

I/OpenCVEngine/Service(13882): Service onBind called for intent Intent { act=org.opencv.engine.BIND }
D/OpenCVEngine(13882): OpenCVEngine::OnTransact(1,16)
D/OpenCVEngine(13882): OpenCVEngine OCVE_GET_ENGINE_VERSION request
D/OpenCVEngine(13882): OpenCVEngine::GetVersion()
D/OpenCVEngine(13882): OpenCVEngine::OnTransact(2,16)
D/OpenCVEngine(13882): OpenCVEngine OCVE_GET_LIB_PATH_BY_VERSION request
D/OpenCVEngine(13882): OpenCVEngine::GetLibPathByVersion(2.4)
D/OpenCVEngine(13882): OpenCVEngine::GetLibPathByVersion(2.4) impl
D/OpenCVEngine(13882): PackageInfo::PackageInfo: package arch ARMv7
D/OpenCVEngine(13882): PackageInfo::PackageInfo("org.opencv.engine", "/data/data/org.opencv.engine/lib", "2.2")
D/OpenCVEngine(13882): Trying to load info library "/data/data/org.opencv.engine/lib/libopencv_info.so"
I/OpenCVEngine(13882): OpenCV package "org.opencv.lib_v24_armv7a_neon" revision "3.1" found
D/OpenCVEngine(13882): PackageInfo::PackageInfo("org.opencv.lib_v24_armv7a_neon", "/data/data/org.opencv.lib_v24_armv7a_neon/lib", "2.5")
D/OpenCVEngine(13882): Fixing permissions for folder: "/data/data/org.opencv.engine/lib"
D/OpenCVEngine(13882): Fix permissions for "."
D/OpenCVEngine(13882): Fix permissions for ".."
D/OpenCVEngine(13882): Fix permissions for "libopencv_java.so"
D/OpenCVEngine(13882): Fix permissions for "libOpenCVEngine_jni.so"
D/OpenCVEngine(13882): Fix permissions for "libOpenCVEngine.so"
D/OpenCVEngine(13882): Fix permissions for "libnative_camera_r2.3.3.so"
D/OpenCVEngine(13882): Fix permissions for "libnative_camera_r4.0.3.so"
D/OpenCVEngine(13882): Fix permissions for "libnative_camera_r4.2.0.so"
D/OpenCVEngine(13882): Fix permissions for "libnative_camera_r2.2.0.so"
D/OpenCVEngine(13882): Fix permissions for "libnative_camera_r4.1.1.so"
D/OpenCVEngine(13882): Fix permissions for "libnative_camera_r3.0.1.so"
D/OpenCVEngine(13882): Fix permissions for "libopencv_info.so"
D/OpenCVEngine(13882): Fix permissions for "libnative_camera_r4.0.0.so"
D/OpenCVEngine(13882): OpenCVEngine::OnTransact(1598968902,16)
D/OpenCVEngine(13882): OpenCVEngine unknown request
D/OpenCVEngine(13882): OpenCVEngine::OnTransact(2,16)
D/OpenCVEngine(13882): OpenCVEngine OCVE_GET_LIB_PATH_BY_VERSION request
D/OpenCVEngine(13882): OpenCVEngine::GetLibPathByVersion(2.5)
D/OpenCVEngine(13882): OpenCVEngine::GetLibPathByVersion(2.5) impl
E/OpenCVEngine(13882): OpenCV version "2.5" () is not supported

Howe can I verify that the package is indeed used? If it is not used, what package I need to use NEON at Samsung Galaxy S3?

Thanks!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2012-11-24 10:37:46 -0500

Since version 2.0 OpenCV Manager includes the latest version of OpenCV (2.4.3 for now) for your platform inside itself. You do not need to install additional package for NEON support, it it is already included. All binary packages, except arm-v7a without NEON, has 2.4.2 version and are depricated. Arm-v7a without NEON is rare case and it was published as separate package. OpenCV Manager tries to use the latest version of OpenCV that's why, it does not mark OpenCV 2.4.2 as usefull package.

edit flag offensive delete link more

Comments

thanks! How can I verify that correct package is used for my architecture? In log file I see attempts to load several NEON packages, but it is unclear if correct one was chosen.

I/OpenCVEngine(13608): OpenCV package "org.opencv.lib_v24_armv7a_neon" revision "3.1" found D/OpenCVEngine(13608): PackageInfo::PackageInfo("org.opencv.lib_v24_armv7a_neon", "/data/data/org.opencv.lib_v24_armv7a_neon/lib", "2.5") I/OpenCVEngine(13608): OpenCV package "org.opencv.lib_v24_armv7a_neon" revision "3.1" found D/OpenCVEngine(13608): PackageInfo::PackageInfo("org.opencv.lib_v24_armv7a_neon", "/data/data/org.opencv.lib_v24_armv7a_neon/lib", "2.5") I/OpenCVEngine(13882): OpenCV package "org.opencv.lib_v24_armv7a_neon" revision "3.1" found D/OpenCVEngine(13882): PackageInfo::PackageInfo("org.opencv.lib_v24

krokodil gravatar imagekrokodil ( 2012-11-24 12:15:15 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2012-11-23 21:09:13 -0500

Seen: 1,241 times

Last updated: Nov 24 '12