Reading a barcode from a webcam in a PHP web application

Want to add the following function to my web application: To decode the barcodes created by this script . with a webcam and use values ​​in a PHP web application.

Is it possible? if so, how?

+5
source share
2 answers

Not with PHP, seeing that this is the server side. But you can accomplish this with java, javascript or some other client languages.

javascript (jQuery) webcam plugin

http://www.xarg.org/project/jquery-webcam-plugin/

EDIT - how to do this is to take a snapshot using javascript and then send it back to the server for decoding using PHP.

http://www.inliteresearch.com/homepage/support/kb_programming.html

+3

, - , Javascript:

https://serratus.imtqy.com/quaggaJS/

-, , . , Javascript PHP AJAX .

+1

All Articles