Skip to content

Commit 1b7dad7

Browse files
committed
Changes in README to include sizeChecker.py as optional part after labeling pictures
1 parent 2f8fb51 commit 1b7dad7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ Download and install LabelImg, point it to your \images\train directory, and the
196196

197197
LabelImg saves a .xml file containing the label data for each image. These .xml files will be used to generate TFRecords, which are one of the inputs to the TensorFlow trainer. Once you have labeled and saved each image, there will be one .xml file for each image in the \test and \train directories.
198198

199+
Also, you can check if the size of each bounding box is correct by running sizeChecker.py
200+
201+
```
202+
(tensorflow1) C:\tensorflow1\models\research\object_detection> python sizeChecker.py --move
203+
```
204+
199205
### 4. Generate Training Data
200206
With the images labeled, it’s time to generate the TFRecords that serve as input data to the TensorFlow training model. This tutorial uses the xml_to_csv.py and generate_tfrecord.py scripts from [Dat Tran’s Raccoon Detector dataset](https://github.com/datitran/raccoon_dataset), with some slight modifications to work with our directory structure.
201207

0 commit comments

Comments
 (0)