houxiao
2017-01-10 4d2fdfa71faf0e79e10135f9ef47b68cb707d49b
add facedbpool

git-svn-id: http://192.168.1.226/svn/proxy@86 454eff88-639b-444f-9e54-f578c98de674
2个文件已添加
2个文件已修改
18 ■■■■■ 已修改文件
RtspFace/PL_SensetimeFaceDetect.h 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
RtspFace/SensetimeFaceAPIWrapper/src/FaceDBPool.cpp 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
RtspFace/SensetimeFaceAPIWrapper/src/FaceDBPool.h 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
RtspFace/main_face_daemon.cpp 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
RtspFace/PL_SensetimeFaceDetect.h
@@ -4,6 +4,14 @@
#include "PipeLine.h"
#include <vector>
struct PL_SensetimeFaceDetectPipeArgs
{
    void* faceDB;
    PL_SensetimeFaceDetectPipeArgs() : faceDB(nullptr)
    { }
};
struct PL_SensetimeFaceDetectConfig
{
    int point_size; // 21 / 106
RtspFace/SensetimeFaceAPIWrapper/src/FaceDBPool.cpp
New file
@@ -0,0 +1,2 @@
#include "FaceDBPool.h"
RtspFace/SensetimeFaceAPIWrapper/src/FaceDBPool.h
New file
@@ -0,0 +1,4 @@
#ifndef _FACEDBPOOL_H_
#define _FACEDBPOOL_H_
#endif
RtspFace/main_face_daemon.cpp
@@ -64,10 +64,14 @@
    frame.width = fdpImage->width;
    frame.height = fdpImage->height;
    
    PL_SensetimeFaceDetectPipeArgs args;
    //#todo get db
    PipeMaterial pm;
    pm.type = PipeMaterial::PMT_FRAME;
    pm.buffer = &frame;
    pm.buffSize = 0;
    pm.args = &args;
    PipeLineElem* plElem = pipeLine->pipe(&pm);
    if (! pipeLine->check_pipe_complete(plElem))