Skip to content

Latest commit

 

History

History
203 lines (173 loc) · 16.6 KB

README.md

File metadata and controls

203 lines (173 loc) · 16.6 KB

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. Install the runtime requirements using IDE or command line:

    pip install -r requirements.txt
    
  4. Add the directory source to PYTHONPATH. Navigate to the root of the repository and run:

    • PowerShell: $env:PYTHONPATH=$env:PYTHONPATH + ";$PWD\\source"
    • cmd: set PYTHONPATH="$PYTHONPATH;$PWD\\source"
    • bash: export PYTHONPATH="$PYTHONPATH:$PWD/source"
  5. Open and run one of the samples.

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.