kenanekici / pepper-google-assistant Goto Github PK
View Code? Open in Web Editor NEWCustomized SDK Google Assistant sample for the Pepper humanoid robot with Flask and PYNAOqi
License: Apache License 2.0
Customized SDK Google Assistant sample for the Pepper humanoid robot with Flask and PYNAOqi
License: Apache License 2.0
Hello! I'd be interested in how you can perform the speech recognition for the bot.
I see you used the endpoint https://cxl-services.appspot.com/proxy?url=https%3A%2F%2Fspeech.googleapis.com%2Fv1p1beta1%2Fspeech%3Arecognize
How does this work? Is Google Cloud basically offering their features for free through this proxy?
I also found this proxy, and Googling the link lead me to this line in your file: https://github.com/kenanEkici/pepper-google-assistant/blob/master/webserver.py#L92
I found out that Google uses that proxy for a demo, but that demo requires the completion of a captcha, after which grants your IP to a ≈4h whitelist for using the proxy. Is this consistent with your results?
How are you doing this without completing captchas every 4 hours?
In addition, does this mean that we can create another proxy where there is a Selenium webscraping bot that uses a Buster-like technique to automatically complete the captcha every four hours (I can make that happen)? This means the IP of the proxy will always be whitelisted, so we can allow the entire world to synthesize text through the proxy, without paying for Google Cloud services.
Any contact would be greatly appreciated!
Greeting!
Is it possible for you to write a step-by-step Google Assistant installation guide for my Pepper robot, it would be awesome if you could, so I don't mess everything up(Just in case and so others can use such a piece of useful information)!
I am looking forward to hearing from you soon!
Best regards!
To install pip and python 2.7 on the pepper robot:
Connect to the robot using SSH. I used PuTTY, connect to the robot's IP (tap his chest button and he'll say it) and it'll ask you to authenticate. Once you're logged in, enter these commands.
wget https://bootstrap.pypa.io/get-pip.py
python get-pip.py --user
Originally posted by @skimbeh in #2 (comment)
Do you know of a way to not need portaudio or to install it on the robot maybe?
If this was possible, we could run the assistant directly on the robot.
Hi,
Can you please write step-by-step instruction for this repository?
When I run FLASK_APP=webserver.py flask run
on my computer, I get this error:
* Serving Flask app "webserver.py"
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
* Debug mode: off
Usage: flask run [OPTIONS]
Error: While importing "pepper-google-assistant.webserver", an ImportError was raised:
Traceback (most recent call last):
File "/home/spoody/Projects/pepper-google-assistant/env/lib/python3.7/site-packages/flask/cli.py", line 235, in locate_app
__import__(module_name)
File "/home/spoody/Projects/pepper-google-assistant/webserver.py", line 8, in <module>
from naoqi import ALProxy
ModuleNotFoundError: No module named 'naoqi'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.