Commit ba6f122d authored by Kurnianggoro's avatar Kurnianggoro

remove warning in variable conversion

parent 29289afc
/*---------------------------------------------- /*----------------------------------------------
* Usage: * Usage:
* example_tracking_multitracker <video_name> [algorithm * example_tracking_multitracker <video_name> [algorithm]
* *
* example: * example:
* example_tracking_multitracker Bolt/img/%04.jpg * example_tracking_multitracker Bolt/img/%04.jpg
...@@ -167,7 +167,7 @@ void BoxExtractor::opencv_mouse_callback( int event, int x, int y, int , void *p ...@@ -167,7 +167,7 @@ void BoxExtractor::opencv_mouse_callback( int event, int x, int y, int , void *p
case EVENT_LBUTTONDOWN: case EVENT_LBUTTONDOWN:
data->isDrawing = true; data->isDrawing = true;
data->box = cvRect( x, y, 0, 0 ); data->box = cvRect( x, y, 0, 0 );
data->center = Point2f(x,y); data->center = Point2f((float)x,(float)y);
break; break;
// cleaning up the selected bounding box // cleaning up the selected bounding box
......
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