Welcome to the Intelligent Image Matching System! This project is designed to develop an AI-powered algorithm capable of accurately matching provided screenshots from a game scene to a set of similar-looking images, with an emphasis on both accuracy and efficiency.
Develop an algorithm that can:
- 🖼️ Identify the main image from two test images within a set.
- 🔍 Extract key visual features and contextual elements from game scenes.
- 📊 Return the similarity percentage of the main image relative to its matching counterpart in the test images.
- 💰 Identify the total win amount in a specific game scene for Set 8.
- 🎰 Identify the bet amount in a specific game scene for Set 9.
- Sets 1 to 7: Each set contains 3 images -
Image.png
(Main Image),Test1.png
(Test Image 1),Test2.png
(Test Image 2). - Sets 8 and 9: Each set contains 2 images -
Test1.png
(Test Image 1),Test2.png
(Test Image 2).
- Sets 1 to 7:
- Return similarity percentages:
[percentage_for_test1, percentage_for_test2]
.
- Return similarity percentages:
- Set 8:
- Return the total win amount:
[total_win_amount_test1, total_win_amount_test2]
.
- Return the total win amount:
- Set 9:
- Return the bet amount:
[bet_amount_test1, bet_amount_test2]
.
- Return the bet amount:
The Problems
folder contains all the sets:
- 🐍 Python 3.x
- 📦 Necessary libraries:
numpy
,pandas
,opencv-python
,scikit-learn
,tensorflow
orpytorch
- Clone the repository:
git clone https://github.com/yourusername/intelligent-image-matching.git
- Navigate to the project directory:
cd intelligent-image-matching
- Install the required packages:
pip install -r requirements.txt
Place your images in the Problems folder.
Check the output for similarity percentages, total win amounts, and bet amounts as per the sets.
- Feature Extraction: Use techniques like SIFT, SURF, or deep learning-based feature extractors.
- Matching Algorithm: Employ algorithms like K-Nearest Neighbors (KNN) or deep learning-based models to find the best match.
- Similarity Calculation: Compute similarity scores using metrics like cosine similarity or Euclidean distance.
- Contextual Analysis: Extend the model to recognize text and numerical values in specified regions for Sets 8 and 9.
We welcome contributions to enhance the accuracy and efficiency of the algorithm. Feel free to fork the repository, make your changes, and submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
Inspired by the image matching challenges in computer vision. Special thanks to the creators of Willy Wonka Slots for providing the game scenes. Let's match those images with precision and efficiency! 🎮🔍
For detailed information on the implementation, please refer to the Documentation section.