justadudewhohacks / face-recognition.js

Simple Node.js package for robust face detection and face recognition. JavaScript and TypeScript API.
MIT License
1.91k stars 277 forks source link

stuck in installation #74

Open HMarzban opened 6 years ago

HMarzban commented 6 years ago

after past 4 hours, I'm writing this issue, when I hit npm install package, installation process stuck in this line and does not past after 4 hours, through this process my CPU worked in 100% power and does not go down for a sec! windows 10 sdk:10.0.14393.0

c:\users\hossein\desktop\face_me\new\node_modules\native-node-utils\src\Workers.h(33): warning C4996: 'Nan::Callback::C all': was declared deprecated (compiling source file ..\cc\FaceRecognizerNet.cc) [C:\Users\Hossein\Desktop\face_me\new\ node_modules\face-recognition\build\facerec.vcxproj] C:\Users\Hossein\Desktop\face_me\new\node_modules\nan\nan.h(1618): note: see declaration of 'Nan::Callback::Call' (co mpiling source file ..\cc\FaceRecognizerNet.cc) c:\users\hossein\desktop\face_me\new\node_modules\native-node-utils\src\Workers.h(30): note: while compiling class te mplate member function 'void GenericAsyncWorker<FaceRecognizerNet::ComputeFaceDescriptorWorkerRGB>::HandleErrorCallba ck(void)' (compiling source file ..\cc\FaceRecognizerNet.cc) ..\cc\FaceRecognizerNet.cc(82): note: see reference to class template instantiation 'GenericAsyncWorker<FaceRecognize rNet::ComputeFaceDescriptorWorkerRGB>' being compiled c:\users\hossein\desktop\face_me\new\node_modules\native-node-utils\src\Workers.h(27): warning C4996: 'Nan::Callback::C all': was declared deprecated (compiling source file ..\cc\FaceRecognizerNet.cc) [C:\Users\Hossein\Desktop\face_me\new\ node_modules\face-recognition\build\facerec.vcxproj] C:\Users\Hossein\Desktop\face_me\new\node_modules\nan\nan.h(1618): note: see declaration of 'Nan::Callback::Call' (co mpiling source file ..\cc\FaceRecognizerNet.cc) c:\users\hossein\desktop\face_me\new\node_modules\native-node-utils\src\Workers.h(24): note: while compiling class te mplate member function 'void GenericAsyncWorker<FaceRecognizerNet::ComputeFaceDescriptorWorkerRGB>::HandleOKCallback( void)' (compiling source file ..\cc\FaceRecognizerNet.cc)

what's the problem?

justadudewhohacks commented 6 years ago

Looks like the compiler hung up your cpu while compiling the dnn module of dlib. I guess you tried to compile it again and still running into this issue?