Repairing QR Codes On Linux

View previous topic View next topic Go down

Repairing QR Codes On Linux

Post by jamied_uk on 8th August 2016, 12:52




Code:
#!/bin/bash
# Usage ./Repaire.sh "QR_Code_Damaged.jpg"
#
myvar="$@"
# zbarimg *.png* > out.txt # or jpg file!
# zbarimg *.jpg* > out.txt # or png file!
#
zbarimg "$myvar" > out.txt # or png file!
cat out.txt
#
#out.txt
myvar2=$( cat out.txt )
qrencode -o code.png "$myvar2"
zbarimg code.png > out.txt
cat out.txt



Code:
sudo apt-get install -y qtqr

Code:
qtqr


qtqr is a gui based and needs installing


Or use script

./Repaire_GUI.sh "file.ext"



Update Code


Update Code Link
app.box.com/s/ufkymw4s91x7lta7jy0z249zuoeluu9v
avatar
jamied_uk
Admin

Posts : 2193
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum