Questions tagged [google-aiy]
Tag for Google AIY projects, a series of do-it-yourself kits for makers to explore creative uses of artificial intelligence (AI).
46
questions
0
votes
0
answers
7
views
Seeking Advice on AIY Vision Kit Integration with Coral.ai USB Accelerator and Optimal YOLO Version
I am currently working on a project that involves integrating the AIY Vision Kit with the USB Accelerator from Coral.ai. I am aiming to enhance the performance of my computer vision application and am ...
0
votes
0
answers
11
views
Problem with running a wire from the AIY shield to the microphone and speaker
I'm building a project for a museum in which participants can record their own audio descriptions of the art. I'm using the voicekit 1 and added GPIO functionality for 2 extra buttons.
I’m running ...
0
votes
0
answers
39
views
Compatibility Issues with Google AIY Voice and Dependencies: Seeking Solutions and Alternative Methods
I retrieved the previously functional Google AIY Voice from storage, but encountered some difficulties in getting it to work again. Despite updating the necessary credentials and assistant.json file ...
0
votes
1
answer
240
views
How to set playback volume for soundfile in Google AIY voice kit on Pi Zero in python?
I'm using Google AIY Voice Kit (v2) with Raspberry Pi Zero to build a voice-control robot. It's working great! But I have an elementary question. While the robot is processing user speech (and ...
0
votes
1
answer
466
views
AIY authorization Error running voice/assistant_grpc_demo.py
Have setup the RPi Zero Wireless, with AIY kit and projects, and have setup Voice Kit Google Project and enabled Google assistant, and setup user credentials(OAuth)
Running the voice/...
0
votes
1
answer
623
views
Got a google AIY Authorization Error while trying to connect to google cloud
I was at the cd ~/AIY-projects-python/src/examples/voice ./assistant_library_demo.py
part, after i got the link and pasted it into the browser i got this error:
Error 403: access_denied The developer ...
0
votes
1
answer
264
views
How do I get the GPIO expansion pins to work with input devices (e.g., Distance Sensor)?
I'm trying to use an HC-SR04 distance sensor with the AIY voice kit. I used the setup in the image link below, except using bonnet PIN_A and PIN_B instead of RPi GPIO23 and 24, and I used a 1000 Ohm ...
4
votes
5
answers
23k
views
Raspberry Pi Error with picamera.exc.PiCameraMMALError: Failed to enable connection: Out of resources
When running a program on the Raspberry Pi Zero W, which involved the RPi Camera, I encountered an issue. This was based on the Joy Detector Demo, from the AIY Kit. Normally, it would change LED ...
1
vote
0
answers
128
views
How to compile model based on keras.applications(for transfer learning) for the Google aiy vision kit
I've been trying 2 years(not continuously, moving to other things and then going back) to compile and run a keras.applications based model in the vision kit, i have unsuccessfully tried lots of ...
1
vote
3
answers
2k
views
How to remove layers from a keras model in order to use as baseline for creating another model
I need to use a pre-trained model in Keras(keras.applications.VGG16) as a baseline for creating another model(for doing transfer learning) from the first layers of it. The end goal is to freeze and ...
-1
votes
1
answer
412
views
Unknown format error on running examples on coral board along with coral camera
I was running examples from google coral. They worked fine on my coral board. Then i modified the examples after following this post to increase fps output of camera.
The details of platform :
...
1
vote
0
answers
97
views
How to rotate camera 90 degree with AIY Vision Bonnet?
I need to set camera rotation to 90 degree due to hardware constrains of the project I am building.
I have tried using PiCamera examples and set camera.rotation = 90. That rotates preview correctly, ...
0
votes
1
answer
284
views
How to shutdown AIY voice kit with button
I use below code for AIY VOICE KIT google assistant. This kit uses a raspberry pi to run google assistant. So basicly you can build your own mini google home and control other raspbery pis or whatever ...
0
votes
0
answers
110
views
gpio zero button press error with aiy pins.py
With a button connected to GND and PIN_D on a V2 AIY Voice Bonnet and code:
from gpiozero import Button
from signal import pause
from aiy.pins import PIN_D
button = Button(PIN_D)
button....
0
votes
1
answer
683
views
Gstreamer does not work with other user than mendel
I have a google coral dev board. I want the gstreamer plugin to work with user other than default user mendel .I performed the following steps and ran into problem.
Installed the gstreamer using the ...
0
votes
1
answer
274
views
Is there any example of how to use the digital input or analog input of GPIO on google aiy voice board?
I can not read the input from the motion sensor (HC-SR501) which connects to PIN_A of the expansion pins on the voice bonnet of my aiy voice kit.
Below are the code and the error message, please shed ...
0
votes
0
answers
73
views
What is the best way to send data from a python script on a raspberry pi to a place that a chrome extension could access?
So I'm working on an attendance system using an AIY Voice kit which I've programmed to when I say "Ok google, take attendance" It starts listing names and when you say here or absent, then it sorts ...
0
votes
0
answers
50
views
Cloudspeech demo in voice AIY kit cryptography error
I am running the cloudspeech_demo.py in my Google AIY voice kit.
I have also included the Google Cloud Speech to Text credentials
This is the error I am running into
INFO:root:Initializing for ...
0
votes
0
answers
124
views
How can I run Assistant demo in bootup in my AIY?
I'm building Google Assistant in my AIY Voice Kit V1, and want to make it respond when it booted up. But I have problems with making it in reality.
Being new in both Linux and Raspberry Pi, now I have ...
0
votes
1
answer
2k
views
google-assistant-demo and googlesamples-assistant-hotword segmentation fault
I tried to install google assistant on raspberry pi3 b+ using these instructions - https://developers.google.com/assistant/sdk/guides/service/python/ - and using GassistPi.
In both cases when I run ...
0
votes
1
answer
75
views
Where can I download mobilenet_v1_160res_0.5_imagenet_labels.txt for local testing?
For our course projects, we started off with Google's AIY Vision kit. I am looking into how to use output for next level processing. We are all newbies to ML
I am testing image classification using ...
0
votes
1
answer
267
views
GPIO access from Voice Bonnet
I have a Google AIY Voice Kit. I want to use the raspberry pi to create a water dispenser system. I need access to the GPIO to connect relay and motors. Can I access them via Google Voice Bonnet or I ...
0
votes
1
answer
984
views
aiy.led and aiy.board modules do not exist
I am trying to import a module to control the LED in the button of the voice AIY. I have version 2 of the kit. Using both the v2 instructions and the v1 instructions, I get an ImportError when trying ...
0
votes
1
answer
678
views
Fatal Python Error: Segmentation Fault when running my own voice assistant program
I have an error when i run my custom voice assistant program on Raspberry Pi 3B .This script is made from two programs from examples(assistant_library_demo.py and cloud_speech.py).Consequently the ...
0
votes
0
answers
303
views
make a python script (google assistant) program as a service to start on boot
I have a google aiyproject voice kit. I have setup authentication and everything work when the script is run from terminal, like ./example.py. I configured the same script as a systemctl service, and ...
0
votes
0
answers
108
views
Python : Problem using google AIY and Google TextToSpeech
I'm having an issue with python and my AIY voice kit on a Raspberry Pi 3B+.
I can get the AIY voice kit to work, recognise trigger words and all.
I can also get google's TextToSpeech API working no ...
0
votes
1
answer
596
views
Build of "aiy-vision-dkms" fails
I am trying to install the Google AIY Vision Bonnet on Raspian Stretch 4.14.79-v7+, as explained in https://github.com/google/aiyprojects-raspbian/blob/aiyprojects/HACKING.md, but the build of aiy-...
0
votes
0
answers
970
views
What paramaters does android's AudioTrack need to play the output of TextToSpeech.synthesizeToFile?
I want to play the output of android's TextToSpeech.synthesizeToFile using AudioTrack but fear I'm passing AudioTrack's builders the wrong parameters. I copied one of the files generated with ...
0
votes
2
answers
975
views
Trigger my Google Assistant App on pressing a button
I have a AIY Voice Kit fully assembled and functional (I have tested the 3 demos.py sucessfully).
I managed to launch the demo where we have to push the button to launch the Google assistant.
But now ...
1
vote
0
answers
118
views
google aiy vision kit compiler: get output node from tensorboard
I'm trying to deploy to a google aiy vision kit v2 a custom model trained with Keras API in Tensorflow,when compiling the model from a .pb Tensorflow file with the vision kit compiler i get:
output ...
0
votes
1
answer
1k
views
google home app recognising the google AIY voice kit as a light
I recently bought and setup the google aiy voice kit, using the google assistant sdk. When I opened up my google home app, I noticed the voice kit being detected as a light, I was wondering if this ...
0
votes
0
answers
87
views
How to connect Google Voice Kit to Google Actions created by the same account?
I've connected a Google AIY Voice Kit to my laptop, creating credentials (following this tutorial) using the same account as I used to create the google actions, I've registered my device, I'm out of ...
0
votes
1
answer
62
views
GRPC get function call when nothing is spoken
I am using the GRPC demo provided by the AIY voice kit as a template for an assistant that uses custom commands. The AIY version I am using has a file structure set up for both vision and voice (but I ...
0
votes
2
answers
275
views
Google AIY Voicekit V1 doesn't respond
When running the AIY voice kit "assistant_grpc_demo.py" demo app, it recognizes what I said, but no reply comes from it.
Also, for the "assistant_library_demo.py" demo app, it detects when I say "Ok ...
0
votes
1
answer
141
views
AIY Vision Kit - does CameraInference always grab the latest/current frame?
If my model is taking 80ms to process each frame (12.5fps) but the camera is running at 30fps, how does CameraInference handle the next frame to process?
Does it grab the current the current frame ...
1
vote
4
answers
813
views
[google-aiy]: Two vision bonnets on RPi
This is related to project that I'd like build using Google AIY VIsion Kit + Raspberry Pi.
I'd like to attach two vision bonnets to RPi zero W. I realized that Pi interacts with Vision Bonnet using ...
1
vote
2
answers
485
views
AIY Voice Kit with Voice HAT on Raspberry Pi 3 suddenly requires Google Assistant on phone. Why?
After deleting all activity associated with the Google account linked to the AIY Voice Kit Pi project, the Assistant no longer responds to voice input queries. Now the Assistant responds, "Actually ...
0
votes
0
answers
608
views
Google Aiy: no module named 'aiy.assistant.device_helpers'
Iv been trying to get a python script to run which plays music from youtube.
if you say "play (song name)" it will go to youtube, find that song and play it. But every time I run it I get: No module ...
0
votes
2
answers
1k
views
How to run Google Assistant library (on AIY kit), upon startup of Raspberry Pi?
We set up a voice kit using Raspberry Pi (using "the MagPi essentials AIY Projects" manual). We are able to enable Google Assistant using the command "src/assistant_library_demo.py" in the dev ...
0
votes
0
answers
304
views
Conversation with google assistant sdk
I'm working with the google voice-aiy kit.
As far as I see with the assistant-sdk you should continuously say "Ok google" to ask one question and then start over if you want another one.
How this ...
0
votes
1
answer
210
views
Google Voice AIY Login accounts
do you think it is possible to implement a feature like the following one Google Home Setup in order to let the voice AIY kit to be discoverable in a wifi network and have a person logging in to it?
-3
votes
1
answer
354
views
Unknown Syntax Error in google aiy voice kit code [duplicate]
When running the following code there is a syntax error. I have researched and the syntax error happens for no reason that I know. The syntax error is: File "src/cloudspeech_demo.py", line 49 elif '...
1
vote
0
answers
557
views
Raspberry Pi 3 and the new Google AIY Voice Kit SDK - how to adapt the old SDK mod guides?
I have just purchased a Google AIY Voice Kit to use with my Raspberry Pi and I am trying to follow instructions on how to use the voice commands to control a Philips Hue lighting system.
The problem ...
1
vote
0
answers
170
views
best approach towards cloud speech "streaming" solution?
i am making a small transcription service and am thinking about my best options, any advice is very welcome.
i'm modifying the google voice aiy demo to do long form (~1hr) transcripts. for this i ...
0
votes
0
answers
1k
views
Google Assistant Raspberry Pi Check audio errors
I'm trying to use the google assistant aiy on the Raspberry Pi WITHOUT the voicehat, since it was sold out way to soon.
I've found a tutorial which I followed.
http://www.androidauthority.com/build-...
0
votes
1
answer
3k
views
How do I change the Hot Word (wake word) on Google Assistant Raspberry Pi 3 (Non-AIY Kit)
I've found some great tutorials around the internet on how to change the wake word on the AIY Kit for the Raspberry Pi (Here's a good video of that), but cannot find one anywhere on how to change the ...