houxiao
2017-01-11 97dbd476ee99f36286cd866b2208ceead3019b31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef _FACE_DAEMON_PROTO_H_
#define _FACE_DAEMON_PROTO_H_
 
#include <stddef.h>
#include <stdint.h>
#include "ev_proto.h"
 
#pragma pack(1)
 
struct FaceDaemonCommand
{
    enum FDC
    {
        FDC__FIRST,
        FDC_SENSETIMEFACEDETECT = EVPCommand::EVPC_USER_DEFINE + 1,
        FDC_SENSETIMEFACEDETECT_RESULT,
        FDC__LAST,
    };
};
 
struct FDP_Image
{
    int32_t school_id;
    int16_t mb_type; // MB_Frame::MBFType
    int16_t width;
    int16_t height;
    uint8_t buff[0];
};
 
struct FDP_FaceDetectResult
{
    int32_t school_id;
    int32_t st_id; // sensetime id
};
 
#pragma pack()
 
#endif