Open kashimAstro opened 6 years ago
Yeah! Absolutely pull request. For organizational purposes, I'm trying to keep anything prefixed with example_dlib_*
to be pretty much a direct translation of the original dlib examples. I don't yet have a great system for more oF friendly examples (i.e. with better reusable packaging for nets etc like you're making and like I have for LeNet). I'd say propose a naming scheme and just make sure there is a good README with a format similar to what we've been trying to add to all oF examples (e.g. a screen shot, summary, expected output, etc). Thanks for the work on this!
I have more or less respected the prefix of the examples, for the creation of a custom network, I would like to have a kind of struct to generate all the layers dynamically, but I do not think this is simple.
now I take a look at LeNet.
yesterday night i pushed a pull request: https://github.com/bakercp/ofxDlib/pull/20
but maybe I did something wrong, (sorry, i'm not very good with github) what am I doing wrong? this is the result:
Hi @bakercp
I built an example for android, but this implies a variation of the addon_config.mk, for the moment i pushed only the example for android-studio in my fork:
https://github.com/kashimAstro/ofxDlib/tree/master/example_android
I loaded on the gist a model of addon_config.mk, (try to take a look): https://gist.github.com/kashimAstro/d10219bbe0b8667a8426880ad3180215
the precompiled libraries are also needed, i can also load those if you agree.
PS: for some strange reason android-studio does not allow me to compile examples with too many underscores, for this reason the example is calling only example_android.
I am also preparing an example emscripten
ok, now we also have a working emscripten example: https://github.com/kashimAstro/ofxDlib/tree/master/example_emscripten_dlib_face_detector
I have also modified addons_config.mk adding emscripten and setting the path for static libraries: https://gist.github.com/kashimAstro/d10219bbe0b8667a8426880ad3180215
I'd like to load static libraries for android* and emscripten
what do you think about it? I can load on my fork in:
libs/dlib/lib/
- libs/dlib/lib/android/arm64-v8a
- libs/dlib/lib/android/armeabi
- libs/dlib/lib/android/armeabi-v7a
- libs/dlib/lib/android/mips
- libs/dlib/lib/android/mips64
- libs/dlib/lib/android/x86
- libs/dlib/lib/android/x86_64
and
- libs/dlib/lib/emscripten
and at this point i push addons_config.mk in my fork and then make a pull request..
emscripten:
android:
Good day!
Cool!
On Tue, Apr 17, 2018, 9:10 AM Dario Longobardi notifications@github.com wrote:
ok, now we also have a working emscripten example:
https://github.com/kashimAstro/ofxDlib/tree/master/example_emscripten_dlib_face_detector
I have also modified addons_config.mk adding emscripten and setting the path for static libraries: https://gist.github.com/kashimAstro/d10219bbe0b8667a8426880ad3180215
I'd like to load static libraries for android* and emscripten
what do you think about it? I can load on my fork in:
libs/dlib/lib/
- libs/dlib/lib/android/arm64-v8a
- libs/dlib/lib/android/armeabi
- libs/dlib/lib/android/armeabi-v7a
- libs/dlib/lib/android/mips
- libs/dlib/lib/android/mips64
- libs/dlib/lib/android/x86
- libs/dlib/lib/android/x86_64
and
- libs/dlib/lib/emscripten
and at this point i push addons_config.mk in my fork and then make a pull request..
emscripten: [image: webdlib] https://user-images.githubusercontent.com/6746680/38873789-e3c8ac7e-4256-11e8-80bd-feab87ce8fa1.png
android: [image: androiddlib] https://user-images.githubusercontent.com/6746680/38873791-e3e2391e-4256-11e8-9b32-13f8ddb91c88.jpg
Good day!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bakercp/ofxDlib/issues/19#issuecomment-382006607, or mute the thread https://github.com/notifications/unsubscribe-auth/AASVxDIZmmmeMARODINM2Kb112Skx8lVks5tpfffgaJpZM4S_WPY .
if you want to do a test with the precompiled libraries, you can download here: http://kashimastro.ns0.it/ofxDlib_lib/ofxdlib_lib.zip
obviously you need the new addon_config.mk: https://gist.github.com/kashimAstro/d10219bbe0b8667a8426880ad3180215
the linux64 folder contains a static CPU-only library
Ciao
Hi @bakercp
I hope all is well. I'm adding some examples to my fork, can it make sense to do a pull request?
for the moment only: semantic segmentation and find cars.
https://github.com/kashimAstro/ofxDlib/tree/master/example_dlib_dnn_semantic_segmentation https://github.com/kashimAstro/ofxDlib/tree/master/example_dlib_dnn_cars https://github.com/kashimAstro/ofxDlib/tree/master/example_dlib_dnn_cars2
I'm working on an example for android and the transport of an example for speech recognition, but for the latter it will take a bit.
Ciao!