Skip to content

Latest commit

 

History

History
64 lines (42 loc) · 2.1 KB

README.md

File metadata and controls

64 lines (42 loc) · 2.1 KB

TETRIS COUNT

A simple Python + OpenCV script to count the number of Tetris blocks in an image.

                                   

⚠️ TechStack/framework used

🔑 Prerequisites

All the dependencies and required libraries are included in the file requirements.txt See here

🚀  Installation

  1. Clone the repo
$ git clone https://github.com/jelonmusk/tetris-count.git
  1. Change your directory to the cloned repo and create a Python virtual environment named 'test'
$ mkvirtualenv test
  1. Now, run the following command in your Terminal/Command Prompt to install the libraries required
$ pip3 install -r requirements.txt

💡 Working

  1. Open terminal. Go into the cloned project directory and type the following command:
$ python tetris.py

🔑 Results

Our application found 6 Tetris blocks in the image.




👏 And it's done!

Feel free to mail me for any doubts/query :email: jelonmusk@gmail.com

🤝 Contribution

Feel free to file a new issue with a respective title and description on the the TETRIS-COUNT repository. If you already found a solution to your problem, I would love to review your pull request!

❤️ Owner

Made with ❤️  by JShaikh

👍 Credits

👀 License

MIT © JShaikh