All Projects → jonathanpalma → React Native Tesseract Ocr

jonathanpalma / React Native Tesseract Ocr

Licence: mit
Tesseract OCR wrapper for React Native

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to React Native Tesseract Ocr

Image2text
📋 Python wrapper to grab text from images and save as text files using Tesseract Engine
Stars: ✭ 243 (-36.72%)
Mutual labels:  ocr, tesseract, tesseract-ocr, optical-character-recognition
doctr
docTR (Document Text Recognition) - a seamless, high-performing & accessible library for OCR-related tasks powered by Deep Learning.
Stars: ✭ 1,409 (+266.93%)
Mutual labels:  ocr, text-recognition, text-detection, optical-character-recognition
Tesseract4android
Fork of tess-two rewritten from scratch to support latest version of Tesseract OCR.
Stars: ✭ 148 (-61.46%)
Mutual labels:  ocr, tesseract, tesseract-ocr, optical-character-recognition
Awesome Ocr Resources
A collection of resources (including the papers and datasets) of OCR (Optical Character Recognition).
Stars: ✭ 335 (-12.76%)
Mutual labels:  text-detection, ocr, text-recognition
Adelaidet
AdelaiDet is an open source toolbox for multiple instance-level detection and recognition tasks.
Stars: ✭ 2,565 (+567.97%)
Mutual labels:  text-detection, ocr, text-recognition
Text Detection
Text detection with mainly MSER and SWT
Stars: ✭ 167 (-56.51%)
Mutual labels:  text-detection, ocr, tesseract-ocr
Tesseract
Bindings to Tesseract OCR engine for R
Stars: ✭ 192 (-50%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Ocr.pytorch
A pure pytorch implemented ocr project including text detection and recognition
Stars: ✭ 196 (-48.96%)
Mutual labels:  text-detection, ocr, text-recognition
Awesome Deep Text Detection Recognition
A curated list of resources for text detection/recognition (optical character recognition ) with deep learning methods.
Stars: ✭ 2,282 (+494.27%)
Mutual labels:  text-detection, ocr, text-recognition
NLP-image-to-text
code to extract text from images
Stars: ✭ 28 (-92.71%)
Mutual labels:  ocr, text-recognition, tesseract-ocr
IdCardRecognition
Android id card recognition based on OCR. 安卓基于OCR的身份证识别。
Stars: ✭ 35 (-90.89%)
Mutual labels:  ocr, tesseract, optical-character-recognition
Chineseaddress ocr
Photographing Chinese-Address OCR implemented using CTPN+CTC+Address Correction. 拍照文档中文地址文字识别。
Stars: ✭ 309 (-19.53%)
Mutual labels:  text-detection, ocr, text-recognition
Image Text Localization Recognition
A general list of resources to image text localization and recognition 场景文本位置感知与识别的论文资源与实现合集 シーンテキストの位置認識と識別のための論文リソースの要約
Stars: ✭ 788 (+105.21%)
Mutual labels:  text-detection, ocr, text-recognition
Ccextractor
CCExtractor - Official version maintained by the core team
Stars: ✭ 356 (-7.29%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Nkocr
🔎📝 This is a module to make specifics OCRs at food products and nutritional tables.
Stars: ✭ 15 (-96.09%)
Mutual labels:  ocr, tesseract, tesseract-ocr
breach-protocol-autosolver
Solve breach protocol minigame in second(s). Windows/Linux/GeForce Now/Google Stadia. Every language.
Stars: ✭ 28 (-92.71%)
Mutual labels:  ocr, tesseract, tesseract-ocr
Megreader
A research project for text detection and recognition using PyTorch 1.2.
Stars: ✭ 332 (-13.54%)
Mutual labels:  text-detection, ocr, text-recognition
Tesseract Ocr For Php
A wrapper to work with Tesseract OCR inside PHP.
Stars: ✭ 2,247 (+485.16%)
Mutual labels:  ocr, tesseract, text-recognition
Android Ocr
Experimental optical character recognition app
Stars: ✭ 2,177 (+466.93%)
Mutual labels:  ocr, tesseract, optical-character-recognition
How-to-use-tesseract-ocr-4.0-with-csharp
How to use Tesseract OCR 4.0 with C#
Stars: ✭ 60 (-84.37%)
Mutual labels:  ocr, tesseract, tesseract-ocr

react-native-tesseract-ocr 👀

react-native-tesseract-ocr is a react-native wrapper for Tesseract OCR

Version Install Size Downloads PRs Welcome Commitizen friendly MIT License

All Contributors

Watch on GitHub Star on GitHub Tweet

This project uses:

NOTE: It is recommended to use react-native >= 0.60.0

Getting started

$ npm i react-native-tesseract-ocr --save

Mostly automatic installation

$ react-native link react-native-tesseract-ocr

Example

Showcase Android using Picker Showcase Android using Camera

Check the example by yourself here

Usage

tessOptions

Property Type Description
allowlist string List of characters you want to recognize
denylist string List of characters you DON'T want to recognize
level Level Level of the tokens of the page hierarchy (only used in recognizeTokens)

Level can be one of the following values 'symbol' | 'block' | 'line' | 'paragraph' | 'word'

recognize

import TesseractOcr, { LANG_ENGLISH } from 'react-native-tesseract-ocr';

const tessOptions = {};
TesseractOcr.recognize(imageSource, LANG_ENGLISH, tessOptions);

recognizeTokens

import TesseractOcr, { LANG_ENGLISH, LEVEL_WORD } from 'react-native-tesseract-ocr';

const tessOptions = { level: LEVEL_WORD };
TesseractOcr.recognizeTokens(imageSource, LANG_ENGLISH, tessOptions);

useEventListener

import React, { useState } from 'react';
import { useEventListener } from 'react-native-tesseract-ocr';

function App() {
  const [progress, setProgress] = useState(0);
  useEventListener('onProgressChange', (p) => {
    setProgress(p.percent / 100);
  });

  // return ...
}

Contributing

How to contribute?

This is a commitizen friendly repository, so instead of creating commits using git commit, please use our custom CLI by running:

$ npm run cz

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Jonathan Palma

💻 📖 💡

Johan Runsten

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © jonathanpalma

This library wouldn't be possible without these amazing projects:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].