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.
18 lines (16 loc) • 782 B
TypeScript
import { ImagePosition } from '../types/common.ts';
import { KeypointsDefinition, Region } from '../types/region-tools.ts';
interface WrappedRegionListProps {
regions: Region[];
keypointDefinitions?: KeypointsDefinition;
iw: number;
ih: number;
}
export declare const WrappedRegionList: import('react').MemoExoticComponent<({ regions, keypointDefinitions, iw, ih }: WrappedRegionListProps) => import("react/jsx-runtime").JSX.Element[]>;
interface RegionShapesProps {
imagePosition: ImagePosition | null;
regions: Region[];
keypointDefinitions?: KeypointsDefinition;
}
export declare const RegionShapes: ({ imagePosition, regions, keypointDefinitions, }: RegionShapesProps) => import("react/jsx-runtime").JSX.Element | null;
export default RegionShapes;