Setting up API and Vision Intro – Google Cloud Python Tutorials p.2

///Setting up API and Vision Intro – Google Cloud Python Tutorials p.2

Setting up API and Vision Intro – Google Cloud Python Tutorials p.2

FavoriteLoadingAdd to favorites

Welcome everyone to part 2 of the Google Cloud tutorial series. In this tutorial, we’re going to be covering the vision API, but also covering the initial set up for just about any of the APIs. Some of the setup that we do here will only need to be done once in this series.

Sample code: https://pythonprogramming.net/vision-api-intro-google-cloud-tutorial/

https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex

By |2017-05-01T12:21:34+00:00April 26th, 2017|Programming Video Tutorials, Python Video Tutorials|15 Comments

15 Comments

  1. Abe Kipnis April 26, 2017 at 9:19 pm - Reply

    good tutorial. keep em comin’

  2. Aitor Plaza April 26, 2017 at 9:23 pm - Reply

    Hi!

    I have a question, why "print()" function works if you are using python 2.7?

  3. Mark ass trick April 26, 2017 at 9:29 pm - Reply

    silly question but is the virtual machine required to use these Google APIs?

  4. Michael Beckett April 26, 2017 at 9:33 pm - Reply

    Does anybody know if it is possible to run the API from a local machine. I have an Ubuntu machine with tensorflow-GPU and google cloud installed.

    I have created a project in google cloud, generated a key and enabled vision but I get "Could not automatically determine credentials."

    Is what I’m trying to do possible or am I making a stupid error?

    I answered my own question by actually reading the link that comes with the error. :p

    Follow the instructions the instructions in the above video until you have input the path for the key and then:

    Install Google Cloud SDK on your machine:
    https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu

    Run ‘gcloud auth application-default login’ in a terminal and a browser window will come up asking you to sign your life away to google-ai.

    Then your machine should be authorized to use the API.

    Great Video and happy computing.

  5. Beni Lev April 26, 2017 at 9:37 pm - Reply

    1 – Why are you running as root?
    2 – Maybe the "bounds" field of the label gives you the bounding box of the item in the image?

  6. throbbing cock April 26, 2017 at 9:44 pm - Reply

    do you think ‘location’ might be the meta data embedded within the image?

  7. crowdquest April 26, 2017 at 9:45 pm - Reply

    isnt locations supposed to be gps coordinates (if included in photo metadata)?

  8. kipsta1993 April 26, 2017 at 9:56 pm - Reply

    haha i was like sitting asking myself how creating vision folder is enough for gcloud to know which api is needed

  9. Swamy Ymln April 26, 2017 at 9:57 pm - Reply

    Hi when i am trying to run the code i am getting the following error
    Kindly let me know where i might have made mistake.

    google.gax.errors.RetryError: GaxError(Exception occurred in retry method that was not classified as transient, caused by <_Rendezvous of RPC that terminated with (StatusCode.PERMISSION_DENIED, Request had insufficient authentication scopes.)>)

  10. Douglas Fletcher April 26, 2017 at 9:57 pm - Reply

    ha senior citizen classic

  11. Marc Leonard April 26, 2017 at 10:06 pm - Reply

    As far as the coordinates of the labels, is that what this might be:
    https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate#BoundingPoly

  12. Binks Biz April 26, 2017 at 10:07 pm - Reply

    getting error message while executing the code: "’File {} is not a valid json file.’.format(filename), exc)
    google.auth.exceptions.DefaultCredentialsError: (‘File /root/gcloudstuff/apikey.json is not a valid json file.’, ValueError(‘Invalid control character at: line 5 column 38 (char 173)’,))" – my file looks similar to the one in the video… enabled api…not sure what’s wrong..

  13. Adrian Görisch April 26, 2017 at 10:09 pm - Reply

    hey 🙂 i tried to install pip on gcloud but i get an error and i dont know what to do.
    I copied this https://pastebin.com/Pdyt5n5j hopefuly you can help me

  14. Amit Sangwan April 26, 2017 at 10:11 pm - Reply

    STILL WATCHING FIRST VIDEO but came here to say "FIRST"………

Leave A Comment

*