I am trying to compile a program in C ++ that uses OpenCV to evaluate the similarity of two images:
Image Histogram Comparison
When I g ++ compile the file:
'opencv2/imgcodecs.hpp' file not found
I updated the opencv formula on Mac OS X. I restarted brew install, but I still get this error.
mdfind imgcodecs.hpp -name
returns nothing - the file is missing on my system.
Does anyone know that my imgcodecs are not included and how to enable it? I am really new to C and OpenCV and really appreciate any help.
source share