How to extract only numbers without unwanted objects from image?
I'm trying to recognize number from image using Pytesseract. So far I was able to process image like in this examples.
Example 1
Original image -> Processed image
Example 2
Original image -> Processed image
I would like to extract only numbers without unwanted objects and rotate it to improve accuracy. Do you have any ideas how I can do it?