Skip to content

Commit eb80dab

Browse files
docs: generate sample code in the Java microgenerator (#395)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/b5715173-fa09-4f29-8c69-530ae787b970/targets - [ ] To automatically regenerate this PR, check this box. PiperOrigin-RevId: 356341083 Source-Link: googleapis/googleapis@8d8c008
1 parent c6ab32a commit eb80dab

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ 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 (i.e., body landmarks) of the person detected.
104+
// Attributes include unique pieces of clothing, poses (i.e., body landmarks)
105+
// of the person detected.
105106
for (DetectedAttribute attribute : firstTimestampedObject.getAttributesList()) {
106107
System.out.printf(
107108
"\tAttribute: %s; Value: %s\n", attribute.getName(), attribute.getValue());

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ 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 (i.e., body landmarks) of the person detected.
96+
// Attributes include unique pieces of clothing, poses (i.e., body landmarks)
97+
// of the person detected.
9798
for (DetectedAttribute attribute : firstTimestampedObject.getAttributesList()) {
9899
System.out.printf(
99100
"\tAttribute: %s; Value: %s\n", attribute.getName(), attribute.getValue());

0 commit comments

Comments
 (0)