quagga2 icon indicating copy to clipboard operation
quagga2 copied to clipboard

design and implement a filter pre-processing system

Open ericblade opened this issue 3 years ago • 1 comments

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.

ericblade avatar Aug 24 '22 18:08 ericblade

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....

ericblade avatar Dec 02 '25 00:12 ericblade