Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SaradhaVenkatachalapathy authored Aug 26, 2021
1 parent 797150a commit 41e19a7
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,11 @@ To manually generate annotations, run the following.
```
$ python annotate_images.py --datadir <path/to/image/directory> --savedir <path/to/output/directory> --large_image <yes/no> --anno_img_depth <depth_of_annotated_image --downsize_factor <scaling_factor_for_large_images>
```
To correct existing annotations, run the following.
Perform segmentation(optional)
```
$ python perform_simple_segmentation.py --datadir <path/to/image/directory> --annodir <path/to/annoated/images> --userannodir <path/to/output/directory> --large_image <True/False> --anno_img_depth <depth_of_annotated_image --downsize_factor <scaling_factor_for_large_images>
```

To correct segmented labels, use the following.
To correct existing annotations, first perform segmentation(optional) and correct segmented labels.
```
$ python perform_simple_segmentation.py --datadir <path/to/image/directory> --savedir <path/to/output/directory>
$ python correct_annotation.py --datadir <path/to/image/directory> --annodir <path/to/annotated/image/directory> --userannodir <path/to/output/directory> --large_image <yes/no> --anno_img_depth <depth_of_annotated_image --downsize_factor <scaling_factor_for_large_images>
```

TO DO: add functions for model based instace segmentation


0 comments on commit 41e19a7

Please sign in to comment.