Package tagbox provides a client for accessing Tagbox services.
CheckResponse is all the data from /check request to tagbox
Client is an HTTP client that can make requests to the box.
New makes a new Client for the box at the specified address.
Check gets the tags for the image data provided.
CheckBase64 gets the tags for the image in the encoded Base64 data string.
CheckURL gets the tags for the image at the specified URL.
Info gets the details about the box.
OpenState opens the state file for reading. Clients must call Close.
PostState uploads new state data.
PostStateURL tells tagbox to download the state file specified by the URL.
Remove makes tagbox to forget an image
Rename allows to change the custom tag for a given image by id
RenameAll changes the tag for all the images
Similar checks the image in the io.Reader for similar images based on tags previously taught.
SimilarBase64 checks the image at the specified URL for similar images based on tags previously taught.
SimilarID returns similar images based on the ID provided
SimilarURL checks the image at the specified URL for similar images based on tags previously taught.
Teach teaches tagbox the image with a custom tag in the io.Reader. The tag is the string representation of the main thing on the image. The id should be a unique identifier for the image, usually the filename.
TeachBase64 teaches tagbox the Base64 encoded image with a custom tag. See Teach for more information.
TeachURL teaches tagbox the image with a custom tag at the specified URL. See Teach for more information.
ErrTagbox represents an error from Tagbox.
Tag represents a single tag that describes an image.