Skip to content

Commit f16a71f

Browse files
committed
Use videos from pubilc bucket, update to new client library.
1 parent 4c58618 commit f16a71f

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

video/cloud-client/analyze/README.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This directory contains samples for Google Cloud Video Intelligence API. `Google
88

99

1010

11-
.. _Google Cloud Video Intelligence API: https://cloud.google.com/video-intelligence/docs
11+
.. _Google Cloud Video Intelligence API: https://cloud.google.com/video-intelligence/docs
1212

1313
Setup
1414
-------------------------------------------------------------------------------
@@ -82,26 +82,26 @@ To run this sample:
8282
$ python analyze.py
8383
8484
usage: analyze.py [-h] {faces,labels,labels_file,safe_search,shots} ...
85-
85+
8686
This application demonstrates face detection, label detection, safe search,
8787
and shot change detection using the Google Cloud API.
88-
88+
8989
Usage Examples:
90-
91-
python analyze.py faces gs://demomaker/volleyball_court.mp4
92-
python analyze.py labels gs://demomaker/cat.mp4
93-
python analyze.py labels_file resources/cat.mp4
94-
python analyze.py shots gs://demomaker/gbikes_dinosaur.mp4
95-
python analyze.py safe_search gs://demomaker/cat.mp4
96-
90+
91+
python analyze.py faces gs://cloudmleap/video/next/volleyball_court.mp4
92+
python analyze.py labels gs://cloudmleap/video/next/fox-snatched.mp4
93+
python analyze.py labels_file resources/fox-snatched.mp4
94+
python analyze.py shots gs://cloudmleap/video/next/gbikes_dinosaur.mp4
95+
python analyze.py safe_search gs://cloudmleap/video/next/animals.mp4
96+
9797
positional arguments:
9898
{faces,labels,labels_file,safe_search,shots}
9999
faces Detects faces given a GCS path.
100100
labels Detects labels given a GCS path.
101101
labels_file Detects labels given a file path.
102102
safe_search Detects safe search features the GCS path to a video.
103103
shots Detects camera shot changes.
104-
104+
105105
optional arguments:
106106
-h, --help show this help message and exit
107107
@@ -123,4 +123,4 @@ to `browse the source`_ and `report issues`_.
123123
https://github.com/GoogleCloudPlatform/google-cloud-python/issues
124124
125125
126-
.. _Google Cloud SDK: https://cloud.google.com/sdk/
126+
.. _Google Cloud SDK: https://cloud.google.com/sdk/

video/cloud-client/analyze/analyze.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
2020
Usage Examples:
2121
22-
python analyze.py faces gs://demomaker/volleyball_court.mp4
23-
python analyze.py labels gs://demomaker/cat.mp4
24-
python analyze.py labels_file resources/cat.mp4
25-
python analyze.py shots gs://demomaker/gbikes_dinosaur.mp4
26-
python analyze.py safe_search gs://demomaker/cat.mp4
22+
python analyze.py faces gs://cloudmleap/video/next/volleyball_court.mp4
23+
python analyze.py labels gs://cloudmleap/video/next/fox-snatched.mp4
24+
python analyze.py labels_file resources/fox-snatched.mp4
25+
python analyze.py shots gs://cloudmleap/video/next/gbikes_dinosaur.mp4
26+
python analyze.py safe_search gs://cloudmleap/video/next/animals.mp4
2727
2828
"""
2929

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://storage.googleapis.com/videointelligence-alpha/videointelligence-python.zip
1+
google-cloud-videointelligence==0.25.0

0 commit comments

Comments
 (0)