Versions in this module Expand all Collapse all v1 v1.0.1 Feb 7, 2022 v1.0.0 Nov 11, 2021 Changes in this version + const DefaultBorderColor + const DefaultBorderStrokeWidth + const DefaultKeypointRadius + const DefaultKeypointStrokeWidth + var CocoColors = [19]string + var CocoPair = [16][2]CocoPart + var OpenPosePair = [17][2]int + type CocoPart = int + const CocoPartBackground + const CocoPartLAnkle + const CocoPartLEar + const CocoPartLElbow + const CocoPartLEye + const CocoPartLHip + const CocoPartLKnee + const CocoPartLShoulder + const CocoPartLWrist + const CocoPartNeck + const CocoPartNose + const CocoPartRAnkle + const CocoPartREar + const CocoPartRElbow + const CocoPartREye + const CocoPartRHip + const CocoPartRKnee + const CocoPartRShoulder + const CocoPartRWrist + type Drawer struct + BorderColor string + BorderStrokeWidth float64 + KeypointRadius float64 + KeypointStrokeWidth float64 + func New(options ...Option) *Drawer + func (d *Drawer) Draw(img image.Image, rois []common.ObjectInfo, drawBorder bool, openPose bool) image.Image + type Option interface + func WithBorderColor(color string) Option + func WithBorderStrokeWidth(w float64) Option + func WithKeypointRadius(r float64) Option + func WithKeypointStrokeWidth(w float64) Option