I'm using ML Kit for Firebase for my Android app (ReCalc: Receipt Calculator) and it performs very well except in the case of slashed zero. In around half or more of the cases it recognizes slashed zero as eight.
One idea I have is to slice the rectangle containing the zero in regions and detect whether the regions just above and below the middle are dark or not. But actually...
I'm planning to train a model to classify zeroes and eights.
This is a lot of work thus I decided first to ask here for another solution/idea.
Here is an example:
Similar question: Tesseract OCR confuses slashed 0 as 8