Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HasCat ¶
HasCat uses Google Cloud Vision API to check if the Base64 encoded image contains a cat. It also takes the name for logging purposes.
Note: The base64 must not contain the metadata. For example, do not send "data:image/jpeg;base64,<image>", but rather only <image>
func HasCatMultiple ¶
HasCatMultiple uses Google Cloud Vision API to check if the Base64 encoded images contain a cat. It also takes the names for logging purposes.
This function returns an array of boolean in the same order as the provided image array Note: The base64 must not contain the metadata. For example, do not send "data:image/jpeg;base64,<image>", but rather only <image>
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.