Revision 1428
Add new bootloader prototype supporting wireless programming
vision.c | ||
---|---|---|
84 | 84 |
|
85 | 85 |
cvSmooth( image03, image03, CV_GAUSSIAN, 9, 9 ); // smooth it, otherwise a lot of false circles may be detected |
86 | 86 |
CvMemStorage* storage = cvCreateMemStorage(0); |
87 |
CvSeq* circles = cvHoughCircles( image03, storage, CV_HOUGH_GRADIENT, 1, 1, 100, 43 );
|
|
87 |
CvSeq* circles = cvHoughCircles( image03, storage, CV_HOUGH_GRADIENT, 1, 50, 100, 43 );
|
|
88 | 88 |
|
89 | 89 |
int i; |
90 | 90 |
for( i = 0; i < circles->total && count < 100; i++ ) |
Also available in: Unified diff