派生自 libgowrapper/face

zhangmeng
2020-01-13 4e0283736988369f9924f8436c8bdfc915673573
debug
10 文件已重命名
2个文件已修改
44 ■■■■ 已修改文件
cface.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
csdk_struct.h 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
csrc/all.hpp 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
csrc/buz/base.hpp 补丁 | 查看 | 原始文档 | blame | 历史
csrc/buz/face/detector.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
csrc/buz/face/detector.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
csrc/buz/face/extractor.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
csrc/buz/face/extractor.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
csrc/buz/face/property.cpp 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
csrc/buz/face/property.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
csrc/buz/face/tracker.cpp 补丁 | 查看 | 原始文档 | blame | 历史
csrc/buz/face/tracker.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
cface.h
@@ -5,7 +5,7 @@
extern "C"{
#endif
#include "csrc/struct.h"
#include "csdk_struct.h"
#ifndef uchar 
typedef unsigned char uchar;
csdk_struct.h
File was renamed from csrc/struct.h
@@ -1,34 +1,34 @@
#ifndef _c_wrapper_c_structure_h_
#define _c_wrapper_c_structure_h_
#include <string.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 +36,7 @@
    int beauty_level;//range[0-100]
    int smile_level;//range[0-100]
} cThftResult;
typedef struct _cFacePos {
    cRECT rcFace;
    cPOINT ptLeftEye;
@@ -48,7 +48,7 @@
    
    unsigned char pFacialData[512];
} cFacePos;
typedef struct _cFaceInfo{
    cRECT rcFace;
    cPOINT ptLeftEye;
@@ -61,6 +61,6 @@
    unsigned char pFacialData[8*1024];
    long        nFaceID;//face tracking id
} cFaceInfo;
#endif
csrc/all.hpp
@@ -1,9 +1,9 @@
#ifndef _c_wrapper_face_detector_all_hpp_
#define _c_wrapper_face_detector_all_hpp_
#include "detector.cpp"
#include "extractor.cpp"
#include "property.cpp"
#include "tracker.cpp"
#include "buz/face/detector.cpp"
#include "buz/face/extractor.cpp"
#include "buz/face/property.cpp"
#include "buz/face/tracker.cpp"
#endif
csrc/buz/base.hpp
csrc/buz/face/detector.cpp
File was renamed from csrc/detector.cpp
@@ -6,7 +6,7 @@
#include "THFaceImage_i.h"
#include "struct.h"
#include "csdk_struct.h"
namespace csdk_wrap
{
csrc/buz/face/detector.h
File was renamed from csrc/detector.h
@@ -1,7 +1,7 @@
#ifndef _c_wrapper_face_detector_hpp_
#define _c_wrapper_face_detector_hpp_
#include "base.hpp"
#include "../base.hpp"
struct _cFacePos;
csrc/buz/face/extractor.cpp
File was renamed from csrc/extractor.cpp
@@ -1,7 +1,7 @@
#include "extractor.h"
#include "THFeature_i.h"
#include "struct.h"
#include "csdk_struct.h"
namespace csdk_wrap{
csrc/buz/face/extractor.h
File was renamed from csrc/extractor.h
@@ -1,7 +1,7 @@
#ifndef _c_wrapper_face_extractor_h_
#define _c_wrapper_face_extractor_h_
#include "base.hpp"
#include "../base.hpp"
struct _cFacePos;
struct _cIMAGE;
csrc/buz/face/property.cpp
File was renamed from csrc/property.cpp
@@ -1,7 +1,7 @@
#include "property.h"
#include "THFaceProperty_i.h"
#include "struct.h"
#include "csdk_struct.h"
namespace csdk_wrap{
csrc/buz/face/property.h
File was renamed from csrc/property.h
@@ -1,7 +1,7 @@
#ifndef _c_wrapper_face_property_h_
#define _c_wrapper_face_property_h_
#include "base.hpp"
#include "../base.hpp"
struct _cThftResult;
struct _cFacePos;
csrc/buz/face/tracker.cpp
csrc/buz/face/tracker.h
File was renamed from csrc/tracker.h
@@ -1,7 +1,7 @@
#ifndef _c_wrapper_face_tracker_h_
#define _c_wrapper_face_tracker_h_
#include "base.hpp"
#include "../base.hpp"
struct _cRECT;
struct _cFaceInfo;