-
Notifications
You must be signed in to change notification settings - Fork 111
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
Using clandmark in Android app with native c++ #85
Comments
Hi @tsangz189, yep RapidXML is necessary, as models are stored in XML files. OpenCV is not needed at all, it is used just in examples. I am not very familiar with Android app development. But if it supports native c++, you might even use the CLandmark in the form of dynamically linked precompiled library? |
When built successfully, I have two static lib (libclandmark & libflandmark). Should I import both of them? |
Yep, both are required. You can also build them dynamically, just change BUILD_SHARED_LIBS CMake settings. |
I tried to build the lib using android ndk. An error apprears: |
Hmm, looks like some construct are not supported by the compiler anymore... In the meanwhile, you might try to write a simple workaround for now, by creating that empty constructor which is missing. |
Yes, it's very weird. I can build and run using Cmake, but with ndk-build of Android, it shows that error. Thank you for your time |
I want to use clandmark lib in my Android app but using native c++;
Should I include all the *.h and *.cpp files in the libclandmark folder? Is the RapidXML is necessary?
I have my own face detector so I don't need the OpenCV haar cascade, how do I remove them?
Thank you
The text was updated successfully, but these errors were encountered: