Skip to content

Commit

Permalink
👏 remove C++ function declaration that is not implemented.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Karlsson committed Aug 29, 2016
1 parent 667191e commit bbd2d6e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions jni/nativefaceswap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)
#define LOGI(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)

#define JNI_FALSE 0
#define JNI_TRUE 1

using namespace std;
using namespace cv;

#define JNI_FALSE 0
#define JNI_TRUE 1

// Transforming java-vectors to C++ data structures
vector<Point2f> readPoints(JNIEnv *env, jintArray landmarksX1, jintArray landmarksY1);
Expand All @@ -36,8 +37,6 @@ void warpTriangle(Mat &img1, Mat &img2, vector<Point2f> &t1, vector<Point2f> &t2

void applyAffineTransform(Mat &warpImage, Mat &src, vector<Point2f> &srcTri, vector<Point2f> &dstTri);

void adjust_faces(Mat img1, Mat& img2);



extern "C" {
Expand Down

0 comments on commit bbd2d6e

Please sign in to comment.