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) 586 B
import { ReactNode } from 'react'; interface SettingsValue { showCrosshairs: boolean; showHighlightBox: boolean; wasdMode: boolean; videoPlaybackSpeed?: string; changeSetting: (setting: keyof Omit<SettingsValue, "changeSetting">, value: any) => void; } export declare const SettingsContext: import('react').Context<Partial<SettingsValue>>; export declare const useSettings: () => Partial<SettingsValue>; export declare const SettingsProvider: ({ children }: { children: ReactNode; }) => import("react/jsx-runtime").JSX.Element; export default SettingsProvider;