Giter VIP home page Giter VIP logo

synthetic_data_engine_for_text_recognition's Introduction

Synthetic_Data_Engine_For_Text_Recognition

This repository contains code for Max Jaderberg's Text Renderer (https://arxiv.org/pdf/1406.2227.pdf) for generating synthetic cropped text images which can be used to train text recognition models like CRNN (https://arxiv.org/pdf/1507.05717.pdf) (https://github.com/bgshih/crnn)

Dependencies(Successfully tested on Ubuntu 14.04 LTS)

  • Anaconda Python 2.7
    https://www.continuum.io/downloads

  • Opencv 3.1
    conda install -c menpo opencv3=3.1.0

  • Pygame
    conda install -c cogsci pygame

  • LMDB
    conda install -c conda-forge python-lmdb

To Run the Code :

  • Change the paths in these files
    • Synthetic_Data_Engine_For_Text_Recognition/SVT/font_path_list.txt
    • Synthetic_Data_Engine_For_Text_Recognition/SVT/icdar_2003_train.txt
    • Synthetic_Data_Engine_For_Text_Recognition/SVT/svt.txt
    • Synthetic_Data_Engine_For_Text_Recognition/text_renderer/generate_word_training_data.py
  • cd Synthetic_Data_Engine_For_Text_Recognition/text_renderer/
  • python generate_word_training_data.py (This code would generate the images and the lmdb files for training text recognition models like CRNN)

Examples

Sample1 Sample2 Sample3 Sample4 Sample5

synthetic_data_engine_for_text_recognition's People

Watchers

 avatar paper2code - bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.