Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download shared/eve_python/structs/EveFpgaStructs.py from LatticeSemi/sensAI-Generic-Object-Detection: direct link, hf CLI and curl.
- Browser
- Download file 475 Bytes
-
https://huggingface.co/spaces/LatticeSemi/sensAI-Generic-Object-Detection/resolve/main/shared/eve_python/structs/EveFpgaStructs.py
- Command line
-
hf download hf://spaces/LatticeSemi/sensAI-Generic-Object-Detection/shared/eve_python/structs/EveFpgaStructs.py
-
curl -L -o EveFpgaStructs.py https://huggingface.co/spaces/LatticeSemi/sensAI-Generic-Object-Detection/resolve/main/shared/eve_python/structs/EveFpgaStructs.py
475 Bytes
| import ctypes | |
| from ctypes_enum import CtypesEnum | |
| from .CFpgaData import * | |
| from .EveErrors import * | |
| class EveFpgaOptions(ctypes.Structure): | |
| _fields_ = [ | |
| ("parameters", CFpgaParameters), | |
| ("error", ctypes.c_int), | |
| ] | |
| class EveFpgaDebugOptions(ctypes.Structure): | |
| _fields_ = [ | |
| ("enableDrawingOnImage", ctypes.c_uint), | |
| ("error", ctypes.c_int), | |
| ] | |
| class EveFpgaData(ctypes.Structure): | |
| _fields_ = [ | |
| ("data", ctypes.POINTER(CFpgaData)), | |
| ("error", ctypes.c_int), | |
| ] | |