Skip to content

Commit 18b138e

Browse files
authored
Merge pull request machine-shop#47 from denniscfeng/grabcut-binarization-readme
Update readme
2 parents 365d519 + 55875bc commit 18b138e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The results are cached in `cachedir` so that if the same methods are re-run with
2626
* -s, --stage : The stage which to run the pipeline until. Must be one of `['ruler_detection', 'binarization', 'measurements']`. Pipeline runs to measurement stage by default (running to completion). Running the pipeline and stopping at an earlier stage can be useful for debugging.
2727
* -csv, --path_csv : Path of `.csv` file for the measurement results. (Default is `results.csv`).
2828
* -dpi : Optional argument to specify resolution of the output image. (Default is `300`.)
29+
* -g, --grabcut : Use OpenCV's grabcut method in order to improve binarization on blue butterflies.
2930

3031
## Example
3132
Example data can be found at [github.com/machine-shop/butterfly-wings-data](https://github.com/machine-shop/butterfly-wings-data). For this example, clone the repository alongside `butterfly-wings`.

0 commit comments

Comments
 (0)