GithubHelp home page GithubHelp logo

zbar-qrdecoder's People

Contributors

dudashuang avatar jtakakura avatar robbiepaul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

zbar-qrdecoder's Issues

zbarimg is not executing.

I tried my best to get it to work but it's not happening. Apparently, it cannot find java path while being explicitly given to it,.

getting Bad arguments while using the package

Controller

public function getDecode(){

        $image = Input::file('image');
        $name = $image->getClientOriginalName();
        $path = $image->getRealPath();

        $result = ZbarDecoder::make($image);
        echo $result; // Outputs the decoded text
        echo $result->format;


}

getting the coordinates of a barcode or QR code

Is it possible to get the coordinates of a scanned code? I want to remove the barcode / qr code from the image (actually, I want to crop the image so that the QR code is excluded, but I can do that once I have the coordinates.

Wrapper result returning additional "\n" at the end of return of QRCode.

Image of QR Code

Result should be "New Document"

Observed result: "New Document\n"

Suggestion:
Have zbarimg return back XML. Parse resulting XML, as the result is wrapped as:

$> zbarimg -q -D --xml qrcode.27486477.png

where qrcode.27486477.png, is supposed to be "Document Separator"

<barcodes xmlns='http://zbar.sourceforge.net/2008/barcode'>
  <source href='qrcode.27486477.png'>
    <index num='0'>
      <symbol type='QR-Code' quality='1'><data><![CDATA[Document Separator]]></data></symbol>
    </index>
  </source>
</barcodes>

Since the <![CDATA[ is collecting the actual string, we can use that. We cannot "trim", as sometime the QR may have the \n at the end, which may be needed.

Doesn't work with Symfony 4

When I tried to install the library via composer, I've got this error
robbiep/zbar-qrdecoder 2.x-dev requires symfony/process ^3.0
but I'm currently using symfony/process[v4.1.7], can you provide an update to work with this version of symfony?

Doesn't work with Symfony3

If your're using Symfony3, then composer won't install it, because of the requirements "symfony/process 2.*".

Should work with "symfony/process 3.*".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.