Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: incorrect and misleading attribute description for person detect…
…ion samples
  • Loading branch information
morgandu committed Dec 10, 2020
1 parent 29780b7 commit 6fc6bb1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/snippets/src/main/java/video/DetectPerson.java
Expand Up @@ -101,7 +101,7 @@ public static void detectPerson(String localFilePath) throws Exception {
// posture of the person detected.
TimestampedObject firstTimestampedObject = track.getTimestampedObjects(0);

// Attributes include unique pieces of clothing, poses, or hair color.
// Attributes include unique pieces of clothing, poses (i.e., body landmarks) of the person detected.
for (DetectedAttribute attribute : firstTimestampedObject.getAttributesList()) {
System.out.printf(
"\tAttribute: %s; Value: %s\n", attribute.getName(), attribute.getValue());
Expand Down
2 changes: 1 addition & 1 deletion samples/snippets/src/main/java/video/DetectPersonGcs.java
Expand Up @@ -93,7 +93,7 @@ public static void detectPersonGcs(String gcsUri) throws Exception {
// posture of the person detected.
TimestampedObject firstTimestampedObject = track.getTimestampedObjects(0);

// Attributes include unique pieces of clothing, poses, or hair color.
// Attributes include unique pieces of clothing, poses (i.e., body landmarks) of the person detected.
for (DetectedAttribute attribute : firstTimestampedObject.getAttributesList()) {
System.out.printf(
"\tAttribute: %s; Value: %s\n", attribute.getName(), attribute.getValue());
Expand Down

0 comments on commit 6fc6bb1

Please sign in to comment.