Giter Club home page Giter Club logo

Comments (9)

KAlO2 avatar KAlO2 commented on June 11, 2024

Have you made the JNI part?
$ cd jni
$ ndk-build -j4
and you will see a file libvenus.so generated.

from perfectshow.

ravisahu avatar ravisahu commented on June 11, 2024

@KAlO2 -Yes.I am able to create two .so (opencv_java3,venus)

from perfectshow.

ravisahu avatar ravisahu commented on June 11, 2024

@KAlO2 - Yes, libvenus.so is generated.
Please suggest any solution.

from perfectshow.

KAlO2 avatar KAlO2 commented on June 11, 2024

@ravisahu Did you update the code to the newest version? Because previously I use detectFace() to detect single face, and later I changed the method signature to detect multiple faces.

from perfectshow.

ravisahu avatar ravisahu commented on June 11, 2024

@KAlO2 Yes i am using latest version.You can see return type is PointF[] [].Is it possible to get .so files that you have created or apk that you have created ?
If possible please send me here [email protected]

from perfectshow.

adasharma avatar adasharma commented on June 11, 2024

@KAlO2 I am also facing issue getting run this project. I am trying to use Android studio and latest cMake and cMakeList.txt way of native integration. Are you going to migrate this eclipse project to android studio project ?

from perfectshow.

KAlO2 avatar KAlO2 commented on June 11, 2024

I create the APK here, in case others want to try it.
By the way, I'm still working on it, especially on the makeup algorithm, some UI bugs may happens.

from perfectshow.

KAlO2 avatar KAlO2 commented on June 11, 2024

Fixed in ineb2da93aef2f607600d979e848a38bbcc15990f1
now detectFace() detects only one dominant face, detectFaces() detects mutiple faces.

from perfectshow.

elfifo4 avatar elfifo4 commented on June 11, 2024

I still see this error after picking an image from gallery (Makeup button was clicked):

2019-10-28 11:12:22.900 345-345/com.wonderful.ishow E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.wonderful.ishow, PID: 345
java.lang.UnsatisfiedLinkError: No implementation found for android.graphics.PointF[] com.wonderful.ishow.makeup.Feature.nativeDetectFace(android.graphics.Bitmap, java.lang.String, java.lang.String) (tried Java_com_wonderful_ishow_makeup_Feature_nativeDetectFace and Java_com_wonderful_ishow_makeup_Feature_nativeDetectFace__Landroid_graphics_Bitmap_2Ljava_lang_String_2Ljava_lang_String_2)
at com.wonderful.ishow.makeup.Feature.nativeDetectFace(Native Method)
at com.wonderful.ishow.makeup.Feature.detectFace(Feature.java:86)
at com.wonderful.ishow.app.MakeupActivity.initData(MakeupActivity.java:301)
at com.wonderful.ishow.app.MakeupActivity.onCreate(MakeupActivity.java:256)

and what about the other buttons?
Collage, Crop, Camera, Color, Effect
they do nothing.

Thanks

from perfectshow.

Related Issues (20)

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.