Code Monkey home page Code Monkey logo

dlib_for_arm's People

Contributors

fastfastball avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dlib_for_arm's Issues

android NEON details

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 :)

Bus Error

When I run the program, I encountered the error of "bus error ". Do you have any suggestions ?

Missing examples directory?

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.

mmod_loss?

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?

I can't compile it

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.

  1. clone https://github.com/tzutalin/dlib-android
  2. replace dlib repo with your dlib_for_arm (rename with dlib)
  3. build with android version as described in https://github.com/tzutalin/dlib-android

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

Build Issues

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

what is the different with the newest dlib version.

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 ?)

1 filter vs 5

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.