Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
njflove opened this issue Apr 2, 2024 · 1 comment
Open

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

njflove opened this issue Apr 2, 2024 · 1 comment
Assignees

Comments

@njflove
Copy link

njflove commented Apr 2, 2024

环境

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

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

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

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

  • 【模型仓库】
    image

  • 【模型配置文件】

image

  • 【postprocess配置文件】
    image
@njflove njflove changed the title picoDet grpc客户端推理,如何保存检测结果图片? picodet grpc客户端推理,如何保存检测结果图片? Apr 2, 2024
@rainyfly
Copy link
Collaborator

rainyfly commented Apr 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants