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.
7 lines (5 loc) • 708 B
TypeScript
import { default as Immutable, ImmutableObject } from 'seamless-immutable';
import { Action, MainLayoutState } from '../../MainLayout/types';
export declare const saveToHistory: <T extends Immutable.ImmutableObject<MainLayoutState>>(state: T, name: string) => Immutable.ImmutableObject<import('../../MainLayout/types').MainLayoutImageAnnotationState> | Immutable.ImmutableObject<import('../../MainLayout/types').MainLayoutVideoAnnotationState>;
declare const _default: (reducer: (state: ImmutableObject<MainLayoutState>, action: Action) => ImmutableObject<MainLayoutState>) => (state: ImmutableObject<MainLayoutState>, action: Action) => Immutable.ImmutableObject<MainLayoutState>;
export default _default;