Skip to content

Commit

Permalink
List of included changes:
Browse files Browse the repository at this point in the history
  - Add symbol example in kotlin implementation.

PiperOrigin-RevId: 527307216
Change-Id: Ia6befe79150510a51ddfb19bc04e5e86c748d410
  • Loading branch information
Google ML Kit authored and Lei YU committed May 1, 2023
1 parent 55c05fc commit c1411e9
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ constructor(
Log.d(TAG, "Element language is: " + element.recognizedLanguage)
Log.d(TAG, "Element confidence is: " + element.confidence)
Log.d(TAG, "Element angle is: " + element.angle)
for (symbol in element.symbols) {
Log.d(TAG, "Symbol text is: " + symbol.text)
Log.d(TAG, "Symbol boundingbox is: " + symbol.boundingBox)
Log.d(TAG, "Symbol cornerpoint is: " + Arrays.toString(symbol.cornerPoints))
Log.d(TAG, "Symbol confidence is: " + symbol.confidence)
Log.d(TAG, "Symbol angle is: " + symbol.angle)
}
}
}
}
Expand Down

0 comments on commit c1411e9

Please sign in to comment.