![]() ![]() But this is up to you and you can choose whatever you prefer. All of my Raspberry Pis are running the „lite“ version without a desktop UI. SOPARE should run on every Raspbian version that is out there. I’m using different microphones for different environments and requirements. But if you plan to speak directly into the microphone the same mic could do the job just perfect. For example: If you want speech recognition across a large distance (more that 1 meter) you may find out that the cheap USB-mic for 5 Euros does not do the trick. The microphone is extremely important and should fit your own requirements. SOPARE does not run on older hardware like Raspberry Pi B or B+ due to the lack of multi-core processors. Of course, you need a power supply and a micro SD card if you go with the Raspberry Pi. Please note: The Pi zero was not tested and could be too weak even if the „0“ comes with 2 cores. Make sure that the hardware comes with a multi core processor. As SOPARE was developed for and on a Raspberry Pi we go with this one – even if SOPARE runs on other hardware as well. Now let us start with the hardware requirements. You want to see SOPARE in action? Here is a 32 second video that shows the potential: The source code and even more information is available on GitHub. Here are some real life operational areas: SOPARE runs 24/7 and controls smart home things like lights (on/off), a magic mirror (wake up, change views, …) and another installation controls a robotic arm via voice commands. ![]() However, SOPARE provides a simple plug-in architecture for further processing. Or just sounds like doorbells, knocks and whatever you want. This means that you can train words in any languages. The goal is to provide offline and real time audio processing for some words that must be trained upfront.Īs SOPARE is able to learn sounds from training sessions SOPARE is able to identify the same sound later on even under different circumstances. SOPARE stands for SOund PAttern REcognition and is a Python project developed on and for the Raspberry Pi. Just in case you have no idea what SOPARE is let’s do a quick introduction: In addition, people mentioned that SOPARE works on Orange Pi and on some Ubuntu versions. First of all, the good news: SOPARE 1.5 is out and was successful developed, installed and tested on Raspbian Wheezy, Jessie and Stretch. Since fundamentals have changed and due to public requests, we do a step-by-step tutorial. Tags: raspberry pi, SoPaRe, speech recognition, voice control | 70 Comments Step by step: Raspberry Pi offline voice recognition with SOPAREĪfter a round of optimization, refactoring, bug fixing and testing it is time for a new blog post. März 2018 by bishoph |Ĭategories: Development, Raspberry Pi, voice recognition | This can be observed when SOPARE is running by starting the command Continue Reading → 10. Each thread runs on a different CPU core. The chain of characteristics are compared against trained results and the plugins are called in „thread 3“. Whenever one CHUNK volume is above the THRESHOLD the chunks are transformed, filtered and a characteristic is created. This small chunks of data are compared in terms of sound volume. The first thread (thread 1) is listening the whole time and records chunks of data. Now we can dig a bit deeper and do a more detailed view. Stop everything after the configured timeout is reached.Check if the sound level is above the THRESHOLD.Check for arguments from the command line and init parameters. ![]() We can look at this simplified list what’s happening: In fact, SOPARE should run on all kind of *UNIX systems if the underlying hardware comes with a multi core CPU. Here you find more information about how to get started. SOPARE is written in Python and runs very well with Python 2.7 and was tested successfully on several Raspberry Pis running all kind of operating systems. This post should give you an overview about SOPARE in terms of the architecture and provide some insights how to write your own custom plugins for further processing. I run some installations where SOPARE turns lights on and off, controls a magic mirror and a robotic arm. After installing, configuring and training SOPARE, you want naturally do something with the recognized results. ![]()
0 Comments
Leave a Reply. |