mirror of
https://github.com/opencv/opencv.git
synced 2025-07-24 14:06:27 +08:00
fixed createsamples info message
This commit is contained in:
parent
fc9e031454
commit
ffe49bdebe
@ -995,12 +995,12 @@ void icvGetNextFromBackgroundData( CvBackgroundData* data,
|
||||
{
|
||||
round = data->round;
|
||||
|
||||
data->last = rand() % data->count;
|
||||
|
||||
#ifdef CV_VERBOSE
|
||||
printf( "Open background image: %s\n", data->filename[data->last] );
|
||||
#endif /* CV_VERBOSE */
|
||||
|
||||
data->last = rand() % data->count;
|
||||
data->last %= data->count;
|
||||
img = cvLoadImage( data->filename[data->last], 0 );
|
||||
if( !img )
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user