Skip to content

Commit

Permalink
generateRandom() in Chapter5 shouldn't return anything.
Browse files Browse the repository at this point in the history
  • Loading branch information
shervinemami committed Jan 8, 2013
1 parent 0dd2c80 commit 5d0e884
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Chapter5_NumberPlateRecognition/evalOCR.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*****************************************************************************
* Number Plate Recognition using SVM and Neural Networks
******************************************************************************
* by David Millán Escrivá, 5th Dec 2012
* by David Mill�n Escriv�, 5th Dec 2012
* http://blog.damiles.com
******************************************************************************
* Ch5 of the book "Mastering OpenCV with Practical Computer Vision Projects"
Expand All @@ -24,7 +24,7 @@ using namespace std;
using namespace cv;
OCR ocr;

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

0 comments on commit 5d0e884

Please sign in to comment.