Versions in this module Expand all Collapse all v1 v1.0.1 Aug 22, 2022 Changes in this version + func UserAgent() string + func Version() string + type BaseClient struct + APIKey string + Endpoint string + func New(aPIKey string, endpoint string) BaseClient + func NewWithoutDefaults(aPIKey string, endpoint string) BaseClient + func (client BaseClient) PredictImage(ctx context.Context, projectID uuid.UUID, imageData io.ReadCloser, ...) (result ImagePrediction, err error) + func (client BaseClient) PredictImagePreparer(ctx context.Context, projectID uuid.UUID, imageData io.ReadCloser, ...) (*http.Request, error) + func (client BaseClient) PredictImageResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) PredictImageSender(req *http.Request) (*http.Response, error) + func (client BaseClient) PredictImageURL(ctx context.Context, projectID uuid.UUID, imageURL ImageURL, ...) (result ImagePrediction, err error) + func (client BaseClient) PredictImageURLPreparer(ctx context.Context, projectID uuid.UUID, imageURL ImageURL, ...) (*http.Request, error) + func (client BaseClient) PredictImageURLResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) PredictImageURLSender(req *http.Request) (*http.Response, error) + func (client BaseClient) PredictImageURLWithNoStore(ctx context.Context, projectID uuid.UUID, imageURL ImageURL, ...) (result ImagePrediction, err error) + func (client BaseClient) PredictImageURLWithNoStorePreparer(ctx context.Context, projectID uuid.UUID, imageURL ImageURL, ...) (*http.Request, error) + func (client BaseClient) PredictImageURLWithNoStoreResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) PredictImageURLWithNoStoreSender(req *http.Request) (*http.Response, error) + func (client BaseClient) PredictImageWithNoStore(ctx context.Context, projectID uuid.UUID, imageData io.ReadCloser, ...) (result ImagePrediction, err error) + func (client BaseClient) PredictImageWithNoStorePreparer(ctx context.Context, projectID uuid.UUID, imageData io.ReadCloser, ...) (*http.Request, error) + func (client BaseClient) PredictImageWithNoStoreResponder(resp *http.Response) (result ImagePrediction, err error) + func (client BaseClient) PredictImageWithNoStoreSender(req *http.Request) (*http.Response, error) + type BoundingBox struct + Height *float64 + Left *float64 + Top *float64 + Width *float64 + type ImagePrediction struct + Created *date.Time + ID *uuid.UUID + Iteration *uuid.UUID + Predictions *[]Model + Project *uuid.UUID + func (IP ImagePrediction) MarshalJSON() ([]byte, error) + type ImageURL struct + URL *string + type Model struct + BoundingBox *BoundingBox + Probability *float64 + TagID *uuid.UUID + TagName *string + func (mVar Model) MarshalJSON() ([]byte, error)