Ask Your Question

Revision history [back]

OpenCV compilation flags

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