Ever wanted to find checkboxes in a document? Of course you have.
python check_finder.py <file_name> <check_type> <percentage_for_filled>
all
: Displays all the checkboxes found as outputempty
: Only displays the empty checkboxes as outputfilled
: Only displays the filled checkboxes as output
The percentage required of non white pixels for the check to be considered filled
.
python check_finder.py ./test_images/manyboxes.png filled 25%