Python

Sample 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.

Instructions

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.