
Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang The CXX compiler identification is AppleClang 10.1145 The C compiler identification is AppleClang 10.1145

Std::string fileName = ĭraw_rectangle(img, dets,dlib::rgb_pixel(0, 255, 255)) īELOW IS HOW I COMPILE DLIB DOWNLOADED FROM GITHUB: Std::string modelFileNameCString = ĭlib::deserialize(modelFileNameCString) > predictor ĭetector = dlib::get_frontal_face_detector() ĭlib::frontal_face_detector detector = dlib::get_frontal_face_detector() NSString *modelFileName = modelFileName) Turn DLIB_NO_GUI_SUPPORT off if you want to", "Also make sure you have libx11-dev installed on your system" ĮRROR#2: when is NOT include, it reports "libc++abi.dylib: terminating with uncaught exception of type dlib::image_load_error: jpeg_loader: error while reading /private/var/mobile."Īnd yes, DLIB_NO_GUI_SUPPORT:BOOL=OFF, and DLIB_JPEG_SUPPORT:BOOL=ON in cmakeCache.txt Īnd yes, i do have x11 installed on my mac (xQuartz) Īnd yes, I did add DLIB_PNG_SUPPORT and DLIB_JPEG_SUPPORT and other flags, even though I built dlib through cmake

But errors of jpeg_loader reading images occur when I'm trying to use dlib's frontal_face_detector for better face detection results instead of extracting face bound out of AVMetaDataObject.ĮRROR#1: when is include, it reports ""DLIB_NO_GUI_SUPPORT is defined so you can't use the GUI code. I'm using dlib in my ios app for getting face landmarks, and it works pretty well.

I'm very sorry but i have to ask you the question i know you hate answering over and over again.
