I think OpenCV has been moved from homebrew/science to homebrew/core.
Also, the default OpenCV version is now 3.x, so by running brew install opencv you will get the not fully compatible version.
There is a new formula called opencv@2 to install OpenCV 2.x.
I am having issues building node-opencv (as other people reported previously) and I am not sure this might be related to it.
I confirm I was finally able to build the module by using opencv@2 formula and by setting PKG_CONFIG_PATH="/usr/local/Cellar/opencv@2/2.4.13.2_2/lib/pkgconfig/"
I think OpenCV has been moved from
homebrew/science
to homebrew/core. Also, the default OpenCV version is now 3.x, so by runningbrew install opencv
you will get the not fully compatible version. There is a new formula called opencv@2 to install OpenCV 2.x. I am having issues buildingnode-opencv
(as other people reported previously) and I am not sure this might be related to it.