Skip to main content

calculate the disparity from a stereo image using PSMNet

Project description


SMDTest
======

A simple python wrapper for disparity calculation.

The PSMNet is from: https://github.com/JiaRenChang/PSMNet


The code is Python 2, but Python 3 compatible.

Installation
============

Fast install:

```
for python2: pip install SMDTest

for python3: pip3 install SMDTest
```


Example:


```
from PSMNet import smd
disparity_img = smd.calculate_disparity(imgL,imgR)
corrected_img = smd.correct_img(imgR,disparity_img)
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SMDTest-1.0.0.tar.gz (19.5 MB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page