There’s some great examples in opencv/samples/cpp, but it looks like they don’t get compiled into an executable by default. Is there some setting or simple CMakeLists.txt edit to compile them?
I can copy and paste the code and compile it in a separate project, but it would be convenient to have everything in the opencv folder.