Skip to content

Instantly share code, notes, and snippets.

@emmanuelle
emmanuelle / benchmark_skimage_cv2.py
Created May 31, 2018 22:59 — forked from Jathrone/benchmark_skimage_cv2.py
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