FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Adds quickstart by gguuss · Pull Request #964 · GoogleCloudPlatform/python-docs-samples · GitHub

Adds quickstart - #964

Merged
theacodes merged 3 commits into
masterfrom
video_quickstart
May 25, 2017
Merged

Adds quickstart#964
theacodes merged 3 commits into
masterfrom
video_quickstart

Conversation

gguuss commented May 25, 2017

Copy link
Copy Markdown
Contributor

No description provided.

googlebot added the cla: yes This human has signed the Contributor License Agreement. label May 25, 2017
samples:
- name: quickstart
file: quickstart.py
show_help: True

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Typically we don't do this for quickstarts because of side effects.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Done.

python quickstart.py
"""

# [START videointelligence_quickstart]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

# first result is retrieved because a single video was processed
results = operation.result().annotation_results[0]

for i, label in enumerate(results.label_annotations):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

don't use enumerate if you don't use the i.

theacodes merged commit 2659c6b into master May 25, 2017
theacodes deleted the video_quickstart branch May 25, 2017 21:52
busunkim96 pushed a commit to busunkim96/python-videointelligence that referenced this pull request May 20, 2020
danoscarmike pushed a commit to googleapis/python-videointelligence that referenced this pull request Nov 16, 2020
dizcology pushed a commit that referenced this pull request Sep 11, 2023
leahecole pushed a commit that referenced this pull request Sep 15, 2023
parthea pushed a commit to googleapis/google-cloud-python that referenced this pull request Sep 22, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL