Skip to content

Commit

Permalink
replace demomaker with cloud-samples-data/video for video intelligenc…
Browse files Browse the repository at this point in the history
…… [(#2162)](GoogleCloudPlatform/python-docs-samples#2162)

* replace demomaker with cloud-samples-data/video for video intelligence samples

* flake
  • Loading branch information
dizcology authored May 16, 2019
1 parent d44b097 commit e20b3a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions samples/analyze/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ To run this sample:
python analyze.py labels gs://cloud-ml-sandbox/video/chicago.mp4
python analyze.py labels_file resources/cat.mp4
python analyze.py shots gs://demomaker/gbikes_dinosaur.mp4
python analyze.py explicit_content gs://demomaker/gbikes_dinosaur.mp4
python analyze.py shots gs://cloud-samples-data/video/gbikes_dinosaur.mp4
python analyze.py explicit_content gs://cloud-samples-data/video/gbikes_dinosaur.mp4
positional arguments:
{labels,labels_file,explicit_content,shots}
Expand Down Expand Up @@ -157,4 +157,4 @@ to `browse the source`_ and `report issues`_.
https://github.com/GoogleCloudPlatform/google-cloud-python/issues


.. _Google Cloud SDK: https://cloud.google.com/sdk/
.. _Google Cloud SDK: https://cloud.google.com/sdk/
2 changes: 1 addition & 1 deletion samples/analyze/beta_snippets_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def test_track_objects():

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

text_exists = False
Expand Down
2 changes: 1 addition & 1 deletion samples/analyze/resources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Copy from Google Cloud Storage to this folder for testing video analysis
of local files. For `cat.mp4` used in the usage example, run the following
`gcloud` command.

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

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

0 comments on commit e20b3a3

Please sign in to comment.