Browse Source
Update README
Signed-off-by: shiyu22 <shiyu.chen@zilliz.com>
main
1 changed files with
6 additions and
2 deletions
-
README.md
|
|
@ -10,7 +10,9 @@ In computer vision (CV) directions, image transformations are usually an indispe |
|
|
|
|
|
|
|
## Interface |
|
|
|
|
|
|
|
`__init__(self, size: int)` |
|
|
|
```python |
|
|
|
__init__(self, size: int) |
|
|
|
``` |
|
|
|
|
|
|
|
**Args:** |
|
|
|
|
|
|
@ -18,7 +20,9 @@ In computer vision (CV) directions, image transformations are usually an indispe |
|
|
|
- the size of the output image |
|
|
|
- supported types: `int` |
|
|
|
|
|
|
|
`__call__(self, img: Union[np.ndarray, Image.Image, torch.Tensor, str])` |
|
|
|
```python |
|
|
|
__call__(self, img: Union[np.ndarray, Image.Image, torch.Tensor, str]) |
|
|
|
``` |
|
|
|
|
|
|
|
**Args:** |
|
|
|
|
|
|
|