Turn a video into minesweeper.
Inspired from Bad Apple!! Minesweeper YouTube video
You need these libraries installed on your machine
- SDL2
- SDL2_image
- OpenCV
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make
Example run command
./minesweeperizer --file /home/andraantariksa/Projects/minesweeperizer/assets/itstimetostop720p.mp4 --greenscreen 44,255,16 --tolerance 50
The color are using RGB format red,green,blue
, each field are ranging from 0 to 255.
Tolerance is the green screen color difference tolerance, the field are ranging from 0 to sqrt(255^2+255^2+255^2)
which equal to 441.
For more information, run the program with --help
flag.
- Add audio support using FFmpeg
The code is MIT Licensed, not including the assets used.