OpenCV compilation flags

asked 2020-02-05 07:31:38 -0500

TomerP gravatar image

Hi,

I'm compiling OpenCV 4.2.0 from source. I've got two questions about this process:

1) Is there a resource which explains what different compilation flags you can use and what each one of them does?

2) Why would you choose, for example, to turn on the BUILD_JPEG or BUILD_PNG flags? Does it rebuild these libraries according to your CPU's instruction sets?

Thanks, Tomer

edit retag flag offensive close merge delete