I download the opencv3.4.5 from github https://github.com/opencv/opencv/archive/3.4.5.zip. And the libjpeg-turbo is located at 3rdparty dir.
And build it with -D WITH_JPEG=ON
and -D BUILD_JPEG=ON
added. I can check this in CMakeCache.txt. But i cannot find any thing related with libjpeg-turbo
at install/include or install/lib. How to test and verify the libjpeg-turbo is built into opencv? Instead of system libjpeg.
How to check the libjpeg-turbo is built into opencv?
3.9k Views Asked by ping chang At
1
There should be a binary (executable) in your package called
opencv_version
, which you can run like this:Sample Output
Equally, within Python, you can do:
Or, maybe more succinctly:
Sample Output: