Skip to content

Commit 4d1f9b3

Browse files
authored
Update README.md
1 parent 04aace1 commit 4d1f9b3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

CharClassification/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
## Character Classification (of Synthetic Dataset) using Keras (CNN)
22

3-
**Step-1:**
3+
**Step 1:**
44

55
Download backgrounds and put the light and dark backgrounds separately. We'll be using them for creating synthetic dataset. We have uploaded sample backgrounds in light_backgrounds and dark_backgrounds for reference.
66

7-
**Step-2:**
7+
**Step 2:**
88

99
Download fonts from [here](https://fonts.google.com/). These fonts will be used for randomly selected font-type while creating synthetic dataset.
1010

11-
**Step-3:**
11+
**Step 3:**
1212

1313
Create synthetic data using ImageMagick. We have given an intuition behind creating synthetic data, in our blog. This can be done with following command:
1414

1515
`python3 generate-images.py`
1616

17-
**Step-4:**
17+
**Step 4:**
1818

1919
Training the model on the given dataset. A modified LeNet structure has been used to train our model, using Keras. This can be done with following command:
2020

2121
`python3 train_model.py`
2222

23-
**Step-5:**
23+
**Step 5:**
2424

2525
In order to predict the digit or character in an image, execute the following command. Give the test image path as the argument.
2626

0 commit comments

Comments
 (0)