Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Commit

Permalink
#7 : add contents in README.md & change example folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaru committed Nov 18, 2018
1 parent c2ad6e2 commit d1c845e
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 9 deletions.
37 changes: 28 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,39 @@ Support DataSet :
3. UDACITY Object Detection
4. KITTI 2D Object Detection


### Pre-Requiredment

```
pip3 install -r requirements.txt
```


### Required Parameters

each dataset requried some parameters

see example.py

1. Dataset Category
2. Image path
3. annotation path
4. output path
5. image type
6. manipast file path
7. class list file path(*.names)

1. Dataset Category
- like a COCO / VOC / UDACITY / KITTI
2. Image path
- it directory path. not file path
3. annotation path
- it directory path. not file path
4. output path
- it directory path. not file path
5. image type
- like a `*.png`, `*.jpg`
6. manipast file path
- it need train yolo model in [darknet framework](https://pjreddie.com/darknet/)
7. class list file path(*.names)
- it is `*.txt` file contain class name. reference [darknet `*.name` file](https://github.com/pjreddie/darknet/blob/master/data/voc.names)


### *.names file example
```
aeroplane
Expand All @@ -53,11 +66,17 @@ tvmonitor
```

### 1. example Code
```
```bash
python3 example.py --datasets [COCO/VOC/KITTI/UDACITY] --img_path <image_path> --label <label path or annotation file> --convert_output_path <output path> --img_type [".jpg" / ".png"] --manipast_path <output manipast file path> --cls_list_file <*.names file path>

>>
ex) python3 example.py --datasets KITTI --img_path ./example/kitti/images/ --label ./example/kitti/labels/ --convert_output_path ./ --img_type ".jpg" --manipast_path ./ --cls_list_file names.txt
```


### TODO

- [x] Support VOC Pascal Format
- [x] Support Udacity Format
- [x] Support COCO Format
Expand Down
File renamed without changes
File renamed without changes.
3 changes: 3 additions & 0 deletions example/kitti/names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Skigate
Skier
Person
1 change: 1 addition & 0 deletions example/voc/names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
M_50s

0 comments on commit d1c845e

Please sign in to comment.