kalo2 / perfectshow Goto Github PK
View Code? Open in Web Editor NEWAndroid virtual makeup app, apply cosmetics on human face.
License: Apache License 2.0
Android virtual makeup app, apply cosmetics on human face.
License: Apache License 2.0
there is no jni folder in cpp, how to create that?
moreover, cmake .. and make -j4 command do not run, how to run them, or packages i need?
Build command failed.
Error while executing process C:\Users\Abbaszadeh\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\Abbaszadeh\Desktop\PerfectShow-master\iShow\src\main\cpp\Android.mk NDK_APPLICATION_MK=C:\Users\Abbaszadeh\Desktop\PerfectShow-master\iShow\src\main\cpp\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=0 APP_PLATFORM=android-16 NDK_OUT=C:/Users/Abbaszadeh/Desktop/PerfectShow-master/iShow/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=C:\Users\Abbaszadeh\Desktop\PerfectShow-master\iShow\build\intermediates\ndkBuild\release\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
process_begin: CreateProcess(NULL, "", ...) failed.
Android NDK: ERROR:C:\Users\Abbaszadeh\Desktop\PerfectShow-master\iShow\src\main\cpp\Android.mk:opencv_java3_prebuilt: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that F:/OpenCV/OpenCV-3.2.0-android-sdk/sdk/native/libs/armeabi-v7a/libopencv_java3.so exists or that its path is correct
Build command failed.
Error while executing process C:\Users\Abbaszadeh\AppData\Local\Android\Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\Abbaszadeh\Desktop\PerfectShow-master\iShow\src\main\cpp\Android.mk NDK_APPLICATION_MK=C:\Users\Abbaszadeh\Desktop\PerfectShow-master\iShow\src\main\cpp\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=C:/Users/Abbaszadeh/Desktop/PerfectShow-master/iShow/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=C:\Users\Abbaszadeh\Desktop\PerfectShow-master\iShow\build\intermediates\ndkBuild\debug\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
process_begin: CreateProcess(NULL, "", ...) failed.
ACndroid NDK: ER:/UseROR:rsC/:A\bUbaszadeh/AppDastear/Lso\cAabl/bAandrosid/sdk/zndk-baudndelh\eD/ebsuikldt//o.p./bPuiledr/fceocret/Sphroewb-umialst-tleirbr\airSyh.mokw:\45s:r c**m*a iAnn\dcrpopi\dA nNdDrKo:i dAb.omrkt:ionpge n c v _.j a vSat3o_pp.r
ebuilt: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that F:/OpenCV/OpenCV-3.2.0-android-sdk/sdk/native/libs/armeabi-v7a/libopencv_java3.so exists or that its path is correct
C:\Users\Abbaszadeh\Desktop\PerfectShow-master\iShow\src\main\cpp\Android.mk
Error:(12, 0) F:/OpenCV/OpenCV-3.2.0-android-sdk/sdk/native/jni/OpenCV.mk: No such file or directory
Open File
Error:(12, 0) F:/OpenCV/OpenCV-3.2.0-android-sdk/sdk/native/jni/OpenCV.mk: No such file or directory
Open File
C:\Users\Abbaszadeh\AppData\Local\Android\sdk\ndk-bundle\build\core\prebuilt-library.mk
Error:(44, 0) *** Android NDK: Aborting . Stop.
Open File
Android NDK: ERROR:E:\github\PerfectShow\iShow\src\main\cpp\Android.mk:opencv_java3_prebuilt: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that F:/OpenCV/OpenCV-3.2
Hello :(
D:\Android\a\AndroidSDK\ndk-bundle\build\core\prebuilt-library.mk
Error:(45) *** Android NDK: Aborting . Stop.
Error:(45) *** Android NDK: Aborting . Stop.
Error:(45) *** Android NDK: Aborting . Stop.
Error:A problem occurred configuring project ':iShow'.
executing external native build for ndkBuild D:\o\PerfectShow\iShow\src\main\cpp\Android.mk
Hi,
请教一个问题,如果我同时应用眉毛和眼睫毛的texture会发现只有一个能用,另一个会失效,这是什么原因呢?
Run the command below to pull OpenCV module in Android Studio project, then build the project.
$ git submodule update --init --recursive
Where to write the Code??
How??? What are the steps??
I am new in App development. Trying to get knowledge. Please help me.
opencv for android can be found
here
https://sourceforge.net/projects/opencvlibrary/files/opencv-android/
dlib
https://github.com/tzutalin/dlib-android-app
can you make a tutorial or a project just for the makeup part trying to learn this with opencv
this is simple i guess with direct import to gradle and ready opencv lib
(It doesnot need ndk knowledge i guess )
(ps : i am new to opencv in android so please help)
Hey Can Anyone please help me out on correcting eye lash it's seems too blurry.
I can see the Iibvenus.so file in apk analyser. but the code is unable to find it
Hi
I am working on a linux machine
Ran the 'ndk-build' on 'jni'. And stuck on below
/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lrt
Tried some variations in Android.mk like mentioned fullpath of 'librt'. But haven;t got it working.
Searched google all over but could not find anything.
Any suggestions on what probably could be missing / misplaced.
dlopen failed: library "libomp.so" not found
solve error using below link
https://stackoverflow.com/questions/59794824/android-app-crash-after-ndk-upgraded-from-20-1-to-21-0
But face issue
"Sorry, no face detected. Please use front face for better result."
Please help us to resolve this. problem
Thank your response
Hello
Error:(48, 0) studio\PerfectShow-master\iShow\src\main\cpp\Application.mk: No such file or directory
Open File
When I open the app and try to upload any picture, the app crashes.
Log:
E/InputDispatcher(492): channel '4aa29a34 com.cloudream.ishow/com.cloudream.ishow.app.GalleryActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
1、在你的编译文件中,
set(OPENCV_DIR "G:/OpenCV/opencv-3.2.0/build" CACHE STRING "" FORCE)
我的OpenCV没有build这个文件夹呀,需要自己编译么?编译什么版本呢?
2、在Android Demo中没有Camera的相关Demo呀。。你现在有了么??
Please help me .
there is no jni folder in cpp, and we are not able to perform cmake .. + make -j4 commands.
Hi
I am working on a linux machine
Ran the 'ndk-build' on 'jni'. And stuck on below
/ndk-bundle/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lrt
Tried some variations in Android.mk like mentioned fullpath of 'librt'. But haven;t got it working.
Searched google all over but could not find anything.
Any suggestions on what probably could be missing / misplaced.
ndkBuild/debug/obj/local/arm64-v8a/objs-debug/venus/PerfectShow-masteriShow/src/main/cpp/platform/com_cloudream_ishow_algorithm_Effect.o.d: No such file or directory
Can you please guide me as to how to load the project in android studio.And which project to load iShow or perfectshow.
I am unable to build the project
unable to open output file 'C:/Users/User/Documents/PerfectShow-master/PerfectShow-master/iShow/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs-debug/venus/C_/Users/User/Documents/PerfectShow-master/PerfectShow-master/iShow/src/main/cpp/platform/com_cloudream_ishow_algorithm_Effect.o': 'No such file or directory'
I get the following error on building the app
No toolchains found in the NDK toolchains folder for ABI with prefix: mips64el-linux-android
您好,我用android studio编译不通过
Cause: executing external native build for ndkBuild /Users/dongqing/APP-Develop/Android/workspace/studio/PerfectShow/iShow/src/main/cpp/Android.mk
It always shows "Sorry, no face detected. Please use front face for better result." toast when try to use Makeup functionality. Can you please suggest
Cybus\StudioProjects\PerfectShow\iShow\src\main\cpp\Application.mk: No such file or directory
Thank you very much for your sharing.Looking for someone to face makeup case, looking for a long time didn't find it.See the project as you see the dawn of the dawn.Want to look at the effect of the operation, the Android studio STH over and over again for a long time or stuck up.Suddenly feel a dark around you.Are you Chinese?Can you give me send a Chinese environment set up document?I would be very grateful.My email is 1693865860 @qq.com, English is not very good, with the aid of translation tools, please forgive me.
If you are can see that(看懂中文直接看下面):
非常感谢你的分享。想找个人脸化妆的案例看看,找了很久没找到。看到你这个项目有如看见黎明的曙光。想运行看看效果,在Android studio 折腾了很久还是没跑起来。突然又感觉周围一片黑暗。你是**人?能否给我发份中文环境架设文档呢?我会非常感激的。我邮箱是[email protected],英文不是特别好,借助翻译工具,请多多包涵。
Android NDK: Your APP_BUILD_SCRIPT points to an unknown file
Hello @KAlO2,
Please check below log report.
java.lang.UnsatisfiedLinkError: No implementation found for android.graphics.PointF[][] com.cloudream.ishow.algorithm.Feature.nativeDetectFace(android.graphics.Bitmap, java.lang.String, java.lang.String) (tried Java_com_cloudream_ishow_algorithm_Feature_nativeDetectFace and Java_com_cloudream_ishow_algorithm_Feature_nativeDetectFace__Landroid_graphics_Bitmap_2Ljava_lang_String_2Ljava_lang_String_2)
01-12 15:55:23.753: E/AndroidRuntime(9369): at com.cloudream.ishow.algorithm.Feature.nativeDetectFace(Native Method)
01-12 15:55:23.753: E/AndroidRuntime(9369): at com.cloudream.ishow.algorithm.Feature.detectFace(Feature.java:84)
01-12 15:55:23.753: E/AndroidRuntime(9369): at com.cloudream.ishow.app.MakeupActivity.onCreate(MakeupActivity.java:299)
01-12 15:55:23.753: E/AndroidRuntime(9369): at android.app.Activity.performCreate(Activity.java:6876)
01-12 15:55:23.753: E/AndroidRuntime(9369): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1135)
01-12 15:55:23.753: E/AndroidRuntime(9369): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3206)
01-12 15:55:23.753: E/AndroidRuntime(9369): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349)
01-12 15:55:23.753: E/AndroidRuntime(9369): at android.app.ActivityThread.access$1100(ActivityThread.java:221)
01-12 15:55:23.753: E/AndroidRuntime(9369): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
01-12 15:55:23.753: E/AndroidRuntime(9369): at android.os.Handler.dispatchMessage(Handler.java:102)
01-12 15:55:23.753: E/AndroidRuntime(9369): at android.os.Looper.loop(Looper.java:158)
01-12 15:55:23.753: E/AndroidRuntime(9369): at android.app.ActivityThread.main(ActivityThread.java:7224)
01-12 15:55:23.753: E/AndroidRuntime(9369): at java.lang.reflect.Method.invoke(Native Method)
01-12 15:55:23.753: E/AndroidRuntime(9369): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
01-12 15:55:23.753: E/AndroidRuntime(9369): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
Please help me to resolve this issue.
I can't find opeCV file in the project.
Hi! It would be great if you could add a demo apk to the repository.
Error while executing process C:\sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\AndroidStudioProjects\library_projects\PerfectShow\iShow\src\main\cpp\Android.mk NDK_APPLICATION_MK=D:\AndroidStudioProjects\library_projects\PerfectShow\iShow\src\main\cpp\Application.mk APP_ABI=arm64-v8a NDK_ALL_ABIS=arm64-v8a NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=D:/AndroidStudioProjects/library_projects/PerfectShow/iShow/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\AndroidStudioProjects\library_projects\PerfectShow\iShow\build\intermediates\ndkBuild\debug\lib D:/AndroidStudioProjects/library_projects/PerfectShow/iShow/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/libvenus.so}
[arm64-v8a] Compile++ : venus <= asm.cpp
[arm64-v8a] Compile++ : venus <= classicdesc.cpp
[arm64-v8a] Compile++ : venus <= convshape.cpp
[arm64-v8a] Compile++ : venus <= err.cpp
[arm64-v8a] Compile++ : venus <= eyedet.cpp
[arm64-v8a] Compile++ : venus <= eyedist.cpp
[arm64-v8a] Compile++ : venus <= faceroi.cpp
[arm64-v8a] Compile++ : venus <= hat.cpp
[arm64-v8a] Compile++ : venus <= hatdesc.cpp
[arm64-v8a] Compile++ : venus <= landmarks.cpp
[arm64-v8a] Compile++ : venus <= misc.cpp
[arm64-v8a] Compile++ : venus <= pinstart.cpp
[arm64-v8a] Compile++ : venus <= print.cpp
[arm64-v8a] Compile++ : venus <= shape17.cpp
[arm64-v8a] Compile++ : venus <= shapehacks.cpp
[arm64-v8a] Compile++ : venus <= shapemod.cpp
[arm64-v8a] Compile++ : venus <= startshape.cpp
[arm64-v8a] Compile++ : venus <= stasm.cpp
[arm64-v8a] Compile++ : venus <= stasm_lib.cpp
[arm64-v8a] Compile++ : venus <= facedet.cpp
[arm64-v8a] Compile++ : venus <= initasm.cpp
[arm64-v8a] Compile++ : venus <= Beauty.cpp
[arm64-v8a] Compile++ : venus <= blend.cpp
[arm64-v8a] Compile++ : venus <= blur.cpp
[arm64-v8a] Compile++ : venus <= colorspace.cpp
[arm64-v8a] Compile++ : venus <= Effect.cpp
[arm64-v8a] Compile++ : venus <= Feature.cpp
[arm64-v8a] Compile++ : venus <= ImageWarp.cpp
[arm64-v8a] Compile++ : venus <= inpaint.cpp
[arm64-v8a] Compile++ : venus <= Makeup.cpp
[arm64-v8a] Compile++ : venus <= opencv_utility.cpp
D:/AndroidStudioProjects/library_projects/PerfectShow/iShow/src/main/cpp/venus/opencv_utility.cpp:204:2: warning: array index 3 is past the end of the array (which contains 3 elements) [-Warray-bounds]
r_g_b_a[3] = alpha;
^ ~
D:/AndroidStudioProjects/library_projects/PerfectShow/iShow/src/main/cpp/venus/opencv_utility.cpp:202:2: note: array 'r_g_b_a' declared here
cv::Mat r_g_b_a[3];
^
1 warning generated.
[arm64-v8a] Compile++ : venus <= Region.cpp
make: *** No rule to make target D:/AndroidStudioProjects/library_projects/PerfectShow/iShow/src/main/cpp/platform/com_cloudream_ishow_algorithm_Effect.cpp', needed by
D:/AndroidStudioProjects/library_projects/PerfectShow/iShow/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs-debug/venus/D_/AndroidStudioProjects/library_projects/PerfectShow/iShow/src/main/cpp/platform/com_cloudream_ishow_algorithm_Effect.o'. Stop.
I'm working face detection to do the makeup, your example is very valuable for me since I did not know anything about OpenCV I just saw that error with the makeup, when I select the option EYE BROW is erased the brow of the face, to be Should behave
Note: Excuse me for my English.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.