fastfastball / dlib_for_arm Goto Github PK
View Code? Open in Web Editor NEWoptimize dlib (especially face detection) for arm platform
optimize dlib (especially face detection) for arm platform
I'm trying to incease the fps of the output videos from dlib and decrease the detection time. I had been looking it for hours now and then stumbled upon this. I'd love to talk and know more about it. Any way to contact?
Is mmod_loss supported/going to be supported in this library?
Also, can the NEON instructions speed up detection on deep neural networks in dlib?
It's said the newest dlib version also supports neon. so what is the difference with yours. which files do you modify.
readme file said :reduce work load : only use 1 filter(front looking) instead of 5 filters in frontal_face_detector.h (so,witch file is modifyed,? there is no difference between your frontal_face_detector and dlib-19.4 frontal_face_detector )
thread level parallelism : use 3 threads to do face detection ( is any example?)
SIMD : use arm neon to implement dlib/simd/( merge with the newest dlib version ?)
Hi, I'm making a app which detects faca landmark.
I' heard you contributed the performance of dlib.
I want to use your code, but I fail to build it.
But, It doesn't compile with
error: ./obj/local/armeabi-v7a/objs/android_dlib/jni_face_det.o: multiple definition of 'dlib::currentTimeInMilliseconds()'
can you give some advice?
I wanna upgrade my app. Thank you for your contribution
Minor nit, you've included the python-examples but didn't include the .cpp examples directory. Any particular reason? It would seem that from a software maintenance standpoint, it's easier to preserve as much of the upstream code as possible so changes are easier to ingest.
hi -- experimenting with this now (trying a variety of fixes for dlib / android / speed)
I am trying to locate this:
reduce work load : only use 1 filter(front looking) instead of 5 filters in frontal_face_detector.h
in the code but I can't find this modification. The modifications for thread are easy to spot.
can you let me know where to look? thanks much!
thanks for your great work, and how to compile with __ARM_NEON parameter with cmake?
Hello,
I am getting compilation error :
In file included from /hdd/konmon01/dlib_for_arm/dlib/dlib/../dlib/svm/structural_object_detection_trainer.h:10:0,
from /hdd/konmon01/dlib_for_arm/dlib/dlib/../dlib/svm_threaded.h:16,
from /hdd/konmon01/dlib_for_arm/dlib/tools/python/src/svm_c_trainer.cpp:8:
/hdd/konmon01/dlib_for_arm/dlib/dlib/../dlib/svm/../image_processing/object_detector.h: In member function ‘void dlib::object_detector<image_scanner_type_>::operator()(const image_type&, std::vector<dlib::rect_detection>&, double)’:
/hdd/konmon01/dlib_for_arm/dlib/dlib/../dlib/svm/../image_processing/object_detector.h:445:34: error: there are no arguments to ‘LOGD’ that depend on a template parameter, so a declaration of ‘LOGD’ must be available [-fpermissive]
LOGD("t1-t0 take %lld ms",t1-t0);
^
/hdd/konmon01/dlib_for_arm/dlib/dlib/../dlib/svm/../image_processing/object_detector.h:445:34: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
/hdd/konmon01/dlib_for_arm/dlib/dlib/../dlib/svm/../image_processing/object_detector.h:467:34: error: there are no arguments to ‘LOGD’ that depend on a template parameter, so a declaration of ‘LOGD’ must be available [-fpermissive]
LOGD("t3-t1 take %lld ms",t3-t1);
^
/hdd/konmon01/dlib_for_arm/dlib/dlib/../dlib/svm/../image_processing/object_detector.h:482:34: error: there are no arguments to ‘LOGD’ that depend on a template parameter, so a declaration of ‘LOGD’ must be available [-fpermissive]
LOGD("t4-t3 take %lld ms",t4-t3);
^
CMakeFiles/dlib_.dir/build.make:134: recipe for target 'CMakeFiles/dlib_.dir/src/svm_c_trainer.cpp.o' failed
make[2]: *** [CMakeFiles/dlib_.dir/src/svm_c_trainer.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/dlib_.dir/all' failed
make[1]: *** [CMakeFiles/dlib_.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
error: cmake build failed!
I have built all the dependencies, so do you know why this problem occurs?
Thanks
Hi, I'm testing your code in android platform.
I heard that you tested dlib with dlib-android
How did build it with NEON support?
I need to know the details about - Application.mk, Android.mk file
I tested, but I can't build because simd file is added.
Thank you for your contribution :)
When I run the program, I encountered the error of "bus error ". Do you have any suggestions ?
object_detector.h line 445
Hi,
What is the status of this project?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.