Files
FastDeploy/tutorials/vision_processor/python
guxukai f8d56a2424 [CVCUDA] wrap C processors in Python API (#1576)
* wrap C ops in Python API

* add comments

* change processor create style

* processors class inherit
2023-03-13 13:56:25 +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