New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem install #378
Comments
Hope it isn't too late, but I think this is the problem:
You need an environment variable called OPENCV_DIR set to the folder where you put OpenCV. There is more information in the README.md here: https://github.com/peterbraden/node-opencv/blob/master/README.md You can set the variable, until you close the command prompt, with something like this (change the path to match your setup):
You will also need to make sure that the OpenCV bin folder is in you PATH environment variable. |
I set opencv dir :/ http://image.noelshack.com/fichiers/2016/09/1456739332-sans-titre.png ok i fix this now i have this erreur
|
Oh shit MSBuild 14 u_u |
Did you get it working? If not, maybe post the log that is mentioned at the end of the output. |
c:\opencv\build\include\opencv2\flann\any.h(48): error C2039: 'type_info' : :'(
|
@Royalxm Did you get it to work? Can you tell me how? |
var cv=require('opencv');
cv.readImage("node_modules/opencv/examples/files/mona.png", function(err, im){
im.detectObject(cv.FACE_CASCADE, {}, function(err, faces){
for (var i=0;i<faces.length; i++){
var x = faces[i]
im.ellipse(x.x + x.width/2, x.y + x.height/2, x.width/2, x.height/2);
}
im.save('./out.jpg');
});
}); From within your project's directory, run Hope that helps. |
Hey
i have install opencv-2.4.11
PATH add
Visual studio installed
so i run npm install opencv :
plz help me :( i need for school university
The text was updated successfully, but these errors were encountered: