Initial commit

Made-with: Cursor
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-03-17 19:15:55 +02:00
commit 9e5b0f2cc2
26 changed files with 1646 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
cdef class Detection:
cdef public double x, y, w, h, confidence
cdef public str annotation_name
cdef public int cls
cdef public overlaps(self, Detection det2, float confidence_threshold)
cdef class Annotation:
cdef public str name
cdef public str original_media_name
cdef long time
cdef public list[Detection] detections
cdef public bytes image
cdef bytes serialize(self)