Use libjpeg-turbo with OpenCV 3.1 on Android

asked 2016-09-19 05:14:29 -0600

guillaume-tgl gravatar image

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?

edit retag flag offensive close merge delete