Skip to content

rerender2021/ocr-2

Repository files navigation

build pack

Introduction

This is powered by Avernakis React & Paddle OCR. 😀

It supports Chinese and English out of box.

Install

Download it from Github Release.

Features

drag and drop to open

ocr-cn

ocr-en

paste from clipboard or file

  • Ctrl + V: paste image from clipboard or file

ocr-clipboard

ocr-file

copy text to clipboard

  • Ctrl + C: copy recognized text to clipboard

ocr-copy-text

Dev

> npm install
> npm run dev

This launches the frontend, we need backend to provide OCR API.

Download the paddle ocr server from PaddleocrAPI and place it at paddle-server.

project dir

Package

  1. build the frontend
> npm run release
  1. copy paddle-server to bin

bin dir

License

MIT