Skip to content

Coherent Stylization for Stereoscopic Augmented Reality

License

Notifications You must be signed in to change notification settings

kr4b/AR-Style

 
 

Repository files navigation

Coherent Stylization for Stereoscopic Augmented Reality

Code repository for research on Coherent Stylization for Stereoscopic Augmented Reality, as part of the TU Delft Research Project. More specifically, this research is a sub-project of the project Media of the Future. The respective research paper can be found here.

This project makes use of OpenCV and ARToolkitX.

Most of the contributed code for this project is located in Examples/Stereo Stylization Coherence. The most prominent code related to the research can be found in draw.cpp and voronoi.hpp in the aforementioned folder.

  • voronoi.hpp - Contains code related to generating the voronoi pattern, relocating anchor points and redistributing the density.
  • draw.cpp - Contains code related to coordinating the rendering and generating the quantitative results.

Usage

The code was developed and tested on a Linux system. It might work on Windows with a bit of effort, and macOS with a bit more effort. With a lot of effort it could probably even work on Android and/or iOS systems, but the OpenGL code is not fully converted to OpenGL ES.

The video frames required to run the application are not provided with this project, but should be placed in the video directory with the following naming convention:

  • Frame 0 left: 0000L.jpg
  • Frame 0 right: 0000R.jpg
  • ...
  • Frame 100 left: 0100L.jpg
  • Frame 100 right: 0100R.jpg

To build on Linux, build the ARToolkitX framework by running build.sh and then build the example by running Examples/Stereo Stylization Coherence/build.sh.

If the build succeeds, run by using run.sh.

About

Coherent Stylization for Stereoscopic Augmented Reality

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 69.4%
  • C++ 18.4%
  • HTML 9.9%
  • CMake 0.8%
  • Java 0.7%
  • Objective-C 0.7%
  • Other 0.1%