default
@fovea/annotation-tool / AnnotationOverlay / default
Function: default()
default(
props
):Element
Defined in: src/components/AnnotationOverlay.tsx:62
Parameters
props
AnnotationOverlayProps
Component props
Returns
Element
SVG overlay with interactive bounding boxes
Component
AnnotationOverlay
Description
SVG overlay component for video annotation. Handles drawing new bounding boxes, displaying existing annotations with keyframe support, and showing AI detection results. Supports two annotation modes: type assignment (persona-specific) and object linking (world entities/events/collections).
Example
<AnnotationOverlay
videoElement={videoRef.current}
currentTime={5.2}
videoWidth={1920}
videoHeight={1080}
detectionResults={detectionData}
/>