Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blackmonk13/wordament_solver
A simple tool to help you find words in Wordament puzzles using OpenCV.
https://github.com/blackmonk13/wordament_solver
image-processing ocr ocr-python ocr-recognition opencv tesseract-ocr trie-data-structure wordament wordament-solver
Last synced: about 1 month ago
JSON representation
A simple tool to help you find words in Wordament puzzles using OpenCV.
- Host: GitHub
- URL: https://github.com/blackmonk13/wordament_solver
- Owner: blackmonk13
- License: mit
- Created: 2024-04-23T15:26:35.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-10T14:05:04.000Z (6 months ago)
- Last Synced: 2024-07-10T16:44:46.018Z (6 months ago)
- Topics: image-processing, ocr, ocr-python, ocr-recognition, opencv, tesseract-ocr, trie-data-structure, wordament, wordament-solver
- Language: Jupyter Notebook
- Homepage:
- Size: 12.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Wordament Solver
[![Status](https://img.shields.io/badge/status-active-success.svg)]()
[![GitHub Issues](https://img.shields.io/github/issues/blackmonk13/wordament_solver.svg)](https://github.com/blackmonk13/wordament_solver/issues)
[![GitHub Pull Requests](https://img.shields.io/github/issues-pr/blackmonk13/wordament_solver.svg)](https://github.com/blackmonk13/wordament_solver/pulls)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)---
A simple tool to help you find words in Wordament puzzles using OpenCV.
## 📝 Table of Contents
- [About](#about)
- [Getting Started](#getting_started)
- [Usage](#usage)
- [Built Using](#built_using)
- [Authors](#authors)
- [Disclaimer](#disclaimer)Wordament Solver is a Python project that helps you find words in Wordament puzzles. It uses image processing techniques to extract the grid data from a screenshot of the game, and then employs a trie data structure to efficiently search for valid words in the puzzle. The project also displays the highest-scoring words and shows the path of each word on the grid using arrows.
To get started with Wordament Solver, follow these steps:
1. Clone the repository:
```
git clone https://github.com/blackmonk13/wordament_solver.git
```
2. Install the required packages:
```
pip install -r requirements.txt
```
3. Run the project using a sample puzzle or a screenshot of the game.### CLI Usage
```
python -m wordament_solver -h
```
When you have a cropped grid image like the following``` python
python -m wordament_solver --image sample_images/grid/regular_grid.jpg --cropped --view
```### Example Usage
For more detailed examples and use cases, refer to the `example.ipynb` notebook. It covers common scenarios and demonstrates how to use the package when imported as a package in other projects.
### Usage as a package
- [Python](https://www.python.org/) - Programming Language
- [NumPy](https://numpy.org/) - Array Processing Library
- [OpenCV](https://opencv.org/) - Image Processing Library
- [Pillow](https://pillow.readthedocs.io/en/stable/) - Image Processing Library
- [PyTesseract](https://github.com/madmaze/pytesseract) - OCR Library
- [NLTK](https://www.nltk.org/) - Natural Language Processing Library
- [SciPy](https://docs.scipy.org/doc/scipy/reference/) - Statistics Library- [@blackmonk13](https://github.com/blackmonk13) - Idea & Initial work
See also the list of [contributors](https://github.com/blackmonk13/wordament_solver/contributors) who participated in this project.
Wordament Solver is not affiliated with, endorsed, or sponsored by Microsoft Corporation or the creators of Wordament. The project is intended for educational and entertainment purposes only. Any use of this project to gain an unfair advantage in the game or to violate the terms of service of Wordament or Microsoft Corporation is strictly prohibited. The authors and contributors of this project are not responsible for any misuse of the software.