stereolabs / zed-python-api

Python API for the ZED SDK
https://www.stereolabs.com/docs/app-development/python/install/
MIT License
212 stars 94 forks source link

ERROR: pyzed-3.1-cp37-cp37m-linux_x86_64.whl is not a supported wheel on this platform. #153

Closed HassanB93 closed 2 years ago

HassanB93 commented 4 years ago

Hi @adujardin

I am trying following code on the Ubuntu 20.04 (python 3.8.2) based in your instruction to install "pyzed-3.1" package.

python3 -m pip install pyzed-3.1-cp37-cp37m-linux_x86_64.whl

However, I received this error:

WARNING: Requirement 'pyzed-3.1-cp37-cp37m-linux_x86_64.whl' looks like a filename, but the file does not exist ERROR: pyzed-3.1-cp37-cp37m-linux_x86_64.whl is not a supported wheel on this platform.

I would appreciate if you help me on this issue.

adujardin commented 4 years ago

Hi

You need to install the C++ SDK for Ubuntu 20 (CUDA 11.0) first, then run :

python3 /usr/local/zed/get_python_api.py

It will download the correct version for your platform and SDK version

HassanB93 commented 4 years ago

Thank you @adujardin

Is it possible to work with the ZED camera on a machine without NVIDIA graphic card. I mean getting depth map and point cloud from the camera on a machine with Mesa Intel® Iris(R) Plus Graphics 640.

adujardin commented 4 years ago

The ZED SDK requires CUDA to run all functions.

However, you could use this sample https://github.com/stereolabs/zed-opencv-native that provides basic features using OpenCV. It rectifies the images using the factory calibration, then you can use OpenCV BM or SGBM to compute the depth map (you need to implement this part yourself).

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment otherwise it will be automatically closed in 5 days