vosk-api icon indicating copy to clipboard operation
vosk-api copied to clipboard

energy consumption of vosk to high for mobile application

Open Cyborgscode opened this issue 1 year ago • 1 comments

Device: Microsoft Surface Pro 4 Tablet OS: Fedora 35 CPU: 4x i7-6th 3.4Ghz

Hi,

i just analysed why the battery drain was so high on my Surface. As i found out, vosk was running on one core at ~80% perma.

Vosk really needs a lower Limit on the microphone level , where it ignores anything and does not consume energy, except to keep an eye on that exact level. It would also solve the ghost wording issue from the "compression" algo, you run over the microphone recording to pick up the fainthest of vague voice patterns.

Battery powerlevel are down from 9h without vosk to 5h with vosk running.

BTW: there any way to update python components, after pip3 installed them? I dont wanne miss patches you guys do ;)

Cyborgscode avatar Jul 08 '22 10:07 Cyborgscode

It would also solve the ghost wording issue from the "compression" algo, you run over the microphone recording to pick up the fainthest of vague voice patterns.

In general it is not really possible to filter based on level since many people have just music on background. Level doesn't work. More lightweight speech recognition would be nice though.

BTW: there any way to update python components, after pip3 installed them? I dont wanne miss patches you guys do ;)

pip3 install -U vosk

nshmyrev avatar Jul 08 '22 18:07 nshmyrev