33 Google Cloud Video Intelligence API Python Samples
44===============================================================================
55
6+ .. image :: https://gstatic.com/cloudssh/images/open-btn.png
7+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=video/cloud-client/analyze/README.rst
8+
9+
610This directory contains samples for Google Cloud Video Intelligence API. `Google Cloud Video Intelligence API `_ allows developers to easily integrate feature detection in video.
711
812
@@ -54,6 +58,10 @@ Samples
5458analyze
5559+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
5660
61+ .. image :: https://gstatic.com/cloudssh/images/open-btn.png
62+ :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor=video/cloud-client/analyze/analyze.py;video/cloud-client/analyze/README.rst
63+
64+
5765
5866
5967To run this sample:
@@ -63,32 +71,33 @@ To run this sample:
6371 $ python analyze.py
6472
6573 usage: analyze.py [-h] {faces,labels,labels_file,explicit_content,shots} ...
66-
74+
6775 This application demonstrates face detection, label detection,
6876 explicit content, and shot change detection using the Google Cloud API.
69-
77+
7078 Usage Examples:
71-
79+
7280 python analyze.py faces gs://demomaker/google_gmail.mp4
7381 python analyze.py labels gs://cloud-ml-sandbox/video/chicago.mp4
7482 python analyze.py labels_file resources/cat.mp4
7583 python analyze.py shots gs://demomaker/gbikes_dinosaur.mp4
7684 python analyze.py explicit_content gs://demomaker/gbikes_dinosaur.mp4
77-
85+
7886 positional arguments:
7987 {faces,labels,labels_file,explicit_content,shots}
8088 faces Detects faces given a GCS path.
8189 labels Detects labels given a GCS path.
82- labels_file Detects labels given a file path.
90+ labels_file Detect labels given a file path.
8391 explicit_content Detects explicit content from the GCS path to a video.
8492 shots Detects camera shot changes.
85-
93+
8694 optional arguments:
8795 -h, --help show this help message and exit
8896
8997
9098
9199
100+
92101 The client library
93102-------------------------------------------------------------------------------
94103
0 commit comments