cface.cpp
@@ -2,6 +2,7 @@ extern "C"{ #endif #include <stdio.h> #include "cface.h" #ifdef __cplusplus @@ -79,7 +80,8 @@ return s->track(&img, chan, fInfo, fcnt); } int resize(void *handle, const int w, const int h, const int chan){ int track_resize(void *handle, const int w, const int h, const int chan){ sdkface *s = (sdkface*)handle; return s->resize(w, h, chan); printf("call cpp function\n"); return s->track_resize(w, h, chan); }