Skip to content

Instantly share code, notes, and snippets.

View ayoungprogrammer's full-sized avatar

Michael Young ayoungprogrammer

View GitHub Profile
static void
icvHoughLinesStandard( const CvMat* img, float rho, float theta,
int threshold, CvSeq *lines, int linesMax, float angStart, float angEnd )
{
cv::AutoBuffer<int> _accum, _sort_buf;
cv::AutoBuffer<float> _tabSin, _tabCos;
const uchar* image;
int step, width, height;
int numangle, numrho;
%matplotlib inline
import csv
import numpy as np
import scipy.cluster.vq as vq
import matplotlib.pyplot as plt
bank_csv = csv.reader(open('seeds_dataset.txt','rU'), delimiter="\t")
data = []
# Read data