diff --git a/core/preprocess/hwvideoframe/README.md b/core/preprocess/hwvideoframe/README.md index ab3b27d35d6d72da3ff480c165ea20e109c93c54..d740fe6ceae796cbcd8ac75ee28e139cbad10329 100644 --- a/core/preprocess/hwvideoframe/README.md +++ b/core/preprocess/hwvideoframe/README.md @@ -1,14 +1,22 @@ # hwvideoframe -简要说明 +hwvideoframe是一个基于cuda的图片预处理库。项目利用GPU进行图片预处理操作,加快处理速度的同时,提高GPU的使用率。 + +## 项目结构 +hwvideoframe通过cpp的 +hwvideoframe目前提供以下图片预处理功能: +* Image2Gpubuffer +* Gpubuffer2Image +* RGB2BGR +* BGR2RGB +* Div +* Sub +* Normalize +* CenterCrop +* Resize +* ResizeByFactor ## 快速开始 -如何构建、安装、运行 +按照Paddle Serving文档编译,编译结果在reader中。 ## 测试 -如何执行自动化测试 - -## 如何贡献 -贡献patch流程、质量要求 - -## 讨论 -百度Hi讨论群:XXXX +测试文件:Serving/python/paddle_serving_app/reader/test_preprocess.py diff --git a/python/paddle_serving_app/reader/__init__.py b/python/paddle_serving_app/reader/__init__.py index 89cb60533b00bd627b3f2c320b938e5de61a1af2..9622d8347ab92b7d426ce7fa9229662fb82e3021 100644 --- a/python/paddle_serving_app/reader/__init__.py +++ b/python/paddle_serving_app/reader/__init__.py @@ -19,4 +19,4 @@ from .image_reader import DBPostProcess, FilterBoxes, GetRotateCropImage, Sorted from .lac_reader import LACReader from .senta_reader import SentaReader from libgpupreprocess import Image2Gpubuffer, Gpubuffer2Image, RGB2BGR, BGR2RGB -from libgpupreprocess import Div, Sub, Normalize, CenterCrop, Resize +from libgpupreprocess import Div, Sub, Normalize, CenterCrop, Resize, ResizeByFactor