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 show how the data from the camera can be used.

Instructions

참고

이 샘플에 권장되는 Python 버전은 3.7 - 3.9 입니다.

참고로 Open3D는 Python 3.13 이상 버전에서는 사용할 수 없습니다.

  1. Install Zivid Software.

  2. Download Zivid Sample Data.

  3. Zivid Python 샘플 저장소를 확인하세요.

    git clone http://github.com/zivid/zivid-python-samples.git
    
  4. IDE 또는 command-line을 사용하여 런타임 요구 사항을 설치합니다:

cd zivid-python-samples
pip install -r requirements.txt

참고

Open3D 설치에 실패하는 경우, Open3D에서 지원하는 Python 버전을 사용하고 있는지 확인하십시오. 또는 다음 명령을 실행하여 Open3D를 사용하지 않는 샘플에 필요한 종속성만 설치할 수 있습니다.

pip install ./modules
  1. 샘플 중 하나를 열고 실행합니다.

    참고

    Windows에서 GUI 샘플을 실행하려면 pythonw 사용해야 합니다.