3
3
Google Cloud Video Intelligence API Python Samples
4
4
===============================================================================
5
5
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
+
6
10
This directory contains samples for Google Cloud Video Intelligence API. `Google Cloud Video Intelligence API `_ allows developers to easily integrate feature detection in video.
7
11
8
12
@@ -54,6 +58,10 @@ Samples
54
58
analyze
55
59
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
56
60
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
+
57
65
58
66
59
67
To run this sample:
@@ -63,32 +71,33 @@ To run this sample:
63
71
$ python analyze.py
64
72
65
73
usage: analyze.py [-h] {faces,labels,labels_file,explicit_content,shots} ...
66
-
74
+
67
75
This application demonstrates face detection, label detection,
68
76
explicit content, and shot change detection using the Google Cloud API.
69
-
77
+
70
78
Usage Examples:
71
-
79
+
72
80
python analyze.py faces gs://demomaker/google_gmail.mp4
73
81
python analyze.py labels gs://cloud-ml-sandbox/video/chicago.mp4
74
82
python analyze.py labels_file resources/cat.mp4
75
83
python analyze.py shots gs://demomaker/gbikes_dinosaur.mp4
76
84
python analyze.py explicit_content gs://demomaker/gbikes_dinosaur.mp4
77
-
85
+
78
86
positional arguments:
79
87
{faces,labels,labels_file,explicit_content,shots}
80
88
faces Detects faces given a GCS path.
81
89
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.
83
91
explicit_content Detects explicit content from the GCS path to a video.
84
92
shots Detects camera shot changes.
85
-
93
+
86
94
optional arguments:
87
95
-h, --help show this help message and exit
88
96
89
97
90
98
91
99
100
+
92
101
The client library
93
102
-------------------------------------------------------------------------------
94
103
0 commit comments