quagga2
quagga2 copied to clipboard
design and implement a filter pre-processing system
I'm thinking something that will run an image through a filter, given something like:
readers: [upc, code39], filters: [invert, red]
pass the original image through upc reader, if fail, pass through code39 reader, if fail, pass through invert filter, then to upc reader, then to code39 reader, if fail, then pass through red filter to upc reader and code39 reader.
basically brute force our way through the list of filters into each reader, until we hit a match, or fail completely.
This is being implemented in PR #626 ... except it's a chain, rather than a "try this one, then try that one" .. i think i'm no longer planning the v2 API as a complete overhaul, so....