Python

サンプルリスト

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.

手順

注釈

これらのサンプルに推奨される Python バージョンは 3.7 - 3.9 です。

なお、Open3D は Python 3.13 以降では利用できません。

  1. Zivid ソフトウェアをインストールします

  2. Zivid サンプルデータをダウンロードします

  3. Zivid の Python サンプルリポジトリを確認してください。

    git clone http://github.com/zivid/zivid-python-samples.git
    
  4. IDE またはコマンドラインを使用して、ランタイム要件をインストールします。

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

注釈

Open3D のインストールに失敗した場合は、Open3D がサポートしている Python バージョンを使用していることを確認してください。または、以下のコマンドを実行して、Open3D 以外のサンプルに必要な依存関係のみをインストールすることもできます。

pip install ./modules
  1. サンプルのいずれかを開いて実行してください。

    注釈

    Windows 上で GUI サンプルを実行する場合は、 pythonw を使用してください。