Skip to content
No description, website, or topics provided.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
app.py

README.md

Barcode Scanning with Lego Boost and Webcam

Usage

  1. Download Dynamsoft Barcode Reader SDK for Linux. Copy libDynamsoftBarcodeReader.so to /usr/lib.

  2. Get a free trial license of Dynamsoft Barcode SDK.

  3. Build the Python barcode library by following https://github.com/dynamsoft-dbr/python.

  4. Install one of the Bluetooth backends:

    pip install pygatt
    pip install gatt
    pip install gattlib
    pip install bluepy
    

    I use Gatt Backend in my code.

  5. Install pylgbst to interact with Lego Boost Move Hub.

  6. Set a valid license:

    dbr.initLicense('LICENSE-KEY')
  7. Run the app:

    python3 app.py
    

    lego boost webcam barcode

Keys

  • a: left
  • d: right
  • w: up
  • s: down
  • q: terminate the app
  • c: capture images and scan barcodes

Blog

Making a Barcode Scan Robot with Lego Boost and Webcam

You can’t perform that action at this time.