package structure //Point 坐标点 type Point struct { X float64 `json:"x"` Y float64 `json:"y"` } //Rect 检测目标 type Rect struct { X float64 Y float64 Width float64 Height float64 } //Pointfloat 坐标点 type Pointfloat struct { X float64 `json:"x"` Y float64 `json:"y"` }