-
Notifications
You must be signed in to change notification settings - Fork 751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dlib library to javacpp-presets #49
Comments
I've started work on this and any help is appreciated. https://github.com/crockpotveggies/javacpp-presets/tree/master/dlib There are a lot of header files so I'm unsure of how to handle them all. Some walkthrough on how to get started would be very helpful! |
Alright some progress, there's a couple problems including javacpp unable to read a couple header files as well as some generated Java types break syntax. I'm trying to parse a lot of these files but commonly get this error:
When I exclude those files I then get output like this:
The generated java file looks like: Thanks for your help! |
@crockpotveggies Having the same conversation on both Gitter and here isn't going to be efficient, so let's stick to one of them. Like I said, we'll first need to get dlib's build in order. |
Sorry about that was trying to pick up anyone else who wasn't on the Gitter channel. Let's stick to Gitter |
@aaronkhoo started making progress on this, PRs welcome, this code here is compiling on OSX with Linux to follow: https://github.com/crockpotveggies/dlib-java dlib is too complicated for creating entire presets unfortunately, but I'll be putting core functionality there and long-term we can use it to create presets (unless someone else does it first) |
I'm guessing this is a dead end now that repo no longer exists? |
@crockpotveggies Still have it somewhere? |
Deleted, I did not see a use for it now that we're getting better results with YOLOv3 and the repo itself was incomplete. |
Cool. Thanks. I came here because I was really looking for JNI bindings for using dlib. But I don't think I need it anymore. |
@ndtreviv no prob thanks for letting me know |
I added a java wrapper to simply use dlib face detector, facial landmarks, and face embedding models. |
@tahaemara What's the reason you're not using JavaCPP? |
@saudet Actually Jdlib is the first project I deal with JNI. And I want through implementing it to understand how things are done using plain JNI not using any other 3rd party libs likes Javacpp lib which of course makes a lot of things easy. |
Add dlib (https://github.com/davisking/dlib) to the javacpp-presets family.
The text was updated successfully, but these errors were encountered: