UNPKG

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.

16 lines (14 loc) 614 B
import { ImagePosition } from '../types/common.ts'; import { Region } from '../types/region-tools.ts'; import { AutosegConfig } from 'autoseg/webworker'; type ImageMaskProp = { regions: Region[]; regionClsList?: string[]; imageSrc: string | null; imagePosition: ImagePosition; zIndex?: number; hide?: boolean; autoSegmentationOptions?: Omit<AutosegConfig, "classNames">; }; export declare const ImageMask: ({ regions, regionClsList, imageSrc, imagePosition, zIndex, hide, autoSegmentationOptions, }: ImageMaskProp) => import("react/jsx-runtime").JSX.Element; export default ImageMask;