mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 11:06:32 +00:00
Initial commit
Made-with: Cursor
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user