Skip to content Skip to sidebar Skip to footer

How Can I Add Text-to-speech In Tensorflow Lite Object Detection Android Based Application?

I am trying to build an app that will help visually impaired individuals detect objects/hurdles in their way. So using the TensorFlow library and the android text-to-speech once an

Solution 1:

I saw the project of Object detection. You can find the results of the inference in 2 places inside project:

First you can find them inside

TFLiteObjectDetectionAPIModel.java 

There you can add a log statement at line 227 for

recognitions object

for example

Log.i("Recognitions", String.valueOf(recognitions.get(0).getTitle()));

Second inside

DetectorActivity.java

You can log

results object

at line 181.

Then you can follow this example to integrate TtS. I am a little pesimist of the result because MultiboxTracker gives a lot of results in every second....and I don't know the performance if a lot of objects are detected!!

You have to filter some results.

I am really interested on the result!!

If you need more help tag me

Happy coding!

Post a Comment for "How Can I Add Text-to-speech In Tensorflow Lite Object Detection Android Based Application?"