GeezerVison is showing github.com — generateRandom() in Chapter5 shouldn't return anything. · vrad1/code@5d0e884
File tree
Expand file treeCollapse file tree
Open diff view settings
Chapter5_NumberPlateRecognition
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: Chapter5_NumberPlateRecognition/evalOCR.cpp +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | /***************************************************************************** |
2 | 2 | * Number Plate Recognition using SVM and Neural Networks |
3 | 3 | ****************************************************************************** |
4 | | -* by David Millán Escrivá, 5th Dec 2012 |
| 4 | +* by David Mill�n Escriv�, 5th Dec 2012 |
5 | 5 | * http://blog.damiles.com |
6 | 6 | ****************************************************************************** |
7 | 7 | * Ch5 of the book "Mastering OpenCV with Practical Computer Vision Projects" |
@@ -24,7 +24,7 @@ using namespace std; |
24 | 24 | using namespace cv; |
25 | 25 | OCR ocr; |
26 | 26 |
|
27 | | -int generateRandom(int n, int min, int max, vector<int> *samples){ |
| 27 | +void generateRandom(int n, int min, int max, vector<int> *samples){ |
28 | 28 | int range=max-min; |
29 | 29 | int r=rand()%range+min; |
30 | 30 | if(samples->at(r)==0){ |
|