All Projects → s3nh → Text Detector

s3nh / Text Detector

Tool which allow you to detect and translate text.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Text Detector

Deep Text Recognition Benchmark
Text recognition (optical character recognition) with deep learning methods.
Stars: ✭ 2,665 (+1440.46%)
Mutual labels:  recognition, crnn, ocr-recognition, text-recognition
Word-recognition-EmbedNet-CAB
Code implementation for our ICPR, 2020 paper titled "Improving Word Recognition using Multiple Hypotheses and Deep Embeddings"
Stars: ✭ 19 (-89.02%)
Mutual labels:  recognition, text-recognition, ocr-recognition
craft-text-detector
Packaged, Pytorch-based, easy to use, cross-platform version of the CRAFT text detector
Stars: ✭ 151 (-12.72%)
Mutual labels:  text, craft
Meta-SelfLearning
Meta Self-learning for Multi-Source Domain Adaptation: A Benchmark
Stars: ✭ 157 (-9.25%)
Mutual labels:  text-recognition, ocr-recognition
Artificial Adversary
🗣️ Tool to generate adversarial text examples and test machine learning models against them
Stars: ✭ 348 (+101.16%)
Mutual labels:  text, text-processing
insightocr
MXNet OCR implementation. Including text recognition and detection.
Stars: ✭ 100 (-42.2%)
Mutual labels:  text-recognition, crnn
stringx
Drop-in replacements for base R string functions powered by stringi
Stars: ✭ 14 (-91.91%)
Mutual labels:  text, text-processing
Vedastr
A scene text recognition toolbox based on PyTorch
Stars: ✭ 290 (+67.63%)
Mutual labels:  ocr-recognition, text-recognition
ConTexto
Librería en Python para minería de texto y NLP
Stars: ✭ 43 (-75.14%)
Mutual labels:  text, text-processing
Tika Python
Tika-Python is a Python binding to the Apache Tika™ REST services allowing Tika to be called natively in the Python community.
Stars: ✭ 997 (+476.3%)
Mutual labels:  recognition, text-recognition
Tr
Free Offline OCR 离线的中文文本检测+识别SDK
Stars: ✭ 598 (+245.66%)
Mutual labels:  crnn, text-recognition
Crnn With Stn
implement CRNN in Keras with Spatial Transformer Network
Stars: ✭ 83 (-52.02%)
Mutual labels:  crnn, text-recognition
nimtesseract
A Tesseract OCR wrapper for Nim
Stars: ✭ 23 (-86.71%)
Mutual labels:  text, ocr-recognition
EverTranslator
Translate text anytime and everywhere, even you are gaming!
Stars: ✭ 59 (-65.9%)
Mutual labels:  text-recognition, ocr-recognition
crnn.caffe
crnn.caffe
Stars: ✭ 76 (-56.07%)
Mutual labels:  ocr-recognition, crnn
Cortex License Plate Reader Client
A client to connect to cortex-provisioned infrastructure on AWS to do license plate identification in real time.
Stars: ✭ 268 (+54.91%)
Mutual labels:  craft, crnn
Textrecognitiondatagenerator
A synthetic data generator for text recognition
Stars: ✭ 2,075 (+1099.42%)
Mutual labels:  text, text-recognition
compv
Insanely fast Open Source Computer Vision library for ARM and x86 devices (Up to #50 times faster than OpenCV)
Stars: ✭ 155 (-10.4%)
Mutual labels:  text-recognition, ocr-recognition
Attention Ocr Chinese Version
Attention OCR Based On Tensorflow
Stars: ✭ 421 (+143.35%)
Mutual labels:  crnn, text-recognition
Sightseq
Computer vision tools for fairseq, containing PyTorch implementation of text recognition and object detection
Stars: ✭ 116 (-32.95%)
Mutual labels:  crnn, text-recognition

travis build

Text detection and recognition

This repository contains tool which allow to detect region with text and translate it one by one.

Description

Two pretrained neural networks are used. One of them is responsible for detecting places in which text appear and return its coordinates. Structure use for this operation is based on CRAFT architecture.

Second network take detected words and recognize words included inside it. Convolutional Recurrential neural networks (CRNN) are used for this operation.

Example

Under construction

Deployment

I decided to deploy it on heroku (temporarily solution), but the amount of memory available on this platform is not enough. You can check it on heroku app. I decided to add bootstrap template because whole solution become more intuitive.

Windows Installation

To install it locally, you can run from your virtual env

python -m pip install requirements.txt

Linux installation

to install it properly on Linux OS you have to install additionaly


apt-get update
apt-get install -y libsm6 libxext6 libxrender-dev
pip install opencv-python

If problems with cv2 imports are still appearing then you should install

pip install opencv-contrib-python

Then you can run

```python
python -m pip install requirements.txt

Run

To run it locally, please activate your environment

> win
venv\Scripts\activate.bat

>linux
source venv\Scripts\activate

and run straight from project origin

python  app.py

If everything goes properly, you'll see on localhost:8000, screen just like one below.

screen

Updates

I decided to remove argparse, because as I mention earlier, it was less intuitive. Solution is not fast, is more like an toy example which shows how to use Pytorch model on deployment environment.

Version which I use here contain torch-cpu which make preprocessing and detecting slightly slower. I test it on cuda and it was much faster.

If you have more information, drop me a line If you like it, give a star

Draft: Show how does it work on complex .tif example document.

Contact Info

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].