barKoder SDK - Python library

Requirements #

Basic requirments #

  • 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

Install python3 #

                sudo apt-get install python3
            

Install pip #

You will need openCV and numpy to run the sample app. These can be installed via pip

                sudo apt install python3-pip
//or
sudo dnf install python3-pip
//depending on the linux distribution
            

Install openCV-python, numpy and other sample app requirements #

With pip installed you should install opencv-python. You will need it to run the sample app

This package has to be installed for the same version of python that will be used. So if you use python3.11 you need to install it for python3.11
                pip install opencv-python
pip install numpy
//to change the name of the running app
pip install setproctitle


            

Install 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

            

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 #

barKoder.com repository #

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.

github repository #

Alternatively, you can simply clone it from GitHub. The repository includes detailed instructions for running the software, so you might find that method convenient as well.

Page Contents

History:

close

Version #1014

Published: 08/02/2025 01:23:39

Created On: 08/02/2025 01:23:39

Modified By: Vladimir Lazarevski

Published Version

Version #1013

Was Published: 08/02/2025 01:21:09

Created On: 08/02/2025 01:21:09

Modified By: Vladimir Lazarevski

Version #1012

Was Published: 08/02/2025 01:20:34

Created On: 08/02/2025 01:20:34

Modified By: Vladimir Lazarevski

Version #1011

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

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

Modified By: Vladimir Lazarevski

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/22/2025 05:20:15

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/22/2025 05:20:15

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