This is a simple web application built using Flask (Python) and ZXing (Java) that allows users to upload an image containing a barcode or QR code, decode it, and display the result (text or link) on the webpage.
- Upload Image – User uploads a barcode/QR image via the web form.
- Save File – Flask saves it to the
uploads/directory. - Run ZXing – Python runs ZXing’s Java CLI tool using
subprocess. - Decode Output – ZXing extracts data (e.g., text or URL).
- Show Result – Flask displays the decoded result in the browser.
- Supports PNG, JPG, JPEG, and GIF image formats.
- Decodes most barcode types including QR Code, Code128, PDF417, etc.
- Automatically detects and hyperlinks URLs.
- Clean and responsive frontend using HTML + TailwindCSS (optional).
- Python
- Java (JDK)
- Flask
- ZXing Java JARs
📸 Example Output