Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds quickstart #964

Merged
merged 3 commits into from
May 25, 2017
Merged

Adds quickstart #964

merged 3 commits into from
May 25, 2017

Conversation

gguuss
Copy link
Contributor

@gguuss gguuss commented May 25, 2017

No description provided.

@googlebot 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
Contributor

Choose a reason for hiding this comment

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

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

python quickstart.py
"""

# [START videointelligence_quickstart]
Copy link
Contributor

Choose a reason for hiding this comment

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

# 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
Contributor

Choose a reason for hiding this comment

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

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

@theacodes theacodes merged commit 2659c6b into master May 25, 2017
@theacodes 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
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