File size: 696 Bytes
13170f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import ctypes
from ctypes_enum import CtypesEnum
from .CFaceIdStructs import *
from .EveControlOption import *
from .EveErrors import *


class EveFaceIdCalibrationPoseMode(CtypesEnum):
	EVE_FACEID_CALIBRATION_FRONTAL_ONLY = 1

class EveFaceIdCommandStruct(ctypes.Structure):
	_fields_ = [
		("command", ctypes.c_int),
		("errorCode", ctypes.c_int),
	]

class EveFaceIdOptions(ctypes.Structure):
	_fields_ = [
		("enabled", ctypes.c_int),
		("calibrationPoses", ctypes.c_int),
		("galleryPath", ctypes.c_byte * 256),
		("threshold", ctypes.c_float),
		("error", ctypes.c_int),
	]

class EveFaceIdData(ctypes.Structure):
	_fields_ = [
		("data", CFaceIdentityData),
		("error", ctypes.c_int),
	]