tzutalin / dlib-android

:dragon: Port dlib to Android
MIT License
867 stars 268 forks source link

Own detector working slow #98

Closed FaaiqKhan closed 5 years ago

FaaiqKhan commented 5 years ago

I created my own face detector on Linux using dlib-android given command and get success but when I use my detector in dlib-android-app (demo app) for testing purpose the application detect too slow as compared to those files which already present in demo app. Please suggest how can I create files with same performance ?

FaaiqKhan commented 5 years ago

I solved this issues by uncomment this line cv::resize(src_img, src_img, cv::Size(320,240) in detector.h file which is present in dlib-android/jni/jni_detections/

ismailpolas commented 3 years ago

@FaaiqKhan can you share details of using a custom detector in dlib-android? I have been looking for a solution for a long time. But nothing works. It will be very helpful if you share the process to build android architecture for dlib-android. Thanks in Advance.