File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ func (c *Client) Info() (*boxutil.Info, error) {
5757 return & info , nil
5858}
5959
60- // Check gets the tags for the image data provided.
60+ // Check gets the nudity probability for the image data provided.
6161func (c * Client ) Check (image io.Reader ) (float64 , error ) {
6262 var buf bytes.Buffer
6363 w := multipart .NewWriter (& buf )
@@ -86,7 +86,7 @@ func (c *Client) Check(image io.Reader) (float64, error) {
8686 return c .parseCheckResponse (resp .Body )
8787}
8888
89- // CheckURL gets the tags for the image at the specified URL.
89+ // CheckURL gets the nudity probability for the image at the specified URL.
9090func (c * Client ) CheckURL (imageURL * url.URL ) (float64 , error ) {
9191 u , err := url .Parse (c .addr + "/nudebox/check" )
9292 if err != nil {
You can’t perform that action at this time.
0 commit comments