How can I OCR the text from specific regions of a screenshot, then output that to a usable format?

-1

1

I'm trying to automate logging of uh, ranked games in Street Fighter of all things - Yes, nerdy, I know. I have a spreadsheet

In that I manually put in the following for each ranked game:

  1. The opponent's username
  2. Their character
  3. Their points before the match
  4. My points before the match

This isn't a massive deal, but we're on Super User, right? Ideally I'd love to be able to take a screenshot of the screen that shows this information

Then have those details in some way automatically parsed via OCR, in a way that I can then use further down the line.. somehow. How can I go about doing this? I haven't a clue but I'm sure it's possible.

EmSixTeen

Posted 2020-01-20T13:56:01.567

Reputation: 99

Try to do the capturing manually first and run that image through OCR. Then, if you have a problem issues with the capturing or with the OCR or the conversion to a spreadsheet, you can post a question on that specific problem, mentioning what you have tried. – Eduardo Trápani – 2020-01-20T14:19:05.340

That's no help at all. That's exactly what I'm asking how to do - OCR text from specific portions of screenshots automatically, and output to a usable format. – EmSixTeen – 2020-01-20T14:28:06.303

The thing is, you are asking many different things at once, without providing any previous research. I was just trying to help you narrow down the problem. It is not clear if you don't know how to capture, do the OCR o postprocess the OCR output. Usually questions are about something specific and people show what they've tried. If you ask things that way, you will probably get answers, otherwise it is more difficult, because the somebody that could help you out with OCR does no necessarily know how to make an automatic screen capture. – Eduardo Trápani – 2020-01-20T14:32:25.143

1What spreadsheet software are you using? Have you checked the game publisher to see if they have a public API for this data? What have you tried so far? – Burgi – 2020-01-20T14:40:32.497

Of course I know how do take a screenshot Eduardo, there's one right there in the post, and it's clear that I want to process specific parts of those screenshots using OCR software, while being unaware of how to do so yet. That's what the entire post is about.

Burgi, hi! At the moment it's on Sheers, but Excel would be fine too - no real preference either way. While it'd be great if there were another way to get this info via an API or such, it's only available on this screen ingame (and in another place, also ingame). I've had a look at tesseract, Capture2Text and UiPath. – EmSixTeen – 2020-01-20T15:01:57.043

Answers

0

There are many utilities that do OCR. Below are some possibilities:

But you may find many others via Google.

harrymc

Posted 2020-01-20T13:56:01.567

Reputation: 306 093