Skip to content

baucheng/augmented_reality

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Marker-less Augmented Reality

In this project readers will learn how to create a standard real-time project using OpenCV (for desktop), and how to perform a new method of marker-less augmented reality, using the actual environment as the input instead of printed square markers. It covers some of the theory of marker-less AR and show how to apply it in useful projects.

See the related Medium post for more information!

Quick Demo

  • MarkerlessAR_V1

  • MarkerlessAR_V2

  • When my OpenGL code works :D


TODOs:

  • Fixing the performance issues:
    • Separate "detection" and "tracking" in 2 threads.
    • Once the target image is detected just track the keypoints using sparse optical flow (calcOpticalFlowPyrLK) and compute camera pose (solvePnp) instead of performing feature detection and matching on every frame. The feature detection will be performed again when tracking is lost on most of the keypoints.
  • Dimensionality reduction will be performed on key points to make pattern detector more robust.

Citation

If you use this code for your publications, please cite it as:

@ONLINE{mar,
    author = "Ahmet Özlü",
    title  = "Marker-less Augmented Reality with OpenCV and OpenGL",
    year   = "2018",
    url    = "https://github.com/ahmetozlu/augmented_reality"
}

Author

Ahmet Özlü

License

This system is available under the MIT license. See the LICENSE file for more info.

About

💎 "Marker-less Augmented Reality" with OpenCV and OpenGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.4%
  • CMake 1.6%