PHP Classes
elePHPant
Icontem

Bar code read code in PHP: Bar code reader code in PHP using computer camera

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  All requests RSS feed  >  Bar code read code in PHP  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Bar code read code in PHP

A request is featured when there is no good recommended package on the site when it is posted. Edit

Picture of Upul Suresh by Upul Suresh - 2 months ago (2015-12-03)

Bar code reader code in PHP using computer camera

This request is clear and relevant.
This request is not clear or is not relevant.

+2

Can I get bar code reader code in PHP using computer camera or smart phone camera?

  • 3 Clarification requests
  • 3. Picture of Larry Wakeman by Larry Wakeman - 2 months ago (2015-12-04) Reply

    Actually, most bar-code readers are what is known as a wedge reader, placed between a terminal and the terminal port on the computer (I am that old). They take the bar-code and convert it to a printable ASCII string. The user would put focus on the text box and swipe. Some conversion is nice but a JavaScript decoder would be nice (or AJAX to a php routine to decode it). I use a Cue-Cat that was created by Radio Shack and still available on e-bay and the like though I got mine with the Readerware application. I have seen documentation on the web about how to decode the string.

    • 2. Picture of Manuel Lemos by Manuel Lemos - 2 months ago (2015-12-04) Reply

      I don't know of a pure PHP class to do that. In general you need to scan the image in the browser side with JavaScript. Then you need to scan the image and decode it.

      There is a JavaScript solution in JSClasses for scanning an image and decoding the barcode.

      I guess at least the part of decoding could be ported to PHP to be done on the server side.

      • 4. Picture of Dave Smith by Dave Smith - 2 months ago (2015-12-05) in reply to comment 2 by Manuel Lemos Comment

        That is an interesting script. If it actually works then the requester should just forget about php and implement the jquery solution.

    • 1. Picture of Dave Smith by Dave Smith - 2 months ago (2015-12-03) Reply

      There is a php extension available at github.com/mkoppanen/php-zbarcode

      There is currently a featured request here from several months ago for a reader which does not look like any interest has been taken on it. I am not sure how it would be done purely in a class, so it looks like only the extension is available.

      Ask clarification

      Recommend package
      : 
      :