The rolls on the substats of equipments on the enhancement page will shift left upon enhancement of equipment. This causes the OCR to read the orange text as well such as in the screenshot.
Possible fixes
Tune grayscaling and binarization/black white conversion to exclude orange text
Make another function that detects extra numbers and only takes the leftmost stat, this might not be feasible as flat stat rolls might be combined by the OCR as seen in the screenshot.
Summary
The rolls on the substats of equipments on the enhancement page will shift left upon enhancement of equipment. This causes the OCR to read the orange text as well such as in the screenshot.
Possible fixes
Screenshots