Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download shared/eve_python/structs/EveHandGestureStructs.py from LatticeSemi/sensAI-Generic-Object-Detection: direct link, hf CLI and curl.
- Browser
- Download file 825 Bytes
-
https://huggingface.co/spaces/LatticeSemi/sensAI-Generic-Object-Detection/resolve/main/shared/eve_python/structs/EveHandGestureStructs.py
- Command line
-
hf download hf://spaces/LatticeSemi/sensAI-Generic-Object-Detection/shared/eve_python/structs/EveHandGestureStructs.py
-
curl -L -o EveHandGestureStructs.py https://huggingface.co/spaces/LatticeSemi/sensAI-Generic-Object-Detection/resolve/main/shared/eve_python/structs/EveHandGestureStructs.py
825 Bytes
| 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), | |
| ] | |