Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download shared/eve_python/structs/EveAlgorithmStructs.py from LatticeSemi/sensAI-Generic-Object-Detection: direct link, hf CLI and curl.
- Browser
- Download file 307 Bytes
-
https://huggingface.co/spaces/LatticeSemi/sensAI-Generic-Object-Detection/resolve/main/shared/eve_python/structs/EveAlgorithmStructs.py
- Command line
-
hf download hf://spaces/LatticeSemi/sensAI-Generic-Object-Detection/shared/eve_python/structs/EveAlgorithmStructs.py
-
curl -L -o EveAlgorithmStructs.py https://huggingface.co/spaces/LatticeSemi/sensAI-Generic-Object-Detection/resolve/main/shared/eve_python/structs/EveAlgorithmStructs.py
307 Bytes
| import ctypes | |
| from ctypes_enum import CtypesEnum | |
| from .CAlgorithms import * | |
| from .EveErrors import * | |
| EVE_ALGORITHMS_SIZE = 20 | |
| class EveSupportedAlgorithms(ctypes.Structure): | |
| _fields_ = [ | |
| ("errorCode", ctypes.c_int), | |
| ("count", ctypes.c_uint), | |
| ("algorithms", ctypes.c_int * EVE_ALGORITHMS_SIZE), | |
| ] | |