Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedColors = [][]int{
{255, 0, 0},
{0, 255, 0},
{0, 0, 255},
{255, 255, 255},
{192, 192, 192},
{128, 128, 128},
{0, 0, 0},
{128, 0, 0},
{255, 255, 0},
{128, 128, 0},
{0, 128, 0},
{0, 255, 255},
{0, 128, 128},
{0, 0, 125},
{255, 0, 255},
{128, 0, 128},
{130, 0, 0},
}
View Source
var SupportedColorsName = map[string]bool{"Red": true, "Lime": true, "Blue": true, "White": true, "Silver": true, "Gray": true, "Black": true, "Maroon": true, "Yellow": true, "Olive": true, "Green": true, "Aqua": true, "Teal": true, "Navy": true, "Fuchsia": true, "Purple": true, "DarkRed": true, "Khaki": true, "Beige": true, "Brown": true, "Pink": true, "Orange": true}
View Source
var SupportedColorsNameList = []string{"Red", "Lime", "Blue", "White", "Silver",
"Gray", "Black", "Maroon", "Yellow", "Olive", "Green", "Aqua", "Teal",
"Navy", "Fuchsia", "Purple", "DarkRed"}
Functions ¶
Types ¶
type VisionBody ¶
type VisionBody struct {
Url string `json:"url"`
}
type VisionObject ¶
type VisionObject struct { Name string `json:"name"` Color string `json:"color"` Position string `json:"position"` }
func (*VisionObject) CallVisionApi ¶
func (u *VisionObject) CallVisionApi(c echo.Context) error
func (*VisionObject) GetClothes ¶
func (u *VisionObject) GetClothes(c echo.Context) error
Click to show internal directories.
Click to hide internal directories.