-
Notifications
You must be signed in to change notification settings - Fork 31
op rectangle
firepick1 (pixel) edited this page Sep 29, 2014
·
1 revision
The rectangle operation provides the function of OpenCV rectangle, and allows you to put a rectangle into your pipeline image.
- x The x-coordinate of the left edge of the rectangle. FireSight: If -1, center the rectangle horizontally
- y The y-coordinate of the top edge of the rectangle. FireSight: If -1, center the rectangle vertically
- width The width of the rectangle. FireSight: Default is 64.
- height The width of the rectangle. FireSight: Default is 64.
- fill FireSight: JSON array of BGR color to fill rectangle. Default is [-1,-1,-1] for no fill.
- thickness border thickness. Default is 1.
- color border color. Default is [0,0,0].
- lineType Default is 8
- flood _FireSight: Color for outside of rectangle. Default is [-1,-1,-1] for no flood.
- shift Number of fractional bits in the point coordinates. Default is 0.
{}
Example 1: Parma Flag pipeline
firesight -p json/crosshair.json -o target/crosshair.png -Dbackground=[0,255,255] -Dcolor=[255,0,0] -Dsize=8