draw_roi

module
v0.0.0-...-060b3f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2021 License: MIT

README

点线框绘制组件

基于 GRPC 通信方式绘制 ROI 的组件服务
更加优雅的服务姿势、更加灵活的独立服务,让应用层服务组件更加标准规范

Go Report Docker Pull License

应用场景

算法分析识别到目标检测物,需要在对应帧或图片绘制对应的框。

功能支持

  • 多框绘制 且 文本绘写

配置说明

字段 说明 示例
SG_APP_PROTOCOL 服务通讯协议,支持 tcp tcp
SG_APP_ADDRESS 服务通讯地址 0.0.0.0:1280
SG_DRAW_FONT_PATH 绘制笔刷字体路径 /usr/local/sbin/draw_roi/default.ttf

服务部署

docker run -itd -p 1280:1280 --name draw_roi samego/draw_roi:latest

快速使用

详细请查看 pb/*.proto 文件

  1. 绘制多框

    service Draw {
      rpc MultiRectangle (MultiRectangleRequest) returns (MultiRectangleResponse) {}
    }
    

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL