Commit fb6db3dc authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #10915 from alalek:issue_10910

parents 7601c216 cb9b08ec
......@@ -909,7 +909,7 @@ void icvGetBackgroundImage( CvBackgroundData* data,
icvGetNextFromBackgroundData( data, reader );
}
img = reader->img(Rect(reader->point.x, reader->point.y, data->winsize.height, data->winsize.width)).clone();
img = reader->img(Rect(reader->point.x, reader->point.y, data->winsize.width, data->winsize.height)).clone();
if( (int) ( reader->point.x + (1.0F + reader->stepfactor ) * data->winsize.width )
< reader->img.cols )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment