Code Monkey home page Code Monkey logo

pyscanner's Introduction

pyscanner

A python program to scan items in a market.

scanner_img

Installation

The program requires opencv, tkinter, pyzbar and numpy 1.x to work. First, you need to install those libraries:

pip install opencv-python tk pyzbar numpy==1.26.4

! The program requires numpy's version to be 1.x and doesn't work with version 2.0 or higher.

Next, you can clone pyscanner:

git clone github.com/GrgBls/pyscanner.git

Finally, you are able to run the program:

cd pyscanner && ./main.py

How to use // Database

By clicking the Database button, you will be able to search, insert and remove items, as well as update their prices and how much stock there is left.

To perform any action, first input the product's barcode and then click on the specific action. The program will guide you for the next steps.

How to use // Scanner

After importing your products into the database, you can begin scanning them. The program supports two types of scanning, both through camera and manually.

To scan using your camera, just click the scan button and put the product's barcode in front of the camera. When the camera detects the barcode, it will close and you will be able to click Enter.

To scan manually, just insert the barcode into the text box and press Enter.

All scanned items will appear at the right side of the screen. You may edit the products, if you have made a mistake by clicking the Edit Button.

After you have finished scanning all your items, you can click End and the total amount of money will be shown to you.

pyscanner's People

Contributors

grgbls avatar nikos-kiokios avatar ektorash avatar

Watchers

 avatar

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.