react-ocr-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.3.3-beta.2 • Public • Published

基于 React 开发的 OCR 插件

使用方法

  1. 安装
yarn add react-ocr-plugin
npm install react-ocr-plugin
  1. 使用
// 样式引入
import 'react-ocr-plugin/lib/assets/index.css';
import { OCREditor, OCRViewer } from 'react-ocr-plugin'


function Demo() {
  return <OCREditor
  fileData={...}
  ocrData={...}
  env={getEditorConf()}
  isLoading={isKvaLoad}
  doAction={onEditorAction}
/>
}

Readme

Keywords

none

Package Sidebar

Install

npm i react-ocr-plugin

Weekly Downloads

3

Version

1.3.3-beta.2

License

none

Unpacked Size

2.67 MB

Total Files

25

Last publish

Collaborators

  • lengxx