Reputation: 351
I installed opencv using brew on Mac. I need some option like nonfree, the command as follows:
brew install opencv --with-nonfree
But, this does't work. It just show:
Warning: opencv: this formula has no --with-nonfree option so it will be ignored!
Must I compile and install opencv from source code?
Upvotes: 2
Views: 1118
Reputation: 19830
Homebrew already builds OpenCV with -DOPENCV_ENABLE_NONFREE=ON
for you, so you don’t need to specify it:
brew install opencv
Use brew options opencv
to get its options. Here it doesn’t output anything because Homebrew doesn’t support any option for that formula.
Upvotes: 3