Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenCV Error: Assertion failed (dsize.area() || (inv_scale_x > 0 && inv_scale_y > 0)) in resize #21

Open
QiJohn opened this issue Nov 16, 2016 · 0 comments

Comments

@QiJohn
Copy link

QiJohn commented Nov 16, 2016

I an using ubuntu14.04 with
linux kernel 3.13.0-24-generic
gcc 4.8.2
opencv 2.4.6
cmake 2.8.12.2

Everything is find, but at running the command "sudo ./run_tld -p ../paramers.yml -s ../datasets/06_car/car.mpg" ,The program crashed.

Error message is following***********
Initial Bounding Box = x:131 y:116 h:114 w:55
Created 269028 bounding boxes
Found 0 good boxes, 0 bad boxes
Best Box: 133 115 114 55
Bounding box hull: 2147483647 2147483647 -2147483647 -2147483647
OpenCV Error: Assertion failed (dsize.area() || (inv_scale_x > 0 && inv_scale_y > 0)) in resize, file /home/johnqi/softWare/opencv-2.4.6.1/modules/imgproc/src/imgwarp.cpp, line 1724
terminate called after throwing an instance of 'cv::Exception'
what(): /home/johnqi/softWare/opencv-2.4.6.1/modules/imgproc/src/imgwarp.cpp:1724: error: (-215) dsize.area() || (inv_scale_x > 0 && inv_scale_y > 0) in function resize


I doesn't change the program at all, So, what is wrong?
Thanks, in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant