blob: abc4a473b9c7d3230af126e58132a266f26fc7b6 (
plain)
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
|
//
// Definitions for the Shared Memory to send the data to FaceTrackNoIR
//
static const char* SM_MM_DATA = "SM_SharedMem";
static const char* SM_FACEAPI = "SM_FaceAPI";
static const char* SM_MUTEX = "SM_Mutex";
#include "sm_api.h"
struct TFaceData {
int DataID;
smEngineHeadPoseData new_pose;
};
typedef TFaceData * PFaceData;
struct SMMemMap {
int command; // Command from FaceTrackNoIR
int status; // Status from faceAPI
TFaceData data;
HANDLE handle;
};
typedef SMMemMap * PSMMemMap;
enum FTNoIR_Tracker_Command {
FT_SM_START = 10,
FT_SM_STOP = 20,
FT_SM_EXIT = 100
};
|