Is there a dlib library library for java?

I use OpenCV to detect faces, but after watching this video: https://www.youtube.com/watch?v=LsK0hzcEyHI , I noticed that dlib is much more accurate, and even in my tests it gives a lot of positive results (but not skipped not a single person), does anyone know how to use dlib in a Java web application (not android)? I already found a port for Android , but I don’t think it can be used in a java application. Thanks you

+4
source share
2 answers

I used dlib myself, and yes, it is a very advanced and accurate library. As far as I know, there is no port in Java. But you can always compile it into a shared library (.so on linux or .dll on Windows), and then use it inside your Java code.

Read more about using dll or using in java

It is also possible to use the C ++ library directly in Java using proxies. You can look at it.

Change: . According to a comment by @evgeniy, most dlib are header-only templates. You cannot use them if you export dlib directly as a shared library. Instead, you can open all the necessary APIs, here

2:. @davis-king, swig cmake, Java/apl: mita/dlib: . .

+8

All Articles