Skip to main content

calculate the disparity from a stereo image using PSMNet

Project description


SMDAI
======

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 SMDAI

for python3: pip3 install SMDAI
```


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.

Files for SMDAI, version 1.0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size SMDAI-1.0.0.1.tar.gz (19.5 MB) File type Source Python version None Upload date Hashes View

Supported by

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