Augmented reality-based data visualization over real-world scenes
In our ultimate demo, we will introduce the basic framework for AR-based data visualization by overlaying 3D data on real-world objects and scenes. We apply the same GPU-accelerated simulation model and register it to the world with a sensor-based tracking approach. The following diagram illustrates the final architecture of the implementation in this chapter:
Getting ready
This final demo integrates together all the concepts previously introduced in this chapter and requires the capture (and possibly processing) of a real-time video stream using OpenCV on an Android-based phone. To reduce the complexity of the code, we have created the Augmented Reality layer (AROverlayRenderer
) and we can improve the registration, alignment, and calibration of the layer with more advanced algorithms in the future.
How to do it...
Let's define a new class called AROverlayRenderer
inside the AROverlayRenderer.hpp
file:
#ifndef AROVERLAYRENDERER_H_...