Files
FastDeploy/tutorials/image_decoder/README.md
Wang Xinyu efa46563f3 [nvJPEG] Integrate nvJPEG decoder (#1288)
* nvjpeg cmake

* add common decoder, nvjpeg decoder and add image name predict api

* ppclas support nvjpeg decoder

* remove useless comments

* image decoder support opencv

* nvjpeg decode fallback to opencv

* fdtensor add nbytes_allocated

* single image decode api

* fix bug

* add pybind

* ignore nvjpeg on jetson

* fix cmake in

* predict on fdmat

* remove image names predict api, add image decoder tutorial

* Update __init__.py

* fix pybind
2023-02-17 10:27:05 +08:00

17 lines
346 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

English | [中文](README_CN.md)
# Image Decoder
Currently, we support below image decoder libs
- OpenCV
- nvJPEG (Needs NVIDIA GPU, doesn't support Jetson)
## Example
- [C++ Example](cpp)
- Python API(WIP)
## nvJPEG vs. OpenCV performance benchmark
Refer to: https://github.com/PaddlePaddle/FastDeploy/pull/1288#issuecomment-1427749772