Files
FastDeploy/tutorials/vision_processor/python
guxukai ab38c9110f [CVCUDA]add op Python API: Cast, HWC2CHW, Normalize, PadToSize, Resize, StridePad (#1589)
* add Cast, HWC2CHW, Normalize, PadToSize, StridePad

* add comments

* fix comments

* fix manager.cc
2023-03-14 19:16:07 +08:00
..

English | 中文

Preprocessor Python Demo

  1. build FastDeployPython, or downloadFastDeploy prebuilt libraryPython

  2. Run the Demo

# Download the test image
wget https://gitee.com/paddlepaddle/PaddleClas/raw/release/2.4/deploy/images/ImageNet/ILSVRC2012_val_00000010.jpeg

# Run the Demo

# OpenCV
python preprocess.py

# CV-CUDA
python preprocess.py --use_cvcuda True