Skip to content
Permalink
Browse files
fix: incorrect and misleading attribute description for person detect…
…ion samples
  • Loading branch information
morgandu committed Dec 10, 2020
1 parent 29780b7 commit 6fc6bb1adc0153b5fd17395b5fe9b71016ffd936
Showing with 2 additions and 2 deletions.
  1. +1 −1 samples/snippets/src/main/java/video/DetectPerson.java
  2. +1 −1 samples/snippets/src/main/java/video/DetectPersonGcs.java
@@ -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());
@@ -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());

0 comments on commit 6fc6bb1

Please sign in to comment.