Skip to content

Instantly share code, notes, and snippets.

View noorulhasan06's full-sized avatar

Noorul Hasan noorulhasan06

  • University of Delhi
  • New Delhi
View GitHub Profile
@panzerama
panzerama / hough_transform.py
Created January 4, 2017 01:52
Solution for correcting text skew in image with scipy, scikit
#image processing resources
from skimage.io import imread, imshow
from skimage.filters import gaussian, threshold_otsu
from skimage.feature import canny
from skimage.transform import probabilistic_hough_line, rotate
#testing
import numpy as np
import os