Earlier quoted context omitted.
I would love for Apple/Google to introduce some tech that would make it provable/verifiable that the camera/mic on the device can only be captured when the indicator is on and that it isn't possible for apps or even higher layers of OS to spoof this
Thinkpads come with that, an unspoofable indicator that will tell you with 100% certainty that your image is not being recorded or even recordable unless the physical operator of the machine allows it. Can't beat a physical cover if you really want to be sure!
Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant
81–90 of 101 posts
Re: Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant
#82I wanted to create a voice assistant that is completely offline and doesn't require any internet connection. This is because I wanted to ensure that the user's privacy is protected and that the user's data is not being sent to any third party servers. Props, and thank you for this.
I would love for Apple/Google to introduce some tech that would make it provable/verifiable that the camera/mic on the device can only be captured when the indicator is on and that it isn't possible for apps or even higher layers of OS to spoof this
I'm a little curious if iPhones could be modified to route the {mic,camera} {power,data} through the silent mode switch, either instead of or in addition to the current functionality. I don't really have a need for a physical silent mode toggle, I'm totally fine with doing that in the settings or control panel.
Re: Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant
#83All I need is a voice assistant that: - RPi 4 can handle, - I can integrate with HomeAssistant, - is offline only, and doesn't send my data anywhere. This project seems to be ticking most, if not all of the boxes, compared to anything else I've seen. Good job! While at it, can someone drop a recommendation for a Rpi-compatible mic for Alexa-like usecase?
Check out Rhasspy. You won't get anything practically useful running LLMs on the 4B but you also don't strictly need LLM-based models. In the Rhasspy community, a common pattern is to do (cheap and lightweight) wake-word detection locally on mic-attached satellites (here 4B should be sufficient) and then stream the actual recording (more computational resources for better results) over the local network to a central…
If not, any good pointers to start adapting this platform to do that?
Re: Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant
#84Earlier quoted context omitted.
Check out Rhasspy. You won't get anything practically useful running LLMs on the 4B but you also don't strictly need LLM-based models. In the Rhasspy community, a common pattern is to do (cheap and lightweight) wake-word detection locally on mic-attached satellites (here 4B should be sufficient) and then stream the actual recording (more computational resources for better results) over the local network to a central…
>> and then stream the actual recording (more computational resources for better results) over the local network to a central hub. This frustrates me. I ran Dragon Dictate on a 200MHz PC in the 1990s. Now that wasn't top quality, but it should have been good enough for voice assistants. I expect at least that quality on-device with an R-Pi today if not better. IMHO the end game is on-device speech recognition and any…
Why? There's practically no latency to a central hub on the local network. A Raspberry Pi is probably over-specced for this, but I do very much see value in buying 5 $20 speaker/mic streaming stations and a $200 hub instead of buying 5 $100 Raspberry Pis.
If anything, I would expect the streaming to a hub solution to respond faster than the locally processed variant. My wifi latency is ~2ms, and my PC will run Whisper way more than 2ms faster than a Raspberry Pi. Add in running a model and my PC runs circles around a Raspberry Pi.
> I ran Dragon Dictate on a 200MHz PC in the 1990s. Now that wasn't top quality, but it should have been good enough for voice assistants. I expect at least that quality on-device with an R-Pi today if not better.
You should get that via Whisper. I haven't used Dragon Dictate, but Whisper works very well. I've never trained it on my voice, and it rarely struggles outside of things that aren't "real words" (and even then it does a passable job of trying to spell it phonetically).
No idea about resources. It's such an unholy pain in the ass to get working in the same process as LLMs on Windows that I'm usually just ecstatic it will run. One of these days I'll figure out how to do all the passthroughs to WSL so I can yet again pretend I'm not using Windows while I use Windows (lol).
Re: Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant
#85All I need is a voice assistant that: - RPi 4 can handle, - I can integrate with HomeAssistant, - is offline only, and doesn't send my data anywhere. This project seems to be ticking most, if not all of the boxes, compared to anything else I've seen. Good job! While at it, can someone drop a recommendation for a Rpi-compatible mic for Alexa-like usecase?
Re: Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant
#86Earlier quoted context omitted.
As a professional technology person I say “computer” about 1megatoken per day
Yeah, but how often do you say "computer" in a querying/interrogatory tone? That's a perfect opportunity to get better at cosplaying a Starfleet officer. (Seriously though, a Federation-grade system would just recognize from context whether or not you meant to invoke the voice interface. Federation is full of near-AGI in simple appliances. Like the sliding doors that just know whether you want to go through them, or…
Re: Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant
#87Re: Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant
#88Re: Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant
#89Earlier quoted context omitted.
Thinkpads come with that, an unspoofable indicator that will tell you with 100% certainty that your image is not being recorded or even recordable unless the physical operator of the machine allows it. Can't beat a physical cover if you really want to be sure!
Now make a cover for the microphone :)
A switch to break the physical wire connection is about the only thing I can come up with out of hand right now. I believe the PinePhones come with physical switches for their antenna's so there's that.
Re: Show HN: Pi-C.A.R.D, a Raspberry Pi Voice Assistant
#90I see that a speaker is in the hardware list - does this speak back?
Yes! I'm currently using https://espeak.sourceforge.net/ , so it isn't especially fun to listen to though. Additionally, since I'm streaming the LLM response, it won't take long to get your reply. Since it does it a chunk at a time, there's occasionally only parts of words that are said momentarily. Also of course depends on what model you use or what the context size is for how long you need to wait.