[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
This commit is contained in:
Wang Xinyu
2023-02-17 10:27:05 +08:00
committed by GitHub
parent e3a7ab4c14
commit efa46563f3
25 changed files with 875 additions and 44 deletions
+16
View File
@@ -0,0 +1,16 @@
简体中文 | [English](README.md)
# Image Decoder
图片解码库,目前支持以下图片解码库:
- OpenCV
- nvJPEG (依赖NVIDIA GPU,不支持Jetson)
## 示例代码
- [C++示例](cpp)
- Python API仍在开发中...
## nvJPEG和OpenCV性能对比数据
参见:https://github.com/PaddlePaddle/FastDeploy/pull/1288#issuecomment-1427749772