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/shotchange/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
Shot Change Detection
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/shotchange/shotchange.py;video/cloud-client/shotchange/README.rst
63
+
64
+
57
65
58
66
59
67
To run this sample:
@@ -63,26 +71,27 @@ To run this sample:
63
71
$ python shotchange.py
64
72
65
73
usage: shotchange.py [-h] path
66
-
67
- This application demonstrates how to perform basic operations with the
68
- Google Cloud Video Intelligence API.
69
-
74
+
75
+ This application demonstrates how to identify all different shots
76
+ in a video using the Google Cloud Video Intelligence API.
77
+
70
78
For more information, check out the documentation at
71
79
https://cloud.google.com/videointelligence/docs.
72
-
80
+
73
81
Example Usage:
74
-
82
+
75
83
python shotchange.py gs://demomaker/gbikes_dinosaur.mp4
76
-
84
+
77
85
positional arguments:
78
86
path GCS path for shot change detection.
79
-
87
+
80
88
optional arguments:
81
89
-h, --help show this help message and exit
82
90
83
91
84
92
85
93
94
+
86
95
The client library
87
96
-------------------------------------------------------------------------------
88
97
0 commit comments