K
K
Koksmos2019-11-20 14:40:19
PHP
Koksmos, 2019-11-20 14:40:19

Is there a normal parser for bar or qr codes in PHP?

Subject. There is a task to parse a considerable amount of document scans, with barcodes applied (by us).
Scans can be of different formats, but mostly pdf. Initially, the choice fell on zbarimg (pdf works, it is possible to use it in php via exec (so it was acceptable and desirable to find a solution in php)). It copes with the generated documents perfectly well, but scans already recognize about half of the pages. There is an option to manually convert to png and feed 1 file to zbar, but this, you understand, is not comme il faut.
And so the question is, is it possible to somehow set up zbar to solve the problem (slip it a folder with png at a time, or specify the coordinates in pdf, where to look for our qr)? or is there any analogue, preferably in puff, but other options are possible. If anyone has experienced similar issues, any advice would be greatly appreciated, thanks.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
irishmann, 2019-11-20
@irishmann

khanamiryan/php-qrcode-detector-decoder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question