Comments (3)
Added some tests for the most used functions. I'll leave the issue open until I satisfied with the coverage.
Current tests are:
- String from wikipedia random
- String from test file
- String from dictionnary
- Generate image with specified format (64)
- Generate image with specified extension (.png)
- Generate image with specified skewing (15)
- Generate image with specified blur (3)
- Generate gaussian background
- Generate plain white backgroung
from textrecognitiondatagenerator.
Hi,thanks a lot for your wonderful work, there are many excellent ideas in your codes.
Something confused me, may I have a question?
1,The results are only pictures, I wonder why a file with pictures` name and label are not given. I think they are important in a OCR Deep Learning project.
2, How can I generating Samples with Text in non-Latin (English) Scripts, like Chinese or Japanese.
I have read the programs(JarveeLee/SynthText_Chinese_version, gachiemchiep/SynthText),they are not so concise and easy to understand .
from textrecognitiondatagenerator.
I am glad that you like it!
-
The label of the image is in the filename. If the image contains "TEST", the image filename will be TEST_#.jpg. If you would rather have the labels in a file I suppose that could be arranged but I see the filename as a more user-friendly (and simple to understand) solution.
-
Excellent question. I never really spent time on it because it was not my usecase. If you believe this would be an interesting feature for you I can add it.
Also, this is the issue for tests, please see #4
from textrecognitiondatagenerator.
Related Issues (20)
- tibeten generating(ligature)issue HOT 1
- Different font for each character or each word?
- Good way to cover a wide range of different fonts
- TypeError: Image data of dtype object cannot be converted to float For Handwritten Generation
- Curve Text Generation: For Scene Text Images
- Pillow Version HOT 3
- Missing modules for handwritten text generation. HOT 1
- ModuleNotFoundError: Arabic Reshaper
- For the dictionary passed in by "--dict", I want the dictionary to produce only one image in order of each line
- Option for other image formats HOT 1
- Write the labels to separate files
- sentence length of generated image.
- Freely control the number of characters
- question about generate multiline text HOT 1
- Error Thai font not appear HOT 4
- absence of ground truth for the generated dataset
- fail installation of tensorflow in requirements-hw.txt
- spanish text image with acute accent getting wrong
- Pypi Version Not Up to Date
- Yanked arabic-reshaper 2.1.3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textrecognitiondatagenerator.