Skip to content

andraantariksa/minesweeperizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeperizer

Turn a video into minesweeper.

Inspired from Bad Apple!! Minesweeper YouTube video

Prerequisite

You need these libraries installed on your machine

  • SDL2
  • SDL2_image
  • OpenCV

Instruction

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.

Preview

Credit

TODO

  • Add audio support using FFmpeg

License

The code is MIT Licensed, not including the assets used.

About

Turn a video into minesweeper

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published