wangchao0837 / openglcamerarender Goto Github PK
View Code? Open in Web Editor NEWCamera2+OpenGl ES+Opencv+MediaCodec 实现美颜,大眼,贴纸,灵魂出窍,快慢录等效果。
Camera2+OpenGl ES+Opencv+MediaCodec 实现美颜,大眼,贴纸,灵魂出窍,快慢录等效果。
Build command failed.
Error while executing process C:\Users\dahai\AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {--build C:\Users\dahai\StudioProjects\OpenGlCameraRender\app.cxx\cmake\debug\armeabi-v7a --target native-lib}
[1/7] Building CXX object src/main/cpp/alignment/CMakeFiles/seeta_fa_lib.dir/sift.cpp.o
[2/7] Building CXX object src/main/cpp/alignment/CMakeFiles/seeta_fa_lib.dir/face_alignment.cpp.o
[3/7] Building CXX object src/main/cpp/alignment/CMakeFiles/seeta_fa_lib.dir/cfan.cpp.o
clang++: warning: argument unused during compilation: '-msse4.1' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-msse4.1' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-msse4.1' [-Wunused-command-line-argument]
[4/7] Linking CXX shared library ........\build\intermediates\cmake\debug\obj\armeabi-v7a\libseeta_fa_lib.so
[5/7] Building CXX object CMakeFiles/native-lib.dir/src/main/cpp/FaceTracker.cpp.o
[6/7] Building CXX object CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o
clang++: warning: argument unused during compilation: '-L/C:/Users/dahai/StudioProjects/OpenGlCameraRender/app/src/main/jniLibs/armeabi-v7a' [-Wunused-command-line-argument]
clang++: warning: argument unused during compilation: '-L/C:/Users/dahai/StudioProjects/OpenGlCameraRender/app/src/main/jniLibs/armeabi-v7a' [-Wunused-command-line-argument]
[7/7] Linking CXX shared library ........\build\intermediates\cmake\debug\obj\armeabi-v7a\libnative-lib.so
FAILED: cmd.exe /C "cd . && C:\Users\dahai\AppData\Local\Android\Sdk\ndk\21.0.6113669\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=armv7-none-linux-androideabi21 --gcc-toolchain=C:/Users/dahai/AppData/Local/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/dahai/AppData/Local/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -L/C:/Users/dahai/StudioProjects/OpenGlCameraRender/app/src/main/jniLibs/armeabi-v7a -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id -Wl,--fatal-warnings -Wl,--exclude-libs,libunwind.a -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libnative-lib.so -o ........\build\intermediates\cmake\debug\obj\armeabi-v7a\libnative-lib.so CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o CMakeFiles/native-lib.dir/src/main/cpp/FaceTracker.cpp.o ../../../../build/intermediates/cmake/debug/obj/armeabi-v7a/libseeta_fa_lib.so -lopencv_java4 -landroid -llog -latomic -lm && cd ."
C:/Users/dahai/AppData/Local/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot find -lopencv_java4
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function Java_com_example_cameraglrender_face_FaceTracker_native_1detector: error: undefined reference to 'cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function Java_com_example_cameraglrender_face_FaceTracker_native_1detector: error: undefined reference to 'cv::rotate(cv::_InputArray const&, cv::_OutputArray const&, int)'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function Java_com_example_cameraglrender_face_FaceTracker_native_1detector: error: undefined reference to 'cv::flip(cv::_InputArray const&, cv::_OutputArray const&, int)'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function Java_com_example_cameraglrender_face_FaceTracker_native_1detector: error: undefined reference to 'cv::rotate(cv::_InputArray const&, cv::_OutputArray const&, int)'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function Java_com_example_cameraglrender_face_FaceTracker_native_1detector: error: undefined reference to 'cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function Java_com_example_cameraglrender_face_FaceTracker_native_1detector: error: undefined reference to 'cv::equalizeHist(cv::_InputArray const&, cv::_OutputArray const&)'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function cv::Mat::Mat(int, int, int, void*, unsigned int): error: undefined reference to 'cv::error(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&, char const*, char const*, int)'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function cv::Mat::Mat(int, int, int, void*, unsigned int): error: undefined reference to 'cv::error(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&, char const*, char const*, int)'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function cv::Mat::Mat(int, int, int, void*, unsigned int): error: undefined reference to 'cv::Mat::updateContinuityFlag()'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function cv::Mat::Mat(cv::Mat const&): error: undefined reference to 'cv::Mat::copySize(cv::Mat const&)'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function cv::Mat::~Mat(): error: undefined reference to 'cv::fastFree(void*)'
CMakeFiles/native-lib.dir/src/main/cpp/native-lib.cpp.o:native-lib.cpp:function cv::Mat::release(): error: undefined reference to 'cv::Mat::deallocate()'
CMakeFiles/native-lib.dir/src/main/cpp/FaceTracker.cpp.o:FaceTracker.cpp:function FaceTracker::FaceTracker(char const*, char const*): error: undefined reference to 'cv::DetectionBasedTracker::Parameters::Parameters()'
CMakeFiles/native-lib.dir/src/main/cpp/FaceTracker.cpp.o:FaceTracker.cpp:function std::__ndk1::__shared_ptr_emplace<cv::CascadeClassifier, std::__ndk1::allocatorcv::CascadeClassifier >::__on_zero_shared(): error: undefined reference to 'cv::CascadeClassifier::~CascadeClassifier()'
CMakeFiles/native-lib.dir/src/main/cpp/FaceTracker.cpp.o:FaceTracker.cpp:function std::__ndk1::__compressed_pair_elem<cv::CascadeClassifier, 1, false>::__compressed_pair_elem<char const* const&, 0u>(std::__ndk1::piecewise_construct_t, std::__ndk1::tuple<char const* const&>, std::__ndk1::__tuple_indices<0u>): error: undefined reference to 'cv::CascadeClassifier::CascadeClassifier(std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&)'
CMakeFiles/native-lib.dir/src/main/cpp/FaceTracker.cpp.o:FaceTracker.cpp:function std::__ndk1::__compressed_pair_elem<cv::CascadeClassifier, 1, false>::~__compressed_pair_elem(): error: undefined reference to 'cv::CascadeClassifier::~CascadeClassifier()'
CMakeFiles/native-lib.dir/src/main/cpp/FaceTracker.cpp.o:FaceTracker.cpp:function CascadeDetectorAdapter::CascadeDetectorAdapter(cv::Ptrcv::CascadeClassifier): error: undefined reference to 'cv::error(int, std::__ndk1::basic_string<char, std::__ndk1::char_traits, std::__ndk1::allocator > const&, char const*, char const*, int)'
CMakeFiles/native-lib.dir/src/main/cpp/FaceTracker.cpp.o:FaceTracker.cpp:function CascadeDetectorAdapter::detect(cv::Mat const&, std::_ndk1::vector<cv::Rect, std::_ndk1::allocator<cv::Rect > >&): error: undefined reference to 'cv::CascadeClassifier::detectMultiScale(cv::_InputArray const&, std::ndk1::vector<cv::Rect, std::ndk1::allocator<cv::Rect > >&, double, int, int, cv::Size, cv::Size)'
CMakeFiles/native-lib.dir/src/main/cpp/FaceTracker.cpp.o:FaceTracker.cpp:function std::__ndk1::__compressed_pair_elem<cv::DetectionBasedTracker, 1, false>::__compressed_pair_elem<cv::Ptr const&, cv::Ptr const&, cv::DetectionBasedTracker::Parameters const&, 0u, 1u, 2u>(std::__ndk1::piecewise_construct_t, std::__ndk1::tuple<cv::Ptr const&, cv::Ptr const&, cv::DetectionBasedTracker::Parameters const&>, std::__ndk1::__tuple_indices<0u, 1u, 2u>): error: undefined reference to 'cv::DetectionBasedTracker::DetectionBasedTracker(cv::Ptrcv::DetectionBasedTracker::IDetector, cv::Ptrcv::DetectionBasedTracker::IDetector, cv::DetectionBasedTracker::Parameters const&)'
CMakeFiles/native-lib.dir/src/main/cpp/FaceTracker.cpp.o:FaceTracker.cpp:function std::__ndk1::__compressed_pair_elem<cv::DetectionBasedTracker, 1, false>::~__compressed_pair_elem(): error: undefined reference to 'cv::DetectionBasedTracker::~DetectionBasedTracker()'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
have an error
录制的视频很卡,画面不连贯
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.