Ask Your Question

Shakith's profile - activity

2014-07-21 17:19:43 -0600 received badge  Student (source)
2014-07-21 04:56:48 -0600 asked a question What are the functions that are optimized for NEON instructions

What are the functions that are optimized for NEON instructions?

Is there a list somewhere?

Using grep (grep -r "NEON" .) inside the opencv source shows only very few files. http://www.mcs.anl.gov/events/workshops/ashes/2013/slides/Gaurav_ashes13.pdf - Slide 15 says only 6 functions have NEON Intrinsic Optimized Functions in 2.4.3.

2014-07-14 08:34:45 -0600 asked a question Rebuild OpenCV4Anroid APK

I am trying to rebuild OpenCV manager apk after modifying native camera. However, the build crashes with the following error.

Scanning dependencies of target android_package make[2]: * No rule to make target bin/classes.jar.dephelper', needed bypackage/bin/OpenCV_2.4.9_binary_pack_armv7a-release-unsigned.apk'. Stop. make[1]: [platforms/android/package/CMakeFiles/android_package.dir/all] Error 2 make[1]: ** Waiting for unfinished jobs.... Linking CXX static library ../../lib/armeabi-v7a/libopencv_videostab_pch_dephelp.a

Steps I took are:

cd opencv/platforms
sh ./scripts/cmake_android_arm.sh
cd build_android_arm
make -j2

The /scripts/cmake_android_arm.sh was modified as follows to generate apk.

cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DBUILD_ANDROID_PACKAGE=ON -DBUILD_ANDROID_SERVICE=ON -DBUILD_ANDROID_PACKAGE=ON -DBUILD_ANDROID_SERVICE=ON -DANDROID_NATIVE_API_LEVEL=14 -DCMAKE_TOOLCHAIN_FILE=../android/android.toolchain.cmake $@ ../..

2014-07-11 03:14:22 -0600 received badge  Editor (source)
2014-07-11 01:08:08 -0600 asked a question Getting the camera to work with OpenCV Native Activity Sample

I have managed to compile the Native Activity example in opencv4android. When running it gives a a fatal error.

07-10 22:35:27.694: D/OpenCV::camera(1818): Libraries folder found: /data/app-lib/org.opencv.engine-1/
07-10 22:35:27.694: D/OpenCV::camera(1818): CameraWrapperConnector::connectToLib: folderPath=/data/app-lib/org.opencv.engine-1/
07-10 22:35:27.694: E/OpenCV::camera(1818): ||libnative_camera_r4.3.0.so
07-10 22:35:27.694: E/OpenCV::camera(1818): ||libnative_camera_r4.0.3.so
07-10 22:35:27.694: E/OpenCV::camera(1818): ||libnative_camera_r4.4.0.so
07-10 22:35:27.694: E/OpenCV::camera(1818): ||libnative_camera_r2.3.3.so
07-10 22:35:27.694: E/OpenCV::camera(1818): ||libnative_camera_r4.2.0.so
07-10 22:35:27.694: E/OpenCV::camera(1818): ||libnative_camera_r2.2.0.so
07-10 22:35:27.694: E/OpenCV::camera(1818): ||libnative_camera_r4.0.0.so
07-10 22:35:27.694: E/OpenCV::camera(1818): ||libnative_camera_r4.1.1.so
07-10 22:35:27.694: E/OpenCV::camera(1818): ||libnative_camera_r3.0.1.so
07-10 22:35:27.694: D/OpenCV::camera(1818): try to load library 'libnative_camera_r4.4.0.so'
07-10 22:35:27.717: D/OpenCV::camera(1818): Loaded library '/data/app-lib/org.opencv.engine-1/libnative_camera_r4.4.0.so'
07-10 22:35:27.717: D/OpenCV_NativeCamera(1818): CameraHandler::initCameraConnect(0x5a839f5d, 0, 0x5ac1df20, 0x0)
07-10 22:35:27.717: D/OpenCV_NativeCamera(1818): Current process name for camera init: org.opencv.samples.NativeActivity
07-10 22:35:27.858: D/OpenCV_NativeCamera(1818): Instantiated new CameraHandler (0x5a839f5d, 0x5ac1df20)
07-10 22:35:27.858: I/OpenCV_NativeCamera(1818): initCameraConnect: [antibanding=auto;antibanding-values=off,auto,50hz,60hz;auto-convergence-mode=frame;auto-convergence-mode-values=;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;awb-damping=false;brightness=50;camera-name=S5K4E1GA;contrast=100;current-iso=100;effect=none;effect-values=none,negative,solarize,sepia,mono,natural,vivid,color-swap,blackwhite,whiteboard,blackboard,aqua,posterize;exif-image-description=;exif-make=Google;exif-model=Glass 1;exif-software=Glass-1 XE18.11 1223935;exposure=auto;exposure-compensation=0;exposure-compensation-step=0.1;exposure-mode-values=manual,auto,night,backlighting,spotlight,sports,snow,beach,aperture,small-aperture;flash-mode=off;flash-mode-values=off;focal-length=2.95;focus-mode=infinity;focus-mode-values=infinity;gbce=false;gbce-supported=true;glbce=false;glbce-supported=true;horizontal-view-angle=54.8;ipp=ldc-nsf;ipp-values=off,ldc,nsf,
ldc-nsf;iso=auto;iso-mode-values=auto,100,200,400,
07-10 22:35:27.858: D/OpenCV_NativeCamera(1818): Supported Cameras: (null)
07-10 22:35:27.866: D/OpenCV_NativeCamera(1818): Supported Picture Sizes: 2592x1944,2560x1888,2528x1856,2592x1728,2592x1458,2560x1888,2400x1350,2304x1296,2240x1344,2160x1440,2112x1728,2112x1188,2048x1152,2048x1536,2016x1512,2016x1134,2000x1600,1920x1080,1600x1200,1600x900,1536x864,1408x792,1344x756,1296x972,1280x1024,1280x720,1152x864,1280x960,1024x768,1024x576,640x480,320x240
07-10 22:35:27.866: D/OpenCV_NativeCamera(1818): Supported Picture Formats: unused,yuv420sp,yuv420p,yuv422i-yuyv,rgb565,bayer-rggb,jpeg
07-10 22:35:27.866: D/OpenCV_NativeCamera(1818): Supported Preview Sizes: 1920x1080,1280x960,1280x720,1024x768,1024x576,960x720,800x480,768x576,720x576,720x480,768x576,640x480,640x368,640x360,512x384,512x288,416x304,416x240,352x288,320x240,320x192,256x144,240x160,224x160,176x144,160x120,128x96,960x1280,720x1280,768x1024,576x1024,720x960,480x800,576x768,576x720,576x768,480x720,480x640,368x640,384x512,288x512,304x416,240x416,288x352,240x320,192x320,144x256 ...
(more)