Skip to content

Instantly share code, notes, and snippets.

@m-oliv
m-oliv / reconstruct.py
Created March 13, 2017 15:32 — forked from lanius/reconstruct.py
3D reconstruction from stereo images in Python
# -*- coding: utf-8 -*-
import argparse
import cv2
import numpy as np
def calc_disparity(left_image, right_image):
window_size = 3