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.

8 lines (6 loc) 577 B
import { EffectCallback } from 'react'; declare const isKeyFromGivenList: (keyCode: number, allowedKeys?: Array<string | number>) => boolean; declare const onKeyPress: (currentKeyCode: number, callback: (currentKeyCode: number, event: Event) => unknown, allowedKeys: Array<string | number>, event: Event) => ReturnType<EffectCallback>; declare function getAsciiCode(event: Event): number; declare function convertToAsciiEquivalent(inputArray: Array<string | number>): Array<string | number>; export { isKeyFromGivenList, onKeyPress, convertToAsciiEquivalent, getAsciiCode, };