Skip to content

piyush27ranjan/Game_Learner

Repository files navigation

Open Source Love png1 HitCount Maintenance contributions welcome License: MIT
forthebadge made-with-python ForTheBadge built-with-love

Game_Learner

An ML Project to train the computer to play a game

Milestones

Current status

We have the info about:

  • coordinates of the ball and plate.
  • key logs and their time intervals during they were held down.

Model

Classification

  • Input Vector
    • Time
    • Ball coordinates(b_x,b_y)
    • Plate coordinate(p_x)
  • Output Vector
    • Key which was pressed at that time (Key.left, Key.right or None)

Extracting Data from Sample_image.png using OpenCV

Sample Image Sample Image

After running 1shot_test.py we get the location of ball and plate

Tracked ball Ball with purple boundary Tracked Plate Plate with white boudary

Contributers

About

A ML Project to train the computer to play a game

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages