派生自 libgowrapper/face

zhangmeng
2019-12-16 fcc639d40cab8217c001870ce0ee834c440b3647
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);
}