/zivid-python-samples

Python code samples for Zivid

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Python samples

This repository contains python code samples for Zivid SDK v2.13.1. For tested compatibility with earlier SDK versions, please check out accompanying releases.

image


Contents: Tutorials | Samples | Installation | Support | License


Tutorials list

Samples list

There are two main categories of samples: Camera and Applications. The samples in the Camera category focus only on how to use the camera. The samples in the Applications category use the output generated by the camera, such as the 3D point cloud, a 2D image or other data from the camera. These samples shows how the data from the camera can be used.

Installation


Note:

The recommended Python version for these samples is 3.7 - 3.9.


  1. Install Zivid Software.

  2. Download Zivid Sample Data.

  3. Check out the Zivid Python samples repository:

    git clone http://github.com/zivid/zivid-python-samples.git
    
  4. Install the runtime requirements using IDE or command line:

cd zivid-python-samples
pip install -r requirements.txt
  1. Open and run one of the samples.


    Note:

    Running GUI samples on Windows should be done via pythonw.


Support

For more information about the Zivid cameras, please visit our Knowledge Base. If you run into any issues please check out Troubleshooting.

License

Zivid Samples are distributed under the BSD license.