Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download shared/eve_python/structs/CVisualSpeechStructs.py from LatticeSemi/sensAI-Generic-Object-Detection: direct link, hf CLI and curl.
- Browser
- Download file 407 Bytes
-
https://huggingface.co/spaces/LatticeSemi/sensAI-Generic-Object-Detection/resolve/main/shared/eve_python/structs/CVisualSpeechStructs.py
- Command line
-
hf download hf://spaces/LatticeSemi/sensAI-Generic-Object-Detection/shared/eve_python/structs/CVisualSpeechStructs.py
-
curl -L -o CVisualSpeechStructs.py https://huggingface.co/spaces/LatticeSemi/sensAI-Generic-Object-Detection/resolve/main/shared/eve_python/structs/CVisualSpeechStructs.py
407 Bytes
| import ctypes | |
| from ctypes_enum import CtypesEnum | |
| from .EveProcessingStatus import * | |
| class EveVisualSpeechState(CtypesEnum): | |
| EVE_NOT_SET = 0 | |
| EVE_NOT_SPEAKING = 1 | |
| EVE_SPEAKING = 2 | |
| class CVisualSpeechData(ctypes.Structure): | |
| _fields_ = [ | |
| ("processingStatus", ctypes.c_int), | |
| ("speechState", ctypes.c_int), | |
| ("notSpeakingProbability", ctypes.c_double), | |
| ("speakingProbability", ctypes.c_double), | |
| ] | |