DEV Community

Cover image for P1 - Play Real Steel Boxing with your voice ๐Ÿ”Š๐Ÿ”Š - Atom (The People's Champion)
Santhosh (sandy inspires)
Santhosh (sandy inspires)

Posted on • Updated on

P1 - Play Real Steel Boxing with your voice ๐Ÿ”Š๐Ÿ”Š - Atom (The People's Champion)

Overview of My Submission

Have you ever wondered how the voice recognition in the Noisy Boy from Real Steel movie works. For people who are new to Real Steel and haven't watched that movie yet. Watch at least the trainer and continue here.
I was wondering if I could do the same with Deepgram's real-time speech to text api. The result of two day hustle and surprise!! surprise!! It just worked.

It really really works ๐Ÿฑโ€๐Ÿ

I initially with the impression it won't since there is a considerable latency between the time you say something, it has to process it, send it back and the action will take place after 100 ms or so. But this was instantaneous or too close less than 3 ms. Seems like you can take on any league games on World Robot Boxing.

You're in for a treat ๐Ÿฌ๐ŸŽฎ

Submission Category: Gram Gamers and Wacky Wildcards

-

Latency Log from Python Standard Logging module

My Laptop Specs - Tested

  • HP Omen 15 (2018)
  • 16 GB RAM DDR4
  • Intel Core i7-8750H @2.20 GHz
  • GTX 1060 - 6 GB GDDR5

Latency log

Game on fellows!!

Bring it on!!

๐Ÿ“ŒWhat's next?

  • Live Demo on YouTube
  • Make GitHub repo public (needs more finetuning work)

Catch you all in the 2nd series of this project

Let's connect

LinkedIn

Instagram

Twitter

Top comments (3)

Collapse
 
mtwn105 profile image
Amit Wani

Looking forward to it!

Collapse
 
bekahhw profile image
BekahHW

I'm looking forward to seeing your demo!

Collapse
 
sandy_codes_py profile image
Santhosh (sandy inspires)

The demo is up! Check the code in my GitHub repo.

GitHub logo Santhoshkumard11 / play-real-steel-boxing-with-your-audio

Get ready for the next phase of gaming!! Control things with your voice.

Play Real Steel Boxing with your voice ๐Ÿ”Š๐Ÿ”Š - Real-time speech transcription with Deepgram

Totally inspired by Real Steel Movie and curiosity to build things.

Have you ever wondered how the voice recognition in the Noisy Boy from Real Steel movie works. For people who are new to Real Steel and haven't watched that movie yet. Watch at least the trainer and continue here I was wondering if I could do the same with Deepgram's real-time speech to text API.

The result of two day hustle and surprise!! surprise!! It just worked. โœจ

Link to read the dev blog post ๐Ÿ“‘

Link to watch the YouTube Video ๐ŸŽฌ

video

Game play gif

How to setup locally

Create a new virtual environment

py -m venv venv

Install all the dependencies

pip install -r requirements.txt

Game on fellows!!

Bring it on!!

Architecture Diagram

Architecture Diagram

Deepgram Latency log

My Laptop Specs - Tested ๐Ÿ’ป๐Ÿ’ป

  • HP Omen 15 (2018)

  • โ€ฆ