Skip to content

Commit db08d6f

Browse files
dizcologyleahecole
authored andcommitted
replace demomaker with cloud-samples-data/video for video intelligenc… [(#2162)](#2162)
* replace demomaker with cloud-samples-data/video for video intelligence samples * flake
1 parent 9e59c00 commit db08d6f

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

videointelligence/samples/analyze/README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ To run this sample:
8585
8686
python analyze.py labels gs://cloud-ml-sandbox/video/chicago.mp4
8787
python analyze.py labels_file resources/cat.mp4
88-
python analyze.py shots gs://demomaker/gbikes_dinosaur.mp4
89-
python analyze.py explicit_content gs://demomaker/gbikes_dinosaur.mp4
88+
python analyze.py shots gs://cloud-samples-data/video/gbikes_dinosaur.mp4
89+
python analyze.py explicit_content gs://cloud-samples-data/video/gbikes_dinosaur.mp4
9090
9191
positional arguments:
9292
{labels,labels_file,explicit_content,shots}
@@ -157,4 +157,4 @@ to `browse the source`_ and `report issues`_.
157157
https://github.com/GoogleCloudPlatform/google-cloud-python/issues
158158

159159

160-
.. _Google Cloud SDK: https://cloud.google.com/sdk/
160+
.. _Google Cloud SDK: https://cloud.google.com/sdk/

videointelligence/samples/analyze/beta_snippets_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def test_track_objects():
150150

151151
@pytest.mark.slow
152152
def test_track_objects_gcs():
153-
in_file = 'gs://demomaker/cat.mp4'
153+
in_file = 'gs://cloud-samples-data/video/cat.mp4'
154154
object_annotations = beta_snippets.track_objects_gcs(in_file)
155155

156156
text_exists = False

videointelligence/samples/analyze/resources/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Copy from Google Cloud Storage to this folder for testing video analysis
99
of local files. For `cat.mp4` used in the usage example, run the following
1010
`gcloud` command.
1111

12-
gsutil cp gs://demomaker/cat.mp4 .
12+
gsutil cp gs://cloud-samples-data/video/cat.mp4 .
1313

1414
Now, when you run the following command, the video used for label detection
1515
will be passed from here:

0 commit comments

Comments
 (0)