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 and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page