ChenjieXu / pyzxing

Python wrapper of ZXing Java library, making qrcode decoding super easy!
MIT License
158 stars 24 forks source link

Is there a way to get the result points at the moment? #13

Closed xLEpEX closed 3 years ago

xLEpEX commented 3 years ago

I'm not sure if I'm worng, but is there a reason why i can´t get the resultpoints at the moment? Because it looks like result['points'] = [ast.literal_eval(line[12:]) for line in lines[points_index+1:-1]] it is not working

ChenjieXu commented 3 years ago

The result parser function has been updated in version 0.3.3 and I have not added point results in it. I will fix it in next release. Or you may install version 0.3.2 by using pip install pyzxing==0.3.2 for now.

ChenjieXu commented 3 years ago

It is fixed in the latest release, try result['points']

ChenjieXu commented 3 years ago

Points info is included in the latest version.

On Tue, Dec 1, 2020 at 4:57 AM xLEpEX notifications@github.com wrote:

I'm not sure if I'm worng, but is there a reason why i can´t get the resultpoints at the moment? Because it looks like result['points'] = [ast.literal_eval(line[12:]) for line in lines[points_index+1:-1]] it is not working

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ChenjieXu/pyzxing/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHTVJCODNCU63E66S3I57NTSSQBLDANCNFSM4UIDAQPQ .