GithubHelp home page GithubHelp logo

haoxia1 / textrecognitiondatagenerator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from belval/textrecognitiondatagenerator

0.0 0.0 0.0 512.4 MB

A synthetic data generator for text recognition

License: MIT License

Python 99.28% Dockerfile 0.72%

textrecognitiondatagenerator's Introduction

fork from link

生成100*num_char个字典为trdg/vocab_AND_zipin_AND_gbk_PLUS_gb2312.txt,ttf选自trdg/fonts/cn,背景选自trdg/images的字体

Inplement process:

two method:

  1. (5,5,5,5) 无裁剪 line 297
  2. (10,10,10,10) 裁剪(字更小); 为了命名一致,需要修改data_generator line 259 TODO str(index) += 80w-1

first: 设置run.py各参数 注释run.py line 503, 505 注释data_generator.py line 260 修改run.py line 297(5,5,5,5) 300(False) python run.py

second: 取消注释以上 修改run.py line 503 505 297(10,10,10,10) 300(True) 注释data_generator.py line 259 python run.py

总共2253403字符 2253403/(200*16802) = 67% label.txt是齐全的 图片由于某些ttf没有该字符只有67% out image已被移出

textrecognitiondatagenerator's People

Contributors

astrocket avatar bact avatar bakrianoo avatar belval avatar dc-chengchao avatar edwardpwtsoi avatar elahe-dastan avatar enzodtz avatar euihyun-lee avatar fhainzl avatar flming avatar gachiemchiep avatar haooxia avatar hendraet avatar hrazhan avatar ifeitao avatar iknoorjobs avatar jinmingteo avatar jtwsmeal avatar juliencoutault avatar junxnone avatar luangtatipsy avatar mohamadmansourx avatar nicolasmetallo avatar pyaephyokhant avatar rkcosmos avatar sunhaozhe avatar wangershi avatar yacobby avatar zhenglilei 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.