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
            

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

                python3.11 -m pip install opencv-python
            

On RedHat distributions you may need to add, depending on which distro you are working with:

                sudo yum install mesa-libGL
            

Page Contents

History:

close

Version #766

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

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

Modified By: Vangel Ivanov

Published Version

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: 01/01/1970 00:00: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: 01/01/1970 00:00: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