🚨 Experimental project 🚨
Cheat at the puzzle game by taking a photo of the piece(s) (it can be already assembled).
Run a virtual environment and install the requirements.
pip install -r requirements.txt
- Take a photo of the puzzle image (on internet, with good quality).
- Take a photo of the piece (or multiple pieces already assembled).
- The app will tell you the zones where the piece can be placed (I hope ^^).
For exemple :
python ./run.py --puzzle-image-path ./puzzle_image.jpg --piece-image-path ./piece_image.jpg --number-assembly-pieces 2
You can use -h
to see the help.
- Remove the background from the piece(s) image.
- Rotate the piece(s) image.
- Rescaling the puzzle piece to match reality.
- Extract features
- Match the piece features with the features of the puzzle image.