Code Monkey home page Code Monkey logo

messenger-basketball-reinforcement-learning's People

Contributors

dependabot[bot] avatar juangallostra avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

pandinosaurus

messenger-basketball-reinforcement-learning's Issues

Sampling period

Short description of the issue

Instead of sampling the basket and ball position every frame they are inside their respective regions of interest some sort of sampling period for the positions should be included as a function of the grid size.

Relevant notes

This should be implemented because if not, although the basket might be moving, if it remains for a certain amount of time inside the same cell of the grid then the series of states used as input for the learning algorithm might yield the wrong conclusion that the basket is not moving.

Release version 1.0

Organize the repo, update the readme and release its first version.

This issue also implies addressing:

Reduce the number of times the score is computed

Tesseract is the OCR engine used to detect the current score and it takes quite a long time to process a frame. This reduces significantly the performance. So the score should be computed only when it is strictly required.

So the question is, when is it strictly necessary to compute the score?
Only after a throw, and to deduce that a throw has taken place:

  • The ball and basket are being detected after a period of not being detected.

Calibrate servos

To be able to properly drive the robot to the desired position the servos should be first calibrated.

Live data preview

It would be nice to add a functionality that shows the Q matrix in real time to see how it updates.

Errors in score computation

Short description of the issue

From time to time the score is read wrong. This might be just something of the video currently being used but it would be worth to devise a way of making sure that the returned score is actually correct. It might help that the expected score is the previous score plus 1, and a check along those lines could be implemented.

Relevant notes

Since in the end we only need to identify correctly 0 (so as to give a negative reward), this may not be an issue at all by assuming anything different than 0 as a successful throw.

Measure robot parameters

In order to obtain the inverse kinematics of the robot the required parameters have to be measured. Furthermore, the measurements should be as accurate as possible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.