react-visual-annotator
Version:
Powerful React image and video annotation tool for machine learning, computer vision, and AI training data creation. Features rotatable bounding boxes, polygons, keypoints, segmentation with TypeScript support and Material-UI components.
19 lines (18 loc) • 362 B
TypeScript
export interface ImagePosition {
topLeft: {
x: number;
y: number;
};
bottomRight: {
x: number;
y: number;
};
}
export interface IconSidebarItem {
name: string;
helperText: string;
alwaysShowing?: boolean;
selected?: boolean;
disabled?: boolean;
onClick?: (item: IconSidebarItem) => void;
}