Documentation ¶
Overview ¶
Package objectbox provides a client for accessing Objectbox services.
Index ¶
- type CheckDetectorResponse
- type CheckResponse
- type Client
- func (c *Client) Check(image io.Reader) (CheckResponse, error)
- func (c *Client) CheckBase64(data string) (CheckResponse, error)
- func (c *Client) CheckURL(imageURL *url.URL) (CheckResponse, error)
- func (c *Client) Info() (*boxutil.Info, error)
- func (c *Client) PostState(r io.Reader) error
- func (c *Client) PostStateURL(stateURL *url.URL) error
- type Object
- type Rect
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckDetectorResponse ¶
type CheckResponse ¶
type CheckResponse struct {
Detectors []CheckDetectorResponse `json:"detectors"`
}
CheckResponse is all the data from /check request to objectbox
type Client ¶
type Client struct { // HTTPClient is the http.Client that will be used to // make requests. HTTPClient *http.Client // contains filtered or unexported fields }
Client is an HTTP client that can make requests to the box.
func (*Client) Check ¶
func (c *Client) Check(image io.Reader) (CheckResponse, error)
Check gets the objects for the image data provided.
func (*Client) CheckBase64 ¶
func (c *Client) CheckBase64(data string) (CheckResponse, error)
CheckBase64 gets the tags for the image in the encoded Base64 data string.
func (*Client) CheckURL ¶
func (c *Client) CheckURL(imageURL *url.URL) (CheckResponse, error)
CheckURL gets the tags for the image at the specified URL.
Click to show internal directories.
Click to hide internal directories.