vamshireddyp
vamshireddyp
Try using this $ brew tap homebrew/science $ brew install opencv3 --with-contrib --with-python3 --HEAD If the head shows headless or something just remove --HEAD from the end
'std::bad_alloc' what(): std::bad_alloc This allocation error is due to Heap Memory so just as mentioned above try to reinstall using some other way.. If you haven't installed please do follow...
For the Assertion failed (scn == 3 || scn == 4) in cv::cvtColor, Can you check whether you are reading the image or not