googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature request] Disable logging for DigitalInkRecognition on iOS

widgt opened this issue · comments

What's your feature request? Please describe.
Or is there already a way to do this? TIA.
Mobile environment
iOS

Additional context
Add any other context or screenshots about the feature request here.

Hello,
why would you need to disable the logging? What is your use case?

Hi,
The logging was useful when setting things up, but MLKit is working fine and I don’t need to see it anymore. It kind of gets in the way now that I’m debugging the rest of my app.

Can you list some examples of the logs that you are seeing, and would like to turn off?

(working with Japanese; these lines will appear for each stroke drawn)

I0000 00:00:1707754978.693351 2 tf_recognizer.cc:192] inkhash: a935e9f435c94679
I0000 00:00:1707754978.696022 2 tf_recognizer.cc:219] LabeledInkCurveProcessor returned 3 timesteps for a935e9f435c94679.
I0000 00:00:1707754978.699293 2 tf_recognizer.cc:293] best result: '十' score: -67.5868
I0000 00:00:1707754978.699345 2 tf_recognizer.cc:344] 1 request 44.76% 2.7ms overall 47.02% 0.00s LabeledInkProcessor
2 request 28.49% 1.7ms overall 27.07% 0.00s RunTfLiteModelRunner
3 request 26.76% 1.6ms overall 25.91% 0.00s Decoder
request 5.9ms overall 0.01s Total
I0000 00:00:1707754978.699383 2 helper.cc:162] Recognition result: 十 with score: -67.5868