Skip to content

Instantly share code, notes, and snippets.

Avatar

Michael Young ayoungprogrammer

View GitHub Profile
View k-means-seeds
%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
View gist:5988112
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;
You can’t perform that action at this time.