Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 2.07 KB

rgb_encoding_mobilenet.rst

File metadata and controls

62 lines (41 loc) · 2.07 KB

RGB Encoding & MobilenetSSD

This example shows how to configure the depthai video encoder in h.265 format to encode the RGB camera input at Full-HD resolution at 30FPS, and transfers the encoded video over XLINK to the host, saving it to disk as a video file. In the same time, a MobileNetv2SSD network is ran on the frames from the same RGB camera that is used for encoding

Pressing Ctrl+C will stop the recording and then convert it using ffmpeg into an mp4 to make it playable. Note that ffmpeg will need to be installed and runnable for the conversion to mp4 to succeed.

Be careful, this example saves encoded video to your host storage. So if you leave it running, you could fill up your storage on your host.

It's a combination of RGB Encoding and RGB & MobilenetSSD.

Similar samples:

  • RGB Encoding
  • RGB & Mono Encoding
  • Encoding Max Limit
  • RGB Encoding & Mono & MobilenetSSD
  • RGB Encoding & Mono with MobilenetSSD & Depth

Demo

Setup

Source code

Python

Also available on GitHub

../../../../examples/mixed/rgb_encoding_mobilenet.py

C++

Also available on GitHub

../../../../depthai-core/examples/mixed/rgb_encoding_mobilenet.cpp