go-google-vision-api

command module
v0.0.0-...-d819551 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2016 License: MIT Imports: 8 Imported by: 0

README

go-google-vision-api

Access commands to the Google Cloud Vision API

Use(example)

Get Binary(Latest) google-vision : https://github.com/fkei/go-google-vision-api/releases/latest

$ ./google-vision -api-key=XXXXXXXXXX -path=test.png
----
1:
{"labelAnnotations":[{"description":"black cat","mid":"/m/03dj64","score":0.88111246},{"description":"silhouette","mid":"/m/03thgk","score":0.87085229},{"description":"teapot","mid":"/m/01fh4r","score":0.52110529}],"safeSearchAnnotation":{"adult":"VERY_UNLIKELY","medical":"VERY_UNLIKELY","spoof":"VERY_UNLIKELY","violence":"UNLIKELY"}}
Support Features types
  • Type: "FACE_DETECTION"
  • Type: "LANDMARK_DETECTION"
  • Type: "LOGO_DETECTION",
  • Type: "LABEL_DETECTION",
  • Type: "TEXT_DETECTION",
  • Type: "SAFE_SEARCH_DETECTION",
  • Type: "IMAGE_PROPERTIES",
  • MaxResults: 10
Help
$ ./google-vision --help
Usage of ./google-vision:
  -api-key="": Google API KEY
  -path="": Image file path

Build

$ make build

Source Run

$ make run api-key={Google API KEY}

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL