Action group: Vision
The action rotates the image.
Orientation is changed in two ways: the first is rotation, the second is vertical and horizontal mirroring. Accordingly, for each method parameters are set, for the first method degrees are set, for the second method the type of mirroring vertically or horizontally is specified, if both parameters are set - the robot does not work
Image - image orientation of which you want to change. In the field set the path to the target image.
Flip - type of reflection of the specified image. It is possible to choose from the following values: Vertical; Horizontal.
Vertical/horizontal reflection:
Rotate - the degree of rotation for the specified image.
Rotation in degrees (-50):
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Image | The image, orientation of which needs to be changed. The action first reflects the image, then changes the rotation angle. Available formats: jpg, jpeg, jpe, png, bmp, ppm. | Robin.FilePath | Yes | |
Flip | The type of reflection of the specified image. | Robin.String | No | |
Rotate | The degree of rotation for the specified image. The value must be between -360 and 360. A positive value will rotate the image clockwise and a negative value will rotate the image counterclockwise. If «0» is specified, the image will not change. | Robin.Numeric | No |
The action rotates the specified image.
Original images:
Vertical/horizontal reflections:
Rotation in degrees (-50):
Flip the image horizontally.
Use the "Rotate Image" action.
The program robot completed successfully. The flipped is displayed horizontally.