Displaying real-time video using texture mapping

Today, most mobile phones are equipped with cameras that are capable of capturing high-quality photos as well as videos. For example, the Samsung Galaxy Note 4 is equipped with a 16MP back-facing camera as well as a 3.7MP front-facing camera for video conferencing applications. With these built-in cameras, we can record high-definition videos with exceptional image quality in both outdoor and indoor environments. The ubiquity of these imaging sensors, as well as the increasing computational capability of mobile processors, now enable us to develop much more interactive applications such as real-time tracking of objects or faces.

By combining OpenGL with the OpenCV library, we can create interactive ...

Get OpenGL Data Visualization Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.