barKoder SDK - Python library

Requirements #

  • A 64-bit OS based on Linux, for an x86-64 CPU architecture. As a general guideline Ubuntu 22.04 or newer is recommended. Install commands given below assume a Debian distro is used (but are not limited to).
  • python3 (version 3.11 or newer; contact us if you need support for older versions)
  • Most linux distos come with python. If not already present, it can be installed with:

sudo apt-get install python3

  • opencv-python (for sample app; note that this package has to be installed for the same version of python that will be used)
  • OpenCV for Python can be installed via pip with:

sudo apt install python3-pip

sudo pip3 install opencv-python

  • curl (optional)

Curl might be needed for licensing, depending on the type of license used. In particular, curl from snap is required (ref https://snapcraft.io/curl). It can be installed with:

sudo apt install snapd

sudo snap install curl

Using a specific python version #

If you need to use a specific python version, i.e. running the sample app like so:

                python3.11 run.py
            

you may need to install a side-by-side python version, different than the one you have, for example:

                sudo apt-get install python3.11
            
                sudo dnf install python3.11
            

and OpenCV for Python should also be available under that version, and can be installed with:

                python3.11 -m pip install opencv-python
            
if you can't run this command and your system complains that there is no module named pip you need to upgrade your pip by running
                python3.11 -m pip install --upgrade --ignore-installed pip
//ignore-installed is in case your pip was installed by the system package manager

            

Optionally you may need to get pip

                curl -O https://bootstrap.pypa.io/get-pip.py
sudo python3.11 get-pip.py

            

Eventually, when running the sample app (which you can download from our repository) , if you get an error like this:

                ImportError: libGL.so.1: cannot open shared object file: No such file or directory


            

You are probably on a RedHat distribution and you may need to add this:

                sudo yum install mesa-libGL
            

Finally get our python lib #

After you've installed all the necessary requirements to run the software, head over to our repository  and download the python library. 

Unzip the file and you should find a fully working how-to-start app which should be sufficient to get you started.

Page Contents

History:

close

Version #1011

Published: 08/01/2025 20:06:31

Created On: 08/01/2025 20:06:31

Modified By: Vladimir Lazarevski

Published Version

Version #1010

Was Published: 08/01/2025 18:41:44

Created On: 08/01/2025 18:41:44

Modified By: Vladimir Lazarevski

Version #1009

Was Published: 08/01/2025 18:34:27

Created On: 08/01/2025 18:34:27

Modified By: Vladimir Lazarevski

Version #1008

Was Published: 08/01/2025 18:12:54

Created On: 08/01/2025 18:12:54

Modified By: Vladimir Lazarevski

Version #1007

Was Published: 08/01/2025 18:11:31

Created On: 08/01/2025 18:11:31

Modified By: Vladimir Lazarevski

Version #766

Was Published: 11/15/2024 10:47:14

Created On: 11/15/2024 10:47:14

Modified By: Vangel Ivanov

Version #764

Was Published: 11/15/2024 10:27:47

Created On: 11/15/2024 10:27:47

Modified By: Vladimir Lazarevski

Version #763

Was Published: 08/01/2025 22:40:00

Created On: 11/15/2024 10:27:23

Modified By: Vladimir Lazarevski

Version #610

Was Published: 09/02/2024 22:30:27

Created On: 09/02/2024 22:30:27

Modified By: Vangel Ivanov

Version #589

Was Published: 08/01/2025 22:40:00

Created On: 09/02/2024 22:14:54

Modified By: Vangel Ivanov

Version #465

Was Published: 08/23/2024 17:44:36

Created On: 08/23/2024 17:44:36

Modified By: Vladimir Lazarevski

Version #405

Was Published: 08/21/2024 15:58:04

Created On: 08/21/2024 12:32:53

Modified By: Dimitar Gligoroff

Version #404

Was Published: 08/21/2024 11:33:18

Created On: 08/21/2024 11:33:04

Modified By: Dimitar Gligoroff

Version #375

Was Published: 08/15/2024 17:00:22

Created On: 08/15/2024 17:00:16

Modified By: Vladimir Lazarevski

Version #374

Was Published: 08/15/2024 16:52:11

Created On: 08/15/2024 16:52:08

Modified By: Vladimir Lazarevski

Version #373

Was Published: 08/15/2024 13:36:44

Created On: 08/15/2024 13:36:42

Modified By: Vladimir Lazarevski

Version #372

Was Published: 08/15/2024 13:29:30

Created On: 08/15/2024 13:29:28

Modified By: Vladimir Lazarevski

Version #371

Was Published: 08/15/2024 13:28:41

Created On: 08/15/2024 13:28:38

Modified By: Vladimir Lazarevski

Version #370

Was Published: 08/15/2024 13:27:35

Created On: 08/15/2024 13:27:32

Modified By: Vladimir Lazarevski

Version #369

Was Published: 08/15/2024 13:26:56

Created On: 08/15/2024 13:26:51

Modified By: Vladimir Lazarevski

Version #368

Was Published: 08/15/2024 13:26:04

Created On: 08/15/2024 13:26:04

Modified By: Vladimir Lazarevski