October 2018
Intermediate to advanced
246 pages
6h 26m
English
With this, change the OpenCV.mk path according to your local path. This application is built on MacBook Pro macOS High Sierra. The Android.mk file resides in the subdirectory of your project's jni/ directory. It is really a tiny GNU makefile fragment that the build system parses once or more:
LOCAL_PATH := $(call my-dir)include $(CLEAR_VARS)OPENCV_INSTALL_MODULES:=onOPENCV_CAMERA_MODULES:=offOPENCV_LIB_TYPE:=STATICinclude /Users/karthikeyan/Downloads/OpenCV- android/sdk/native/jni/OpenCV.mkLOCAL_MODULE := faceswapperLOCAL_SRC_FILES := faceswapper.cppLOCAL_LDLIBS += -llog -ldl -landroid -latomicLOCAL_CPPFLAGS := -O0 -g3 -std=c++11 -Wall -Wextra -fexceptionsinclude $(BUILD_SHARED_LIBRARY)
Read now
Unlock full access