F
F
fergios2020-07-10 11:12:03
Python
fergios, 2020-07-10 11:12:03

Reading data from a webcam in Python?

Hello. I know Python at the beginner level, I studied superficially for myself and used it for small calculations through if else (this was quite enough for me).

I do not quite understand the possibilities of the language, so I came here. Yes, not to waste time, in which case, on deepening into the language.

There is a monitor with information, there is a second computer with a good camera.
The goal is to read and immediately analyze information from the monitor via a webcam and give the result.
Information is numbers, the main task is to count them as quickly as possible + you need to determine the color, it will be yellow and blue.
I must say right away that you can’t connect to the monitor (that is, to the computer to which the monitor is connected), so I want to use the webcam.

The questions themselves:
1. Is it real and is this language relevant for this?
2. In which direction to dig with my goals, please give me ideas?

Thanks to.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
Hcuy, 2020-07-10
@Hcuy

Try the tesseract, if it doesn’t work, then neural networks can be implemented using tensorflow.

S
Sergey Pankov, 2020-07-10
@trapwalker

Have you considered video capture devices to connect instead of a monitor?
Available for all interfaces: hdmi, dvi, vga.
There are also KVM devices that connect, among other things, instead of a monitor and fumble a picture from it via ethernet
If you need to recognize only a few fields in the camera's visibility area, then I would advise you to search the Internet for examples of capturing and processing photos / videos from a camera using opencv
Camera in front of the monitor, you will probably stand in the optimal perspective, but even if not, using opencv it is quite possible to crop, equalize the perspective, clear glare and separate the necessary sections of the image from the camera.
When the fields remain, the same opencv can be broken into characters and recognized character by character. Although for sure there are a large number of OCR solutions in the form of ready-made 1 libraries.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question