Commit e4cacfc4 authored by Kurnianggoro's avatar Kurnianggoro

Updating the rectangle drawing, avoid warning from variable conversion

parent 1fea777c
......@@ -144,8 +144,7 @@ Rect2d BoxExtractor::extract(const std::string& windowName, Mat img){
// draw the selected object
rectangle(
params.image,
Point(params.box.x, params.box.y),
Point(params.box.x+params.box.width,params.box.y+params.box.height),
params.box,
Scalar(255,0,0),2,1
);
......
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