unable to run examples
I followed instructions to install https://github.com/justadudewhohacks/opencv4nodejs#how-to-install.
But when I try to run the first example
classify --image ./images/test/bicycle.jpg --quick
I get the following error
~/Working/research_ws/nodejs/classify/index.js:357 net = cv.readNetFromCaffe(prototxt, modelFile) ^ ReadNetFromCaffe - OpenCV Error: (FAILED: ReadProtoFromBinaryFile(param_file, param). Failed to parse NetParameter file: ~/Working/research_ws/nodejs/classify/models/models_VGGNet_coco_SSD_300x300/VGG_coco_SSD_300x300_iter_400000.caffemodel) in ReadNetParamsFromBinaryFileOrDie, in file ~/Working/research_ws/nodejs/classify/node_modules/opencv-build/opencv/opencv/modules/dnn/src/caffe/caffe_io.cpp, line 1165, status -2
my system details: OS: High Sierra Node: v10.14.1 Npm: 6.4.1
Please help
I don't have any macs to test with. All I know is you need cmake in your path. If you don't have cmake, then install it.
Then npm install or just yarn and it'll do all the heavy lifting for you.
According to your error message it failed to parse the model file. I have no idea why. Sorry.