Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (40 loc) · 1.03 KB

README.md

File metadata and controls

59 lines (40 loc) · 1.03 KB

WebCam based games

Old OpenCV based project brought to new live. Works, but still early version.

Usage

  • CvGames 3d Camera based 3D object rotation
  • CvGames bob Motion based bubble shot game
  • CvGames vj Motion based image fading
  • CvGames See all available arguments

Compiling

Use GNU make

make

or compile directly

g++ -std=c++11 src/main.cpp src/Helpers/* src/Objects3D/* src/Output/* src/Tracker/* `pkg-config --cflags --libs opencv gl` -lglut -o CvGames

or use cmake (CLion IDE also supports it):

mkdir cmake-build-debug
cd cmake-build-debug
cmake ../

This will genrerate OpenCV executable.

Libraries used

Resources

See Data folder for

  • Images used in vj part
  • WaveFront (.obj) meshes and materials (.mtl) are exported usign [Blender] (https://www.blender.org/).

License

MIT