Skip to content

Commit 5d0e884

Browse files
committed
generateRandom() in Chapter5 shouldn't return anything.
1 parent 0dd2c80 commit 5d0e884

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Chapter5_NumberPlateRecognition/evalOCR.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*****************************************************************************
22
* Number Plate Recognition using SVM and Neural Networks
33
******************************************************************************
4-
* by David Millán Escrivá, 5th Dec 2012
4+
* by David Mill�n Escriv�, 5th Dec 2012
55
* http://blog.damiles.com
66
******************************************************************************
77
* Ch5 of the book "Mastering OpenCV with Practical Computer Vision Projects"
@@ -24,7 +24,7 @@ using namespace std;
2424
using namespace cv;
2525
OCR ocr;
2626

27-
int generateRandom(int n, int min, int max, vector<int> *samples){
27+
void generateRandom(int n, int min, int max, vector<int> *samples){
2828
int range=max-min;
2929
int r=rand()%range+min;
3030
if(samples->at(r)==0){

0 commit comments

Comments
 (0)