AI on the Edge LESSON 17: Decorating and Annotating Video Frames in openCV

In this video lesson we show you how to decorate and annotate video frames in openCV. We are using the Raspberry Pi camera on the Raspberry Pi 5. Our overall goal in vision AI is to use our setup to grab a frame, analyze the frame, and then decorate the frame. For example, if analysis finds a banana, we can then add a box and a label around the banana found. So, learning how to add text and figures to the video frame is an important skill moving forward. In today’s lesson this is the code that we developed, demonstrating the different things we can add to video frames.