История страницы
...
Rotate image Version 2 (Python)
Группа действий: Машинное зрение
Описание
Действие изменяет ориентацию изображения.
Ориентация меняется двумя способами: первый- поворот, второй - зеркальное отражение (отображение) по вертикали и горизонтали. Соответственно для каждого способа задаются параметры, для первого способа задаются градусы, для второго - указывается тип зеркального отображения по вертикали или горизонтали, если задавать оба параметра - робот не работает.
Иконка
Параметры
Входные параметры
Изображение - изображение ориентацию которого необходимо изменить. В поле необходимо указать путь к целевому изображению. Отражение - тип зеркального отражения указанного изображения. Доступен выбор из значений: По вертикали; По горизонтали.
Action group: Vision
...
Description
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.
Action icon
Parameters
Input parameters
Image - image orientation of which you want to change. In the field set the path to the target image. Reflection - type of mirror reflection of the specified image. It is possible to choose from the following values: Vertical; Horizontal.
Vertical/horizontal mirroringЗеркальное отображение по вертикали/горизонтали:
Поворот - градус угла поворота указанного изображения.
Поворот в градусах (-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 |
Особые условия использования
...