Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 407 Bytes
13170f7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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),
]
|