Z
Z
zdiii2015-03-30 23:08:29
PHP
zdiii, 2015-03-30 23:08:29

How to recognize multithreaded QR codes?

Imagine that this is a conveyor that
8e2c393f83d733b2393f886efc06d7c5.gif
needs to recognize all qr-codes.
Where to "dig"?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Abramov, 2015-03-30
@kivsiak

In the direction of opencv and its bindings to python.

D
DISaccount, 2015-04-01
@DISaccount

The task simply boils down to determining all the minimum circumscribing rectangles (MBR - in bourgeois).
The scanning thread (the one that finds the MBRs) can only be done one at a time. splitting the image into several parts is dangerous - you can split the QR code into different parts. And there it is not the most pleasant thing to synchronize all this between threads. Further, after determining the MBR, you throw it into the thread pool for processing. If the task is exactly the same as in the image, then some line-by-line scanning algorithm is great for searching for the MBR. Well, they already said above - OpenCV for starters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question