From fcc639d40cab8217c001870ce0ee834c440b3647 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期一, 16 十二月 2019 15:39:02 +0800 Subject: [PATCH] update --- cface.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cface.cpp b/cface.cpp index a20e713..c5fe383 100644 --- a/cface.cpp +++ b/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); } \ No newline at end of file -- Gitblit v1.8.0