Raspberry Pi AI: Picroft Voice Assistant
Вставка
- Опубліковано 6 сер 2024
- Picroft voice assistant installed on a Raspberry Pi 4, including device pairing, WiFi setup, audio configuration, and various demonstrations of this free AI. Picroft is the Raspberry Pi version of the Mycroft open source voice assistant, and can be obtained from mycroft.ai/
Note that I have no association with Mycroft, and that this is not sponsored content.
The USB dongle microphone I used in my Picroft setup appears to be a generic model, and is available on Amazon.com here: amzn.to/3mxa0Ss and on Amazon.co.uk here: amzn.to/3JxDtFZ Note that these are affiliate links, and that as an Amazon Associate I earn from qualifying purchases when you click on them.
My previous “Raspberry Pi Google AIY Voice Kit” video is here:
• Raspberry Pi Google AI...
And my “Alexa AI on Raspberry Pi” video is here:
• Alexa AI on Raspberry Pi
Finally, my recent ExplainingTheFuture video on “AI, Robots & the Future” is here:
• AI, Robots & the Future
More videos on computing and related topics can be found at / explainingcomputers
You may also like my ExplainingTheFuture channel at: / explainingthefuture
Chapters:
00:00 Introduction
00:58 Hardware
05:13 Getting Picroft
07:44 Setup
11:52 Pairing & Demo
15:41 Config & Skills
20:32 More Pi AI
#Picroft #RaspberryPi #AI #Mycroft #ExplainingComputers - Наука та технологія
This whole channel is a gem. Zero pre-tense, no click-bait, no fluff. Just good, honest content. Thank you.
:)
Since you ask, this is exactly the sort of content for which I go to this channel. Before this, despite having briefly fiddled with the Voice AIY and having an interest in voice recognition and IOT, I hadn't even heard of Mycroft. I use my "smart speakers" a lot but really don't want large tech companies in the loop when a FOSS solution exists.
I have been running picroft for around a year in an AIY kit, works great been up for 219 days continuously.
Now this impressive feedback -- thanks for sharing! :)
Picroft is such an interesting project. You can make it completely offline as well using a pre trained deep speech model. There is a video on their UA-cam channel with a pi4 offline doing some home automation with custom skills. Would love to see more pi AI. Thanks for another great video good Sir.
jscollett Thank you for the the offline and automation information.
@Matt I think out of all the personal assistants Mycroft is the most privacy oriented. After following them for years i can say that I trust them the most. I'm like you i don't want to rely on an internet connection.(and privacy)I want a lot of functions to work without it. For weather yeah i get that. Most other things....we can do offline.
@jscollet
lol, i just posted something the same :D :D I've used deepspeech for it (my coffee machine). what did you use?
Regards,
Rik
I lost interest when he said it uses their servers. If theres a local way this sounds significantly more interesting to me. Thanks for the info. Would be nice to know how it compares for features (still full set of internet services?), whether the local training data (and service plugins) automatically gets updated periodically, whether services can be moved fully client-side too (like WolframAlpha, suspect not), how much is the response time improved by cutting out all the voice uploads (or is it even worse depending on processing power)?
Can I mimic their cloud configuration on my own VPS?
I'd advise against having Mycroft control the studio doors. At some point, he might tell you that 'the problem can only be attributable to human error', and refuse to open them.
Very good advice!
Excellent reference to a computer first activated 12 January 1992 (in 3 days to be 30 years old) (movie reference), but hopefully more like Mycroft Holmes IV (Moon is a Harsh Mistress)...
"Open the studio doors"
"I'm sorry, Dave. I can't do that."
"I'm not Dave!!!"
@@ExplainingComputers I have always wondered if it would be possible to make a doorbell with camera out of a Pi or some other maker board?
@@brianm6337 Dave's not here!
Wow, i just got a homework to write a paper about Raspberry Pi Voice Assistant and you uploaded this video two days ago. Wow you made my day, thanks!
That's awesome!
I'm absolutely gutted this wasn't around when I was doing my PhD! Open source voice assistants and synthesised speech via a Pi was something of a rarity back then. Things have moved on so much!
just wanted to drop that you have a PhD.....I get it man, that's a lot of work.
@@jasoneverett Not at all. A PhD is a lot of work but it's not the reason I mentioned it! 🙂 My work was in this area and I'd wanted an entire implementation on a PI so I could carry it around for demonstrations / studies. Unfortunately the technology just wasn't available. So I ended up lugging around a huge heavy laptop!
Great stuff, as usual. I love the micro processor boards and seeing all the potential they have.
Love the testing sequence of the microphone.
Wow dude. You have the most polished videos. I love the way you have the setup options pop up in a box on the video. Makes it so helpful for following along. 👍
Excellent lesson. Interesting and well presented. I like the Raspberry Pi episodes. Thanks
Well Chris, would't you know it, I actually DO have a Playstation Eye hanging around. I've managed to use it with several applications on laptop and desktop pc as someone once created a driver that can be persuaded to co-operate with non-Playstation systems. As old as it is I always thought it would make a good microphone and/or webcam if only I could get it to run. As someone who previously ran an Alexa-type system on a Raspberry Pi following instructions in one of your videos (I used the recommended usb standalone mini-mic at the time) I am over the moon to see that this new Alexa-like project is compatible with the Playstation Eye out of the box. When I have time I'll try to get this all up and running. Great stuff Chris. You are one of the most inspirational and helpful people on UA-cam as far as I'm concerned. You make everything so accessible.
As always Chris makes excellent videos that are thought provoking, just think of the future possibilities as things improve. Looking forward to next Sunday :)
Another neat Pi project from our favourite channel EC. Nice DIY voice assistant.
Nice improvements over the 2017 video info. Thanks for another great one Chris.
Chris has outdone himself! Packed with info presented in his usual literate and humorous style, and not least, with clean fingernails!
SMINA
Thank you for the reminder about the new video on your Explaining the Future channel. I'd forgotten that you were publishing one video a month there now, and I hadn't watched it yet.
Oh man, the quality of this video is incredible. Good job!
Thanks. :)
Cool setup, thanks Chris for a very useful Pi video.
Great Video! Yes, more AI content please! Home automation using a Raspberry Pi would be interesting if possible.
Yes, especially if everything could be computed locally...
I don't need Big Tech to listen to everything I say (That's why I put my mobile phone away when I'm home...).
Great stuff as usual! I would enjoy a video on other Mycroft skills.
Thank you for the high quality content you're creating; Your videos are always a pleasue to watch and learn from! Gracias...
I love your channel and have been watching it for the past year or so. You are always very informative, clear and humorous.
I would love more AI topics
Thanks for this post and for watching. :)
It would be awesome to see a series on this. I like the idea of virtual assistants, but I don't like using the off the shelf solutions for a number of reasons. Ideally I'd like to see local speech processing, and the ability to interface with either LAN devices, or Zigbee/Z-wave hubs. Deep learning would also be cool to see. Great video as always!
Yes, more AI tutorials with raspberry pi and jetson nano. Thanks for your great videos !!!!!
Great video! I remember that you cover Raspberry Pi Google AIY Voice Kit in 2017, at that time I built one Google Assistant too running on an old RaspberryPi2 (ArchLinux) + PS3Eye Camera (cheap + good microphones) + speaker and with a hack to accept voice command "Ok Google" without need to press a button, it works great too.
Thanks for sharing this. I'll be following these instructions very soon to set up my own Picroft!
Thank you very much for your outstanding presentation Professor Barnatt. I had long wanted to experiment with voice-activated AI, but hadn't made up my mind to do so because the other "free" services don't respect privacy. This excellent video has provided me with the existence of a private and open source solution. At the moment I have a very tight work schedule but I am planning to experiment with Mycroft for the end of January 2022, but on the Linux platform.
Please I would love to see more Mycroft AI.Greetings.
I didn’t know about picroft, fantastic video I see a small project coming up for me. Thanks Chris have a great week.
Greeting Mark -- it seems I have given you a task!
I really like this. Nicely done Video Mate. I do hope you'll continue to share your knowledge with me and all willing / wanting to learn.
Brilliant as always Christopher.. Id love to see videos on..
1. AI on the PI...
2. Linux fundamentals - installing an OS, Command line navigation, suggested Linux alternatives to common windows programs..
So many projects, so little time.....
I am just venturing into Pi and Linux thanks to your videos. It is really fun and doesn't blow a lot of cash into a bottomless pit to get started.
Two of my pi's: one is used in the kitchen by my wife as cook book. Made a wooden slim cabinet with an old monitor. Gets used a lot.
Second is a surveillance cam for the house. Works great and was fun to set up.
Great as always Chris
Definitely more interested in more pi AI content :)
I have a few pi's laying around from past experiments that I can use.
Great video! I also use these heatsink cases since the raspberry pi 2! They're great and cool very well.
Thank you Chris for making this, I also knew nothing about open source AI. I have several Pi's and a TinkerBoardS on a network and would love to be able to control them using this. Be an interesting exercise. Thank you again, and a Happy, Healthy and Prosperous New Year to you and yours. Best regards, Peter L
tried mycroft few years ago, time to have another play. thanks for your videos
I just did this last week. The usb mic I have I'm not sure about and got hold of the PlayStation mic. That works fine! Still works out to be a not cheap alternative using a Pi4 but hopefully keeps it personal and private. God video. ATB
Great video! Please continue with this topic!
Excelent video. AI in SBCs is an interesting subject, keep doing videos like this!
I'm checking this out on a spare Pi 3 with a Google AIY hat, and it works very nicely. Hopefully more skills become available with time, but the ones it currently has are still very useful, and I feel better about privacy since it's all open source. Thanks for the video, this is a lot of fun! I'd definitely like to learn more about sensors, screens, cameras, web APIs or other things that can be hooked into the AI system.
Waiting so long for this kind of video! Secure voice assistant!
Good project as always. A mini Colossus - The Forbin Project (1970) starting to come true 😀
Picroft also works well with Home Assistant for basic things like turning lights/switches on and off, hopefully expands more in that regard. It's funny, I had no interest in talking to my phone to ask things, but got really accustomed to it with picoft in the house.
I notice that at no point did we see Christopher except from the midriff up. “We are in Buckingham Palace, the very heart of the British nation. Sherlock Holmes, put your trousers on!” -Mycroft Holmes.
Ah yes, let's release a free version of an AI assistant program for the cheapest computer option on the market and then only officially support proprietary hardware that costs more than the whole computer does.
Brilliant!
It's important to make that proprietary hardware difficult or impossible to obtain, optimally discontinued.
It's one way to stop it from creating a Mycroft Hive Mind that will take over the world. Or at least make it harder. At least they didn't call it Moriarty.
nice introduction! Thanks a lot for the cool project
Hello Chris, Another excellent video. Please continue this AI series. I would be interested to see if this can be implemented on an existing pi4 setup (overclocked, pwm fan script running, and oled display script running) rather than from scratch. Perhaps on a VM or on a docker setup? Very interested to see the GPIO control as well. Real world pi applications. Keep up the great work. Thank you.
Interesting! I have avoided these devices as I don't want to be tied to Amazon. This looks like a nice alternative.
Thank you for this presentation. Shall look forward to more pi ai.
Voice sounds so cool, robotic enough. Picroft's voice was also cool!
And here we meet again
Greetings
The quickest first comment in the west.
Greetings! And you get this week's gold medal for the first comment! :)
@@bfapple well I am from India 🇮🇳
Ah Sunday my favorite day Aka Christopher videos day going to watch it live have a nice week
Thank you. I’ll try this soon. And, yes, I would like to see more AI content on this channel.
I could listen to you talk all day!
Excellent! :)
Great video and even better subject. Thanks.
Great video, something totally new and interesting! Awesome Job!
This channel is so british I want some tea and jaffa cakes. Seriously speaking, thanks for all the content, always top notch!
Best mic test ever 😆
Love your content
Thanks! 😁
Another option for the microphones is recently designed ** Miko ** USB microphone based on the Raspberry Pi RP2040 MCU (for a much improved SNR), for local speech-to-text over deep learning models to be even more private :)
Interesting video as always 👍🙂
Thanks for sharing your experience with all of us 👍😀
This is very interesting. I have avoided corporate video and speech interaction devices (except for my phone that I often put in a Faraday bag) because of privacy concerns. Not that anyone is particularly interested in my life.... But, I have some linux machines around here and I'm definitely going to try this as I see they have a Linux version. Thanks very much.
Thank you for the stimulating video. A great way to start the New Year. Best wishes, Happy New Year.
Very interesting, even though I have no interest in speaking to my phone or PC. It's useful to see how it's done!
Another outstanding video. Please continue investigating AI. Thanks.
Love your videos, i've been working on AI personal companion at home using a jetson nano though, so I could run RNN
Excellent stuff.
Didn't know about Mycroft so kudos for this video. Some follow up questions, for a subsequent video, are:
1. Other English tts voice models? (Jarvis would be great)
2. Is the cloud ASR (and parts) open source such that they can be operated locally without an internet connection?
Even though they promise so fervently that my data will be private, I don't (and never) will trust any external organization to be honest or even to be free from hackers.
You know the adage, "if I don't have root access, then someone else does"
Thank you for this video. I have been aware of the Mycroft project and am glad to see that it has produced usable results. And wouldn't you know it, I just happen to have a spare Pi laying around. Oh. But I think with a name like Mycroft, the British male dialect would be most appropriate.
Happy New Year Chris.
Hello Chris :)
Massive thanks to your two channels, UA-cam must give this man THE algorithm. Need I say more lol
In all seriousness, bestselling content delivered to your face by a interesting beast!
Tom
Perfect, I like this kind of video, it keeps me interested longer than usual, good job😉
Happy to hear that!
I would like very much more videos about this topic. Thanks!
"Hey Joshua!"
>>Boodeep!
"Let's play Global Thermal Nuclear War!"
>>Wouldn't you prefer a nice game of chess?
"Maybe later!"
"Let's play Global Thermal Nuclear War!"
>>... Fine.
:)
Watching this on my new Raspberry Pi 4 overclocked to 2000mhz. I love these things!
:)
"system needs to work on its comic delivery and timing" - LOL
I love this video. Please do more raspberry AI stuff if possible
Why couldn't these devices have been invented when I was a kid at school, Hey Microft do my homework. Thanks for the lesson.
Behind the scene an Asian kid will be working on your homework for money
Teacher AI,: Microsoft get a A+, you get F-.
"What is a penguin?"
Wow, it really had to think on that one!
Great stuff. More of this please. Would love for Mycroft to be able to interface with my homemade PHP central heating control system. 🤓
I, for one, would like to see more about AI on the Raspberry PI or the NVIDIA Jetson Nano. Thanks.
What a fun project!
An interesting video, gives me some idea for how to use a future Pi . As I said before I’m not technical and like my technology plug and play, so I would need to get used to another way of working.
I find it strange that Rpi Org does not have any official microphones/speakers available, spending more on a microphone than the Pi actualy costs does not sit right with me, I have loads of microphones that I would like to use but it looks as though I shall have to get hold of a USB microphone.
Being an open source project I hope someone enables the changing of the wake word as I would love to call my VA by the name Orac or Zen as I am an avid Blakes 7 fan
Totally agree. 👍🇦🇺🚀
Love it nice vid as always the raspberry pi is a fascinating piece of tech
I would definitely want to see more AI videos. In particular those that can be used in a Code Club with 7 - 13 year olds. This one, on Picroft, is good as a standalone project, but I would like to build an R Pi image with multiple AI components not exclusive to just one topic, if that's possible?
This vignette is already part of my DNA😁😁😁😁
Really interesting!
Nice video, thanks for sharing :)
wow great stuff man cheerio mate you've really out done yourself here with such great complexity unseen in the whole of human history. A+ *UA-cam filtered*
Interesting video, as always. I was hoping you would ask it to sing!
Great Video, Sir.
Thanks. :)
My favorite sbc on my favorite channel!
Greetings Leslie. I hope that all is well with you.
Another interesting video, I think a series would be great. I think il be exploring picroft further myself.
You could call the series Pi Ai'd....
I'll get me coat...
Very good video, thank you.
Actually that project looked like I could reproduce it. Of course you did all the research! How about adding Mycroft to your raspberry pi tank project? “Hey Mycroft, turn left.“. Of course having AI use the tank’s camera to navigate on it’s own would be a fascinating but complicated project. Looking forward to your next video!
Hi Perry. I've thought of adding it to the robot Pi tank. It could certainly work, but the response lag would be an issue . . .
Excellent point.
"Hey Mycroft! What are the last 5 digits of pi?" [Mycroft makes funny noises for a minute] [Raspberry Pi explodes]
An enjoyable video thanks.
Cool device, thank you.
Your speaker is so cool. Google should sell those.