This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%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 |