Skip to content

Commit 5d379ef

Browse files
michaelawyuJon Wayne Parrott
authored andcommitted
Added "Open in Cloud Shell" buttons to README files [(#1254)](GoogleCloudPlatform/python-docs-samples#1254)
1 parent df56ca2 commit 5d379ef

File tree

2 files changed

+19
-8
lines changed

2 files changed

+19
-8
lines changed

samples/shotchange/README.rst

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
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/shotchange/README.rst
8+
9+
610
This 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
5458
Shot Change Detection
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/shotchange/shotchange.py;video/cloud-client/shotchange/README.rst
63+
64+
5765

5866

5967
To run this sample:
@@ -63,26 +71,27 @@ To run this sample:
6371
$ python shotchange.py
6472
6573
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+
7078
For more information, check out the documentation at
7179
https://cloud.google.com/videointelligence/docs.
72-
80+
7381
Example Usage:
74-
82+
7583
python shotchange.py gs://demomaker/gbikes_dinosaur.mp4
76-
84+
7785
positional arguments:
7886
path GCS path for shot change detection.
79-
87+
8088
optional arguments:
8189
-h, --help show this help message and exit
8290
8391
8492
8593
94+
8695
The client library
8796
-------------------------------------------------------------------------------
8897

samples/shotchange/README.rst.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ samples:
1818
show_help: True
1919

2020
cloud_client_library: true
21+
22+
folder: video/cloud-client/shotchange

0 commit comments

Comments
 (0)