epic_kitchens.masks.types

Module Contents

Classes

BBox
ObjectDetection
FrameObjectDetections
class epic_kitchens.masks.types.BBox
left :float
top :float
right :float
bottom :float
static from_protobuf(bbox: pb.BBox)
to_protobuf(self)
class epic_kitchens.masks.types.ObjectDetection
bbox :BBox
score :float
pred_class :int
mask :np.ndarray
static from_protobuf(detection: pb.ObjectDetection)
to_protobuf(self)
class epic_kitchens.masks.types.FrameObjectDetections
video_id :str
frame_number :int
objects :List[ObjectDetection]
static from_protobuf(video_id: str, frame_detections: pb.FrameObjectDetections)
static from_protobuf_str(video_id: str, pb_str: bytes)
to_protobuf(self)