logo
Browse Source

Update README

Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
main
shiyu22 3 years ago
parent
commit
6270a27d54
  1. 7
      README.md

7
README.md

@ -4,10 +4,9 @@ Authors: Kyle, shiyu22
## Overview ## Overview
This operator uses PyTorch to transform the image, such as cropping, PIL.Image and Tensor conversion;
Normalization and other operations on the image.
This operator uses PyTorch to transform the image, such as cropping, PIL.Image and Tensor conversion, normalization and other operations on the image.
In computer vision (CV) directions, image transformations are usually an indispensable part, which can be used to pre-process images and enhance data. And transforms are common image transformations, they can be chained together using [`Compose`](https://pytorch.org/vision/stable/transforms.html#torchvision.transforms.Compose) in Pytorch.
In computer vision (CV) directions, image transformations are usually an indispensable part, which can be used to pre-process images and enhance data. And transforms are common image transformations, they can be chained together using [`Compose`](https://pytorch.org/vision/stable/transforms.html#torchvision.transforms.Compose) in Pytorch.
## Interface ## Interface
@ -50,7 +49,7 @@ The `towhee/transform-image` Operator is used for image transformation and is an
![img](./pic/operator.png) ![img](./pic/operator.png)
When using this Operator to write Pipline's Yaml file, you need to declare the following content according to the interface of TransformImage class:
When using this Operator to write Pipeline's Yaml file, you need to declare the following content according to the interface of TransformImage class:
```yaml ```yaml
operators: operators:

Loading…
Cancel
Save