Skip to main content

Seek Thermal SDK Python Language Bindings

Project description

seekcamera-python

main Actions Status GitHub

Welcome! :wave:

This is the official home of the Python language bindings for the Seek Thermal SDK. :snake:

About :scroll:

In general, the Seek Thermal SDK allows customers to develop applications that interface with our thermal camera cores easily, flexibly, and efficiently. In addition, examples are provided to demonstrate the use of several functional areas and can be a starting point for your own projects.

The Python language bindings supplement and extend the SDK's traditional C interface in a higher-level language. They require the Seek Thermal SDK 4.X to be pre-installed on the system; they also require a Seek Thermal OEM core to be physically attached to the system.

Visit our website for more information and to get your Starter Kit.

Features :test_tube:

The Python language bindings mirror all the major functionality in our SDK.

Highlights :confetti_ball:

  • Asynchronous event driven API that is fast and responsive
  • Ability to use multiple cameras in one SDK instance
  • Common set of APIs for both Mosaic and Micro Core cameras
  • Robust error handling and logging interface
  • Numerous frame output formats
  • Example applications to learn and get started

Supported platforms :electric_plug:

The Python language bindings will run on a wide variety of common processors and Linux/Windows OSs.

The requirements are

  • Python 3.X
  • numpy >= 1
  • Host architecture supported by the SDK
    • See the official SDK documentation for more information

The optional dependencies are

Getting started :book:

We recommend that you jump right in by checking out one of the sample applications. The sample applications demonstrate how to use the most common APIs and features in the SDK.

Sample applications :bulb:

  • seekcamera-opencv
    • Demonstrates how to image and display thermal frames to the screen using OpenCV's drawing functions.
  • seekcamera-simple
    • Demonstrates how to export frame pixel values to disk as a CSV file.

Run the samples

cd seekcamera-python
python3 examples/seekcamera-opencv.py

API documentation :brain:

API documentation is provided as standard Python docstrings. Please refer to the more complete Seek Thermal SDK C Programming Guide which is provided with the SDK for more in-depth documentation.

Installation :open_file_folder:

The Python language bindings are developed using Python 3.X. We recommended Python 3.6+ since we test against those versions; older versions may work as well but we have not tested against them.

You can download Python from the official website.

The recommended method of installation is via the package on pypi

pip3 install seekcamera-python

Alternatively, you can install manually. To do so, after installing Python, clone this repository

git clone https://github.com/seekthermal/seekcamera-python.git

Change directories into the cloned repository

cd seekcamera-python

Install via pip

pip3 install -e .

Dependencies :floppy_disk:

Python dependencies

Additional Python dependencies (required for some of the samples) can be installed via pip.

pip3 install -r requirements.examples.txt

Other dependencies

The Python language bindings require the Seek Thermal SDK to be installed. It is recommended, but not required, to use one of the SDK installers. We provide Debian installers (.deb) for Linux and zipfile archives (.zip) for Windows.

On Windows, the SDK library (seekcamera.dll) should be located in one of the following places in order of precedence:

%SEEKTHERMAL_LIB_DIR%/
C:/Program Files/Seek Thermal/Seek Thermal SDK/4.X.X/x64-windows/lib

On Linux, the SDK library (libseekcamera.so) should be located in one of the following places in order of precedence:

$SEEKTHERMAL_LIB_DIR/
$LD_LIBRARY_PATH/
/lib/
/lib64/
/usr/lib/
/usr/lib64/

NOTE

%SEEKTHERMAL_LIB_DIR% is Windows environment variable and is (optionally) set by the user.

$SEEKTHERMAL_LIB_DIR is a Linux environment variable and is (optionally) set by the user.


The minimum SDK runtime version for each stable release of the Python language bindings is shown below:

seekcamera-python Minimum SDK runtime version
1.0.0 4.0.0
1.1.0 4.1.0
1.1.1 4.1.0

License :balance_scale:

The project is licensed under the Apache 2.0 License. Please see the LICENSE for more information.

Copyright (c) 2021 Seek Thermal.

Contributing :hammer:

We are excited about contributions!

Please see our contributing guide for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

seekcamera-python-1.1.1.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

seekcamera_python-1.1.1-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file seekcamera-python-1.1.1.tar.gz.

File metadata

  • Download URL: seekcamera-python-1.1.1.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for seekcamera-python-1.1.1.tar.gz
Algorithm Hash digest
SHA256 22c8071f36d998677201acc06cebff7698a74f4287dbfe58c5290ebf2b12cce2
MD5 ce3b70b89a0e4c36774db83071941022
BLAKE2b-256 d55b9ec03234972fe56eb87dcecd88db46c983ab80d982f51caf9c9bf8342502

See more details on using hashes here.

File details

Details for the file seekcamera_python-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: seekcamera_python-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

File hashes

Hashes for seekcamera_python-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ca3f73a13b47963060b6aaaf97c3c7fb2504d937a435a0d293de3a268c725ce9
MD5 8b091b906cf3b291ba8264225a3e7bdd
BLAKE2b-256 ae323698974f135c23ff802f1e461f8407fb40a89aa58965bc3e31583b1fe8e1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page