Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Barcodes ¶
type Categories ¶
type Categories struct { ImageURL string `json:"image_url,omitempty" validate:"omitempty,url"` ImageUploadID string `json:"image_upload_id,omitempty" validate:"-"` Language *string `json:"language,omitempty" validate:"omitempty,oneof=ar bg bs en ca cs"` SaveIndex *string `json:"save_index,omitempty" validate:"-"` SaveID *string `json:"save_id,omitempty" validate:"-"` CategorizerID string `json:"categorizer_id,omitempty" validate:"required"` }
func (*Categories) Encode ¶
func (c *Categories) Encode() (string, error)
func (*Categories) Path ¶
func (c *Categories) Path() (string, error)
func (*Categories) Validate ¶
func (c *Categories) Validate() error
type Categorizers ¶
type Categorizers struct{}
func (*Categorizers) Encode ¶
func (c *Categorizers) Encode() (string, error)
func (*Categorizers) Path ¶
func (c *Categorizers) Path() (string, error)
func (*Categorizers) Validate ¶
func (c *Categorizers) Validate() error
type Colors ¶
type Colors struct { ImageURL string `json:"image_url,omitempty" validate:"omitempty,url"` ImageUploadID string `json:"image_upload_id,omitempty" validate:"-"` ExtractOverallColors *bool `json:"extract_overall_colors,omitempty" validate:"-"` ExtractObjectColors *bool `json:"extract_object_colors,omitempty" validate:"-"` OverallCount *int `json:"overall_count,omitempty" validate:"-"` SeparatedCount *int `json:"separated_count,omitempty" validate:"-"` Deterministic *bool `json:"deterministic,omitempty" validate:"-"` SaveIndex *string `json:"save_index,omitempty" validate:"-"` SaveID *string `json:"save_id,omitempty" validate:"-"` FeaturesType *string `json:"features_type,omitempty" validate:"omitempty,oneof=overall object"` }
type Croppings ¶
type Croppings struct { ImageURL string `json:"image_url,omitempty" validate:"omitempty,url"` ImageUploadID string `json:"image_upload_id,omitempty" validate:"-"` Resolution string `json:"resolution" validate:"required"` NoScaling *bool `json:"no_scaling,omitempty" validate:"-"` RectPercentage *float64 `json:"rect_percentage,omitempty" validate:"omitempty,gte=0,lte=1"` ImageResult *bool `json:"image_result,omitempty" validate:"-"` }
type FacesDetections ¶
type FacesDetections struct { ImageURL string `json:"image_url,omitempty" validate:"omitempty,url"` ImageUploadID string `json:"image_upload_id,omitempty" validate:"-"` ReturnFaceID *bool `json:"return_face_id,omitempty" validate:"-"` }
func (*FacesDetections) Encode ¶
func (f *FacesDetections) Encode() (string, error)
func (*FacesDetections) Path ¶
func (f *FacesDetections) Path() (string, error)
func (*FacesDetections) Validate ¶
func (f *FacesDetections) Validate() error
type FacesGroupings ¶
type FacesGroupings struct { CallbackURL *string `json:"callback_url,omitempty" validate:"omitempty,url"` Faces []string `json:"faces,omitempty" validate:"-"` }
func (*FacesGroupings) Encode ¶
func (f *FacesGroupings) Encode() (string, error)
func (*FacesGroupings) Path ¶
func (f *FacesGroupings) Path() (string, error)
func (*FacesGroupings) Validate ¶
func (f *FacesGroupings) Validate() error
type FacesSimilarity ¶
type FacesSimilarity struct { FaceID string `json:"face_id" validate:"required"` SecondFaceID string `json:"second_face_id" validate:"required"` }
func (*FacesSimilarity) Encode ¶
func (f *FacesSimilarity) Encode() (string, error)
func (*FacesSimilarity) Path ¶
func (f *FacesSimilarity) Path() (string, error)
func (*FacesSimilarity) Validate ¶
func (f *FacesSimilarity) Validate() error
type Tags ¶
type Tags struct { ImageURL string `json:"image_url,omitempty" validate:"omitempty,url"` ImageUploadID string `json:"image_upload_id,omitempty" validate:"-"` Language *string `json:"language,omitempty" validate:"omitempty,oneof=ar bg bs en ca cs"` Verbose *bool `json:"verbose,omitempty"` Limit *int `json:"limit,omitempty"` Threshold *float64 `json:"threshold,omitempty"` DecreaseParents *bool `json:"decrease_parents,omitempty"` TaggerID *string `json:"tagger_id,omitempty"` }
type Uploads ¶
Click to show internal directories.
Click to hide internal directories.