-
Notifications
You must be signed in to change notification settings - Fork 31
op drawRects
firepick1 (pixel) edited this page Oct 30, 2014
·
4 revisions
FireSight op draws RotatedRect array from named stage model. Because some folks like square corners, while others are well-rounded.
{"op":"drawRects","model":"s2", "color":[255, 0, 255], "flags":5}
- model name of stage that generates rects model to be drawn
-
radius if
radius
>0, draw of a circle of the given radius instead of rectangle. Default is0
-
color JSON array corresponding to cv::Scalar with 1-4 elements (
[-1 -1 -1 -1]
default)
{}
Example pipeline
firesight -i img/ass_place_phj.jpg -p json/drawRects.json -o target/drawRects.jpg
Output image saved as target/drawRects.jpg