openfoodfacts / openfoodfacts-androidapp

Native version of Open Food Facts on Android - Coders & Decoders welcome 🤳🥫
https://android.openfoodfacts.org
Apache License 2.0
754 stars 443 forks source link

Speech synthesis of food data #55

Open LuccoJ opened 8 years ago

LuccoJ commented 8 years ago

The application could be used as an accessibility aid for people who can't easily read the (usually very small) ingredient lists or other data on food labels. This possibility would be enabled, or at least improved, if the app had support for speaking out ingredients and other data after scanning a barcode, using Android's TTS API in the appropriate language.

teolemon commented 8 years ago

The current implementation is an ON/OFF toggle.

LuccoJ commented 8 years ago

Please keep the toggle, because speech synthesis can be useful even for people without severe enough vision disabilities to have other aids enabled on Android (which I assume you would use to autodetect). Ingredient lists and nutritional tables are often just very tiny. Of course, the toggle in addition to autodetection would be fine.

teolemon commented 7 years ago

https://material.io/icons/#ic_record_voice_over

huzaifaiftikhar commented 6 years ago

@teolemon for Android's TTS API we need the locale of the string that needs to be spoken out. Currently, we do not know the ingredient's language. We just display what we get in the JSON from the server without any knowledge of the locale of this string. Therefore to implement this feature we need to update the API to get information about the Ingredient's language.

kartikaysharma01 commented 3 years ago

Any update on this @teolemon