Skip to Content
Raspberry Pi 2 Server Essentials
book

Raspberry Pi 2 Server Essentials

by Piotr J Kula
April 2016
Beginner content levelBeginner
174 pages
3h 46m
English
Packt Publishing
Content preview from Raspberry Pi 2 Server Essentials

The HUD sample

As defined by Wikipedia, a heads-up display, also known as a HUD, is a transparent display that presents data without requiring users to look away from the main activity. The origin of the name comes from a pilot being able to view information with their head positioned up or straight ahead, instead of looking down at some instruments.

So, to stop us from looking down into the console, I thought it would be a nice idea to see some information about our Raspberry Pi directly on the video stream.

With some help from Luca, I have created the C++ code that allows you to update the overlay pretty much on every frame using the UV4L API directly, which means hardly any CPU overhead is used.

If you feel comfortable with C++11, I have provided ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Expanding Your Raspberry Pi: Storage, printing, peripherals, and network connections for your Raspberry Pi

Expanding Your Raspberry Pi: Storage, printing, peripherals, and network connections for your Raspberry Pi

Mark Edward Soper
Raspberry Pi Hacks

Raspberry Pi Hacks

Ruth Suehle, Tom Callaway

Publisher Resources

ISBN: 9781783985692Supplemental Content