Skip to main content

Evaluation dataset and tools from Middlebury Stereo Evaulation data 2014.

Project description

stereo-mideval

Python package for evaluation dataset and tools from the Middlebury stereo evaulation 2014 dataset. This project is in development by I3DR for evaluation stereo matching algorithms for use in stereo cameras. However this is project is fully open-source with no limitations to encorage and support others who may need access to this tools.

Install

pip install stereo-mideval

Features

  • Download scene data from Middlebury servers
  • Load disparity image and stereo pair from scene data
  • Display normalised colormaped disparity image
  • Convert disparity image to depth image using calibration file from scene data

Examples

Download and display scene data

import os
from stereomideval import Dataset

# Path to dowmload datasets
dataset_folder = os.path.join(os.getcwd(),"datasets") 

# Create dataset folder
if not os.path.exists(dataset_folder):
    os.makedirs(dataset_folder)

# Initalise stereomideval Dataset object
stmid_dataset = Dataset()

# Get list of scene in dataset (2014) and iterate through them
for scenename in stmid_dataset.get_scene_list():
    # Download dataset from middlebury servers
    # will only download it if it hasn't already been downloaded
    print("Downloading data for scene '"+scenename+"'...")
    stmid_dataset.download_scene_data(scenename,dataset_folder) 
    # Load scene data from downloaded folder
    print("Loading data for scene '"+scenename+"'...")
    scene_data = stmid_dataset.load_scene_data(scenename,dataset_folder,True)

Developement

Upcomming features

  • Evaluation of disparity image compared to ground truth disparity
  • Evaulation of depth image compared to ground truth depth for real-world error metrics

Build

python -m pip install --user --upgrade twine wheel && python setup.py clean --all && python setup.py sdist bdist_wheel

Upload to Test Pip

Test pip package is maintained by user: i3DR

python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/*

Upload to Pip

Pip package is maintained by user: i3DR

python -m twine upload dist/*

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

stereo-mideval-1.0.7.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stereo_mideval-1.0.7-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file stereo-mideval-1.0.7.tar.gz.

File metadata

  • Download URL: stereo-mideval-1.0.7.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9

File hashes

Hashes for stereo-mideval-1.0.7.tar.gz
Algorithm Hash digest
SHA256 b9b4616273794b4e4ef74f7be277c60db022a306f75467d0b3bb882d74a17c3d
MD5 12b9de931c3d6f5378e15df742215cef
BLAKE2b-256 96e988cd6a19ed8f402e70e3e533c2a3d6537ebadadf6f707619d776ded875f3

See more details on using hashes here.

File details

Details for the file stereo_mideval-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: stereo_mideval-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.7.9

File hashes

Hashes for stereo_mideval-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 5ca7b095ce85cf222bc2b0f13ed8c40db469a9f29f4a7669bcc2a93b43d7d42a
MD5 f94af6d9968d46a7a04fc17c940cabce
BLAKE2b-256 336c23b0676a942ccb666fe89b1c0b626b78bcb17b6aa65fc3738d0953c97435

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page