@ -32,15 +32,13 @@ In computer vision (CV) directions, image transformations are usually an indispe
The tensor of the transformed image.
The tensor of the transformed image.
## How to use
### Requirements
## Requirements
You can get the required python package by [requirements.txt](./requirements.txt).
You can get the required python package by [requirements.txt](./requirements.txt).
- pillow
- pillow
### How it works
## How it works
The `towhee/transform-image` Operator is used for image transformation and is an important part of data preprocessing. It can be added to the pipeline and is usually used as the first custom operator of the pipeline. For example, it's the first Operator named processing within [image_embedding_resnet50](https://hub.towhee.io/towhee/image-embedding-resnet50) pipeline, and it is the red box in the picture below.
The `towhee/transform-image` Operator is used for image transformation and is an important part of data preprocessing. It can be added to the pipeline and is usually used as the first custom operator of the pipeline. For example, it's the first Operator named processing within [image_embedding_resnet50](https://hub.towhee.io/towhee/image-embedding-resnet50) pipeline, and it is the red box in the picture below.