Skip to content

Instantly share code, notes, and snippets.

View Jathrone's full-sized avatar

Jason (Yucheng) Li Jathrone

View GitHub Profile
@Jathrone
Jathrone / benchmark_skimage_cv2.py
Created May 29, 2018 23:48
Compares runtimes for several functions common to opencv and scikit-image
import numpy as np
import inspect
from skimage import exposure, feature, filters, measure, morphology, \
restoration, segmentation, transform, util, data, color
from timeit import default_timer
import pandas as pd
import cv2
import time
###this python script returns a csv of function runtimes