Whitelisting and Blacklisting Characters with Tesseract and ...
www.pyimagesearch.com › 2021/09/06 › whitelistingSep 06, 2021 · $ python whitelist_blacklist.py --image invoice.png \ --whitelist "123456789.-" --blacklist "0" 1785439 22-4-8 22-5-8 21.7 Here, we are whitelisting digits, periods, and dashes, while at the same time blacklisting the digit 0 , and as our output shows, we have the invoice number, issue date, due date, and price, but with all occurrences of 0 ...
Whitelisting and Blacklisting Characters with Tesseract ...
https://www.pyimagesearch.com/2021/09/06/whitelisting-and-blacklisting-characters-with...06.09.2021 · $ python whitelist_blacklist.py --image invoice.png \ --whitelist "123456789.-" --blacklist "0" 1785439 22-4-8 22-5-8 21.7 Here, we are whitelisting digits, periods, and dashes, while at the same time blacklisting the digit 0 , and as our output shows, we have the invoice number, issue date, due date, and price, but with all occurrences of 0 , ignored due to the blacklist.