FastDeploy icon indicating copy to clipboard operation
FastDeploy copied to clipboard

picodet grpc客户端推理,如何保存检测结果图片?

Open njflove opened this issue 1 year ago • 1 comments

环境

【FastDeploy版本】:fastdeploy-python-1.0.7 【系统平台】: Windows x64(Windows10) 【硬件】: i5-6400 CPU 【编译语言】:Python3.8

问题日志及出现问题的操作流程

  • 附上详细的问题日志有助于快速定位分析

  • 【DET_RESULT】 使用fastdeploy部署模型之后,如果保存标注好的图片?在Response中没有找相关信息,需要从哪里配置?

  • 【模型仓库】 image

  • 【模型配置文件】

image

  • 【postprocess配置文件】 image

njflove avatar Apr 02 '24 09:04 njflove

https://github.com/PaddlePaddle/FastDeploy/blob/develop/python/fastdeploy/vision/visualize/init.py 参考这个,这个模块里给了可视化不同任务处理结果的函数,你用cv2.imwrite把返回的图像保存下来就可以。

rainyfly avatar Apr 07 '24 02:04 rainyfly