I’m Running Dextor’s version of Rasbian on a Raspberry 3
and using a Python script (camera-vision-logo.py)
I’m using the Cloud Vision Api to return Logos - using ‘LOGO_DETECTION’ - that works fine
Was wondering how to get the Pi to speak the returned value/response ?
I’m assuming you have to use Espeak which I’ve got working, but I’m just not sure how to covert the returned logo response to speech ?
have this working now
but if anyone has another way, nicer etc, i’m always interested
within the script I’ve defined the creation of a text file
and am writing the LABEL variable into that file, which is ‘response’ i.e. the logo
Once file is written to and closed
Then have Espeak read the file and speak what ever is in there (the response from Google Vision Api)
that’s it…he says after cpl hours of banging my head