How to do real time ocr accurately?

i was trying to make a reinforcement learning agent that can learn to aim and shoot in an online shooting arena, i wanted to extract the score card from the game window for the reward function. i have been using tesseract ocr but it is continously failing to detect digits accurately it detects 1 as l ,7 as / ,3 as B and sometimes some other symbol for the same number. i have spent much times in preprocessing the frames but the ocr model seems to perform worse.