Extract data from a scoreboard

asked 2020-08-20 08:48:57 -0600

comdie gravatar image

updated 2020-08-20 09:17:50 -0600

Hi all, It's the first time that I use OpenCV and I need to understand if this is the right technology to do this thing. I want to extract some data from this scoreboard: scoreboard

In particular I need the players name and their score (for example 6,0 - H.Son).

The first thing that I've tried to do is to recognize the t-shirt to execute an OCR on a part of image and extract name and score. To do this I've used template matching (this) but unfortunately it doesn't works very well when the t-shirts change (the shape is always the same but the colors and the logos inside them can change, however I have the entire dataset of t-shirts, around 1000).

Do you have any techniques or tutorial to recommend to solve this problem and identify score and names near the t-shirt in a good way? At the moment I'm using Python

edit retag flag offensive close merge delete

Comments

what is your programming language? could you share what you tried so far.

sturkmen gravatar imagesturkmen ( 2020-08-20 09:04:48 -0600 )edit

I'm programming in Python. For now I've tried to use template matching as described here with poor results and now I'm trying the Cascade Classifier because I have th the dataset of all t-shirt (around 1000) with the same shape and different colors but I don't know if this could be a little overkill in my case.

comdie gravatar imagecomdie ( 2020-08-20 09:16:12 -0600 )edit

In template, one t-shirts matched all players. The logo is on front, but doesn't have a names on it. Merely, names and number is on back of t-shirt.

supra56 gravatar imagesupra56 ( 2020-08-22 07:15:25 -0600 )edit

It's true, but the color and logo inside the shirt can change according to the team and the template matching doesn't work well in this case (at least the one in the example I tested)

comdie gravatar imagecomdie ( 2020-08-24 15:27:13 -0600 )edit