Skip to content

Instantly share code, notes, and snippets.

View deveshdatwani's full-sized avatar

Devesh Datwani deveshdatwani

View GitHub Profile
import cv2
import numpy as np
from matplotlib import pyplot as plt
left_image_address = '/home/deveshdatwani/Desktop/left.jpg'
right_image_address = '/home/deveshdatwani/Desktop/right.jpg'
left_image = cv2.imread(left_image_address, cv2.IMREAD_GRAYSCALE)
right_image = cv2.imread(right_image_address, cv2.IMREAD_GRAYSCALE)