epic_kitchens.hoa.visualisation¶
Tools for visualising hand-object detections
Module Contents¶
Classes¶
A class to render hand-object annotations onto the corresponding image |
-
class
epic_kitchens.hoa.visualisation.DetectionRenderer(hand_threshold: float = 0.8, object_threshold: float = 0.01, only_interacted_objects: bool = True, font_size=20, border=4, text_padding=4)¶ A class to render hand-object annotations onto the corresponding image
-
render_detections(self, frame: PIL.Image.Image, detections: epic_kitchens.hoa.types.FrameDetections) → PIL.Image.Image¶ - Parameters
frame – Frame to annotate with hand and object detections
detections – Detections for the current frame
- Returns
A copy of
frameannotated with the detections fromdetections.
-