| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| samples: | ||
| - name: quickstart | ||
| file: quickstart.py | ||
| show_help: True |
There was a problem hiding this comment.
Typically we don't do this for quickstarts because of side effects.
Sorry, something went wrong.
There was a problem hiding this comment.
Done.
Sorry, something went wrong.
| python quickstart.py | ||
| """ | ||
|
|
||
| # [START videointelligence_quickstart] |
There was a problem hiding this comment.
Imports go inside the run_quickstart function for quickstarts: https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/storage/cloud-client/quickstart.py
Sorry, something went wrong.
| # first result is retrieved because a single video was processed | ||
| results = operation.result().annotation_results[0] | ||
|
|
||
| for i, label in enumerate(results.label_annotations): |
There was a problem hiding this comment.
don't use enumerate if you don't use the i.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
No description provided.