mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 22:26:33 +00:00
9e5b0f2cc2
Made-with: Cursor
37 lines
866 B
Cython
37 lines
866 B
Cython
cdef str CONFIG_FILE # Port for the zmq
|
|
|
|
cdef int QUEUE_MAXSIZE # Maximum size of the command queue
|
|
cdef str COMMANDS_QUEUE # Name of the commands queue in rabbit
|
|
cdef str ANNOTATIONS_QUEUE # Name of the annotations queue in rabbit
|
|
|
|
cdef str QUEUE_CONFIG_FILENAME # queue config filename to load from api
|
|
|
|
cdef str AI_ONNX_MODEL_FILE
|
|
|
|
cdef str CDN_CONFIG
|
|
cdef str MODELS_FOLDER
|
|
|
|
cdef int SMALL_SIZE_KB
|
|
|
|
cdef str SPLIT_SUFFIX
|
|
cdef double TILE_DUPLICATE_CONFIDENCE_THRESHOLD
|
|
cdef int METERS_IN_TILE
|
|
|
|
cdef log(str log_message)
|
|
cdef logerror(str error)
|
|
cdef format_time(int ms)
|
|
|
|
cdef dict[int, AnnotationClass] annotations_dict
|
|
|
|
cdef class AnnotationClass:
|
|
cdef public int id
|
|
cdef public str name
|
|
cdef public str color
|
|
cdef public int max_object_size_meters
|
|
|
|
cdef enum WeatherMode:
|
|
Norm = 0
|
|
Wint = 20
|
|
Night = 40
|
|
|