The inspiration for this project is that when playing the game Among Us the number one rule of the game is to mute your mic so there is no communication to tip-off who is the imposter. We wanted to come up with a solution that mutes your mic when in-game.
What it does
We built a Discord bot integrated with the game Among Us to detect if the game is in the lobby, the start of the game, the Meeting/report, or the end of the game. What is does is it mutes the server when it sees that the game has started and unmutes when there is an emergency meeting, or a body reported, as these are the only times' players are allowed to speak to each other.
How we built it
How we built this was We researched how the game screen looks to find a section that we could use to determine the game state. We implemented screen captures in python using OpenCV and Imaging Library. Then built a discord bot that implemented muting a voice channel based on the current game state.
Challenges we ran into
Some challenges we ran into was upscaling the resolution for the image recognition to work. We didn’t realize what the problem was at first but once we upscaled the resolution of the reference image everything started to work great.
Accomplishments that we're proud of
We got this program working by midnight. With some of the difficult issues we were having, we didn’t even think this was going to be finished by the time deadline.
What we learned
We learned how to use OpenCV and Python Imaging Library to grab screen captures and process them.
What's next for Among Us Auto-Muter
We wanted to build in a function where it scans to see if you have died “in game” to you say muted so you won’t give away a critical information about the current game being played. The other thing we want to do is to bring this to a more public level. With how popular the game is as of right now we would like to bring this to the streaming community to really test how functional our project is going to be.