You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,7 @@
3
3
A synthetic data generator for text recognition
4
4
5
5
## What is it for?
6
+
6
7
Generating text image samples to train an OCR software. Now supporting non-latin text! For a more thorough tutorial see [the official documentation](https://textrecognitiondatagenerator.readthedocs.io/en/latest/index.html).
7
8
8
9
## What do I need to make it work?
@@ -21,6 +22,18 @@ tqdm
21
22
22
23
You can simply use `pip install -r requirements.txt` too.
23
24
25
+
## Docker image
26
+
27
+
If you would rather not have to install anything to use TextRecognitionDataGenerator, you can pull the docker image.
28
+
29
+
```
30
+
docker pull belval/trdg:latest
31
+
32
+
docker run /output/path/:/app/out/ -t belval/trdg:latest python3 run.py [args]
33
+
```
34
+
35
+
The path (`/output/path/`) must be absolute.
36
+
24
37
## New
25
38
- Add `--font` to use only one font for all the generated images (Thank you @JulienCoutault!)
26
39
- Add `--fit` and `--margins` for finer layout control
0 commit comments