Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 825 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 33 34 35 36 | import ctypes
from ctypes_enum import CtypesEnum
from .CHandGesture import *
from .EveControlOption import *
from .EveErrors import *
class EveHandGestureOptions(ctypes.Structure):
_fields_ = [
("enabled", ctypes.c_int),
("redetectionDelay", ctypes.c_int),
("async", ctypes.c_int),
("run", ctypes.c_int),
("errorCode", ctypes.c_int),
]
class EveHandGestureData(ctypes.Structure):
_fields_ = [
("hands", ctypes.POINTER(EveHandDetections)),
("errorCode", ctypes.c_int),
]
class EveStaticGestureData(ctypes.Structure):
_fields_ = [
("gestures", EveStaticGestures),
("errorCode", ctypes.c_int),
]
class EveStaticGestureDefinitions(ctypes.Structure):
_fields_ = [
("count", ctypes.c_uint),
("errorCode", ctypes.c_int),
("definitions", EveStaticGestureDefinition * EVE_MAX_STATIC_GESTURES),
]
|