Skip to content

Instantly share code, notes, and snippets.

View epifanio's full-sized avatar

Massimo Di Stefano epifanio

View GitHub Profile
@epifanio
epifanio / 0_reuse_code.js
Last active August 29, 2015 14:17
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@epifanio
epifanio / colormaps.ipynb
Created March 6, 2018 18:58 — forked from jcrist/colormaps.ipynb
Using colormaps with datashader
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@epifanio
epifanio / reconstruct.py
Created January 5, 2021 21:42 — 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