[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

View File

@@ -1,13 +1,9 @@
English | [中文](README_CN.md)
# Tutorials
This directory provides some tutorials for FastDeploy. For other model deployment, please refer to the example [FastDeploy/examples](../examples) directly.
- Intel independent graphics card/integrated graphics card deployment [see intel_gpu](intel_gpu)
- Model multithreaded call [see multi_thread](multi_thread)
- Image decoding, including hardward decoding, e.g. nvJPEG [image_decoder](image_decoder)