mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-22 07:31:26 +08:00
Fixed segmentation fault error in TRACK_vot::getNextFrame()
This commit is contained in:
@@ -169,10 +169,8 @@ int main(int argc, char *argv[])
|
||||
//Time measurment
|
||||
int64 e1 = getTickCount();
|
||||
if (initialized){
|
||||
dataset->getNextFrame(frame);
|
||||
if (frame.empty()){
|
||||
if (!dataset->getNextFrame(frame))
|
||||
break;
|
||||
}
|
||||
frame.copyTo(image);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user