# Object_Draw

## Using of command

Function draw area of selected object to tested picture. Before this function, must be called function Object_Find. Function draw all objects with specified name.

## Commands parameters

Command has 5 parameters:

1. Source picture: You need select source picture.Contours will be draw to this picture. Source picture must be activated before use of this function. You can select Picture_0 to Picture_19.
2. Object name: You need write object name, which object will be draw
3. Object draw mode: It can be select draw area type. It can be select rectangle (draw area will be rectangle) or circle (draw area will be circle)
4. Object color: You need select color of external contours.Left click on this parameter line opens color selection dialog
5. Line Tickness: Thickness of lines the contours are drawn with.

## Error codes

1. Error code -11:Bad position of source picture in picture array. Position of source picture is not from range 0 to 19. Check test program file if command has correct format.
2. Error code -13:Bad external contour color code. Check test program file if command has correct format.
3. Error code -100: OpenCV error. Explanation of this error will be displayed in result window.