Closed jesszgc closed 6 years ago
It’s probably just running out of ram. Use a smaller image or buy more ram.
@davisking my image size is 640*480, and the ram is 8GB,with GTX150TI GPU. The code works in the dnn_mmod_face_detection_ex.cpp,but do not work in my project. the output in the console can get 1 and 2,but can never get to 3 or 4.
There aren’t any special compiler options you need to give. So I don’t know what you did to make it not work, but it’s not because there is something dlib specific you need to do.
You should use cmake. It will configure your project correctly.
Warning: this issue has been inactive for 251 days and will be automatically closed on 2018-09-07 if there is no further activity.
If you are waiting for a response but haven't received one it's likely your question is somehow inappropriate. E.g. you didn't follow the issue submission instructions, or your question is easily answerable by reading the FAQ, dlib's documentation, or a Google search.
Notice: this issue has been closed because it has been inactive for 255 days. You may reopen this issue if it has been closed in error.
I am working with face detection. when i try to use dlib cnn method for FD, i write a demo code as follows. it works in dnn_mmod_face_detection_ex.cpp, but in my project it stops at "nnnet(img);" without any exception code. do i have to add some extra LIBS or FLAGS in the .pro file(i use qt) ` int cnnfacedetect() { net_type nnnet; deserialize("mmod_human_face_detector.dat") >> nnnet;
`