Skip to content

Experience the future of gaming with MindCraft – where eye recognition meets physical motion control in Minecraft.

Notifications You must be signed in to change notification settings

Hack-the-North-2023/MindCraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MindCraft

MindCraft logo

Video Demo

💡Inspiration

Our journey began as avid gamers, deeply passionate about the Minecraft universe. We thought of ways to transcend the traditional gaming experience. Instead of being tethered to a keyboard and mouse, we envisioned a world where our bodies could seamlessly merge with the digital realm. With the introduction of AdHawk MindLink glasses and the power of OpenCV technology, this vision transformed into a compelling reality. Our desire was simple yet profound: to unlock a new dimension of play, where players could use their entire body, from limbs to eyes, to interact with the virtual world. This immersive project encapsulates our unwavering commitment to pushing the boundaries of technology and redefining the human-gaming interface.

🎮 What it does

Imagine stepping into your favorite virtual world, but instead of relying solely on a controller, you become the controller. Our project enables you to control in-game actions in Minecraft not just with your hands, but with your entire body including your eyes! You can jump, walk, build and destroy by simply moving as if you are doing it in real life. You can turn around just by moving your eyes around on the screen. It's a seamless blend of reality and the virtual, where the boundaries between player and game blur.

🤖 How we built it

OpenCV, Python, MediaPipe: Created a script to translate live video camera feed into in-game Minecraft actions.

AdHawk MindLink Glasses and SDK: Used the glasses and the AdHawk Python SDK to track eye movement on the screen to rotate the player's view.

Xbox Kinect Sensor: The sensor takes in the live camera feed into the computer.

GitHub: Since our team worked on multiple separate functions of the project at once, we used GitHub extensively for collaboration. Branches, issues, and pull requests kept our code clean and organized, while reviews were used to keep each other updated on the progress of different features. Our README page and "Getting started" wiki page also document important aspects of our project.

🤔 Challenges we ran into

  • Emulating Controller Input: Once we received eye-tracking data from the AdHawk SDK, we spent quite a bit of time figuring out how to emulate keyboard and mouse input to translate that data into game control movements. We tried several different input types, like cursors and joysticks, and explored mathematical operations that would translate 3D data onto a 2D plane.
  • Learning Curve with MediaPipe and OpenCV: Integrating MediaPipe and OpenCV into the project introduced a learning curve. As team members had limited prior experience with computer vision, the project became an opportunity to learn and experiment with new tools and libraries.
  • Coordination of Body Movements: Ensuring that the system accurately responded to body movements, especially distinguishing between jumps and walks, presented an ongoing challenge. Balancing these actions to provide a seamless and intuitive gaming experience required fine-tuning and adjustments.

🏆 Accomplishments that we're proud of

  • Successfully integrated AdHawk MindLink glasses with MediaPipe, OpenCV, and gaming controls when it was our first time working with these technologies.
  • Developed precise gesture recognition algorithms, enabling the system to accurately distinguish between walking and jumping, and place and destroy, enhancing gameplay accuracy and immersion.

🧠 What we learned

  • Developed proficiency in using MediaPipe and OpenCV for real-time gesture recognition and body movement tracking, expanding our knowledge of computer vision.
  • Learned how to create a unique and immersive gaming experience by combining eye recognition technology and physical body movements.
  • You CAN meet a group of people online and have a ton of fun!

❓What's next for MindCraft

  • Incorporate a broader range of body movements and gestures to translate into in-game actions.
  • Enhance the precision of gesture recognition and eye-tracking algorithms to ensure accurate and responsive gameplay.
  • Introduce multiplayer functionality, allowing users to engage in collaborative or competitive gameplay using AdHawk MindLink glasses and body movements.

About

Experience the future of gaming with MindCraft – where eye recognition meets physical motion control in Minecraft.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages