Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download shared/eve_python/structs/EveScreenLocationStructs.py from LatticeSemi/sensAI-Generic-Object-Detection: direct link, hf CLI and curl.
- Browser
- Download file 360 Bytes
-
https://huggingface.co/spaces/LatticeSemi/sensAI-Generic-Object-Detection/resolve/main/shared/eve_python/structs/EveScreenLocationStructs.py
- Command line
-
hf download hf://spaces/LatticeSemi/sensAI-Generic-Object-Detection/shared/eve_python/structs/EveScreenLocationStructs.py
-
curl -L -o EveScreenLocationStructs.py https://huggingface.co/spaces/LatticeSemi/sensAI-Generic-Object-Detection/resolve/main/shared/eve_python/structs/EveScreenLocationStructs.py
360 Bytes
| import ctypes | |
| from ctypes_enum import CtypesEnum | |
| from .CScreenLocation import * | |
| from .EveErrors import * | |
| class EveScreenLocationOptions(ctypes.Structure): | |
| _fields_ = [ | |
| ("topLeftX", ctypes.c_float), | |
| ("topLeftY", ctypes.c_float), | |
| ] | |
| class EveScreenLocationData(ctypes.Structure): | |
| _fields_ = [ | |
| ("data", CScreenLocation), | |
| ("error", ctypes.c_int), | |
| ] | |