Skip to content

Commit de05c34

Browse files
pstollJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
Tweak doc/help strings for sample tools (#1160)
* Corrected copy-paste on doc string * Updated doc/help string to be more specific to labels tool * Made shotchange doc/help string more specific * Tweaked doc/help string to indicate no arg expected * Adjusted import order to satisfy flake8 * Wrapped doc string to 79 chars to flake8 correctly * Adjusted import order to pass flake8 test
1 parent 1a602ce commit de05c34

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

video/cloud-client/faces/faces.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
"""This application demonstrates how to perform shot change detection with the
18-
Google Cloud Video Intelligence API.
17+
"""This application demonstrates how to perform face
18+
detection with the Google Cloud Video Intelligence API.
1919
2020
For more information, check out the documentation at
2121
https://cloud.google.com/videointelligence/docs.

video/cloud-client/labels/labels.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
"""This application demonstrates how to perform basic operations with the
18-
Google Cloud Video Intelligence API.
17+
"""This application demonstrates how to detect labels from a video
18+
based on the image content with the Google Cloud Video Intelligence
19+
API.
1920
2021
For more information, check out the documentation at
2122
https://cloud.google.com/videointelligence/docs.

video/cloud-client/quickstart/quickstart.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
"""This application demonstrates label detection using the Google Cloud API.
17+
"""This application demonstrates label detection on a demo video using
18+
the Google Cloud API.
1819
1920
Usage:
2021
python quickstart.py
22+
2123
"""
2224

2325

video/cloud-client/shotchange/shotchange.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
"""This application demonstrates how to perform basic operations with the
18-
Google Cloud Video Intelligence API.
17+
"""This application demonstrates how to identify all different shots
18+
in a video using the Google Cloud Video Intelligence API.
1919
2020
For more information, check out the documentation at
2121
https://cloud.google.com/videointelligence/docs.

0 commit comments

Comments
 (0)