Ask Your Question

guillaume-tgl's profile - activity

2017-09-23 11:07:57 -0600 received badge  Popular Question (source)
2016-09-19 05:14:29 -0600 asked a question Use libjpeg-turbo with OpenCV 3.1 on Android

Hi,

I'm trying to replace libjpeg by libjpeg-turbo to speed up reading and writing images on Android. I've successfully used the turbo API directly to verify image IO operations were faster but I'd like to use OpenCV to read and write images as it handles multiple formats and exif orientation. I removed the linkage with libjpeg in OpenCV.mk and now, when I read images with imread, I get an empty image. Any clue to make this work?

2016-09-19 05:07:43 -0600 commented question how to include libjpeg in OpenCV 3.1 Android

Have you been able to use libjpeg turbo with OpenCV 3.1 finally? I've removed liblibjpeg.a from 3rd party libs and I get everything to compile but when I call imread, the returned image is always empty.

2015-10-01 10:04:20 -0600 received badge  Nice Question (source)
2012-11-16 09:09:33 -0600 answered a question Missing tbb lib for armeabi in 2.4.3 for Android?

Thanks for the explanations Alexander! I figured it out before seeing your answer and modified OpenCV.mk with the following lines so that it's compatible with armeabi and armeabi-v7a:

ifeq ($(TARGET_ARCH_ABI),armeabi)
    OPENCV_3RDPARTY_COMPONENTS:=libjpeg libpng libtiff libjasper IlmImf
endif
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
    OPENCV_3RDPARTY_COMPONENTS:=tbb libjpeg libpng libtiff libjasper IlmImf
endif
2012-11-16 09:03:14 -0600 received badge  Supporter (source)
2012-11-16 09:03:05 -0600 received badge  Scholar (source)
2012-11-14 07:42:19 -0600 received badge  Student (source)
2012-11-14 02:55:53 -0600 asked a question Missing tbb lib for armeabi in 2.4.3 for Android?

Hi,

I'm trying to compile a native application with OpenCV 2.4.3 for Android. I have no problem compiling and linking for armeabi-v7a since the lib libtbb.a is present under sdk/native/3rdparty/libs/armeabi-v7a.

However, this lib is not present under sdk/native/3rdparty/libs/armeabi and thus, I'm getting linkage errors such as : undefined reference to 'vtable for tbb::task'.

Is this lib really missing or am I missing something? Can I simply use the same lib as for armeabi-v7a?

Guillaume