beaupreda's picture
Upload sensAI-Generic-Object-Detection with upload_repo.py
13170f7 verified
Raw
History Blame Contribute Delete
886 Bytes
import ctypes
from ctypes_enum import CtypesEnum
from .EveErrors import *
TIME_SOURCE_SIZE = 16
class EveTiming(ctypes.Structure):
_fields_ = [
("errorCode", ctypes.c_int),
("eveCameraImageAcquisitionTimepoint", ctypes.c_longlong),
("eveAlgorithmDuration", ctypes.c_longlong),
("time1", ctypes.c_longlong),
("time1Source", ctypes.c_byte * TIME_SOURCE_SIZE),
("time2", ctypes.c_longlong),
("time2Source", ctypes.c_byte * TIME_SOURCE_SIZE),
("time3", ctypes.c_longlong),
("time3Source", ctypes.c_byte * TIME_SOURCE_SIZE),
("time4", ctypes.c_longlong),
("time4Source", ctypes.c_byte * TIME_SOURCE_SIZE),
("time5", ctypes.c_longlong),
("time5Source", ctypes.c_byte * TIME_SOURCE_SIZE),
("time6", ctypes.c_longlong),
("time6Source", ctypes.c_byte * TIME_SOURCE_SIZE),
("time7", ctypes.c_longlong),
("time7Source", ctypes.c_byte * TIME_SOURCE_SIZE),
]