From 2b27c2c88872084123c77eceb5eea34a21290403 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期三, 15 一月 2020 11:10:42 +0800
Subject: [PATCH] zero copy face

---
 csrc/struct.h |   23 ++++++++++-------------
 1 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/csdk_struct.h b/csrc/struct.h
similarity index 90%
rename from csdk_struct.h
rename to csrc/struct.h
index e733027..9be7c4c 100644
--- a/csdk_struct.h
+++ b/csrc/struct.h
@@ -1,34 +1,32 @@
-#ifndef _c_wrapper_c_structure_h_
-#define _c_wrapper_c_structure_h_
- 
-#include <string.h>
- 
+#ifndef _face_struct_h_
+#define _face_struct_h_
+
 typedef struct _cPOINT {
     int x;
     int y;
 } cPOINT;
- 
+
 typedef struct _cRECT {
     int left;
     int top;
     int right;
     int bottom;
 } cRECT;
- 
+
 typedef struct _cIMAGE{
     unsigned char *data;
     int width;
     int height;
     int channel;
 } cIMAGE;
- 
+
 typedef struct _cFaceAngle {
     int yaw;
     int pitch;
     int roll;
     float confidence;
 } cFaceAngle;
- 
+
 typedef struct _cThftResult {
     int gender;//1-male,0-female
     int age;//range[0-100]
@@ -36,7 +34,7 @@
     int beauty_level;//range[0-100]
     int smile_level;//range[0-100]
 } cThftResult;
- 
+
 typedef struct _cFacePos {
     cRECT rcFace;
     cPOINT ptLeftEye;
@@ -48,7 +46,7 @@
     
     unsigned char pFacialData[512];
 } cFacePos;
- 
+
 typedef struct _cFaceInfo{
     cRECT rcFace;
     cPOINT ptLeftEye;
@@ -61,6 +59,5 @@
     unsigned char pFacialData[8*1024];
     long        nFaceID;//face tracking id
 } cFaceInfo;
- 
- 
+
 #endif
\ No newline at end of file

--
Gitblit v1.8.0