mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 09:46:30 +00:00
62623b7123
rewrite zmq to DEALER and ROUTER add GET_USER command to get CurrentUser from Python all auth is on the python side inference run and validate annotations on python
11 lines
231 B
Cython
11 lines
231 B
Cython
cdef class Detection:
|
|
cdef public double x, y, w, h, confidence
|
|
cdef public int cls
|
|
|
|
cdef class Annotation:
|
|
cdef bytes image
|
|
cdef long time
|
|
cdef public list[Detection] detections
|
|
cdef bytes serialize(self)
|
|
|