Ask Your Question

Revision history [back]

WITH_JPEG means imread will able to read jpeg files using opencv jpeg lib or external jpeg lib.

BUILD_JPEG means opencv jpeg source files will be compile in opencv

WITH_JPEG means imread will able to read jpeg files using opencv jpeg lib or external jpeg lib.

BUILD_JPEG means opencv jpeg source files will be compile in opencv

If you want to read jpeg with internal source files -DBUILD_JPEG:BOOL=ON -DWITH_JPEG:BOOL=ON and don't forget to delete CMakeCache.txt

WITH_JPEG means imread will able to read jpeg files using opencv jpeg lib or external jpeg lib.

BUILD_JPEG means opencv jpeg source files will be compile in opencv

in cmakecache.txt you can find //Build libjpeg from source ----> use source in third party folder BUILD_JPEG:BOOL=ON //Include JPEG support ----> opencv can open jpeg file WITH_JPEG:BOOL=ON

If you want to read jpeg with internal source files -DBUILD_JPEG:BOOL=ON -DWITH_JPEG:BOOL=ON and don't forget to delete CMakeCache.txt

WITH_JPEG means imread will able to read jpeg files using opencv jpeg lib or external jpeg lib.

BUILD_JPEG means opencv jpeg source files will be compile in opencv

in cmakecache.txt you can find

//Build libjpeg from source ----> use source in third party folder

BUILD_JPEG:BOOL=ON

BUILD_JPEG:BOOL=ON

//Include JPEG support ----> opencv can open jpeg file file

WITH_JPEG:BOOL=ON

If you want to read jpeg with internal source files -DBUILD_JPEG:BOOL=ON -DWITH_JPEG:BOOL=ON and don't forget to delete CMakeCache.txt