Skip to content

Commit 9d9c5d7

Browse files
committed
fix: incorrect and misleading attribute description for person detection samples
1 parent 9ae9a96 commit 9d9c5d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

video/src/main/java/video/DetectPerson.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public static void detectPerson(String localFilePath) throws Exception {
101101
// posture of the person detected.
102102
TimestampedObject firstTimestampedObject = track.getTimestampedObjects(0);
103103

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

video/src/main/java/video/DetectPersonGcs.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public static void detectPersonGcs(String gcsUri) throws Exception {
9393
// posture of the person detected.
9494
TimestampedObject firstTimestampedObject = track.getTimestampedObjects(0);
9595

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

0 commit comments

Comments
 (0)