stereolabs / zed-python-api

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

Depth Estimation from Previously extracted data #190

Closed faustoTapia closed 2 years ago

faustoTapia commented 3 years ago

Hi all,

I have collected stereo image pairs with ZED 1 (original and rectified) using native OpenCV. I would like to use the python api to calculate the corresponding depth-maps offline (as I have access to a GPU only offline), is there an easy way to do so with the python API?

I already got some depth-maps with OpenCV's stereo_SGBM. However, they are not as dense as the ones shown when I use ZED_Depth viewer.

Thanks.

obraun-sl commented 3 years ago

Hi,

Best way is to record a SVO file with ZED Explorer or the ZED SDK (see SVO Recording examples). Then you can process offline the SVO file as if it was a ZED camera connected. See here : https://www.stereolabs.com/docs/video/recording/

faustoTapia commented 3 years ago

Hi,

Wouldn't I need to have a GPU in the machine anyway to install ZED Explorer or the ZED SDK? In my case I do not have a GPU when I collect the data.

Thank you again.

obraun-sl commented 3 years ago

Hi, You can use ZED Explorer without a NVIDIA GPU. You just won't have access to all the compression mode (H264/H265 are based on NVIDIA encoding, but LOSSLESS is available even without NVIDIA GPU)

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