Skip to content

Latest commit

 

History

History
56 lines (32 loc) · 1.44 KB

File metadata and controls

56 lines (32 loc) · 1.44 KB

Depth Estimation Pipelines

Depth Estimation

depth_estimation.sh demonstrates depth estimation on one video file source. This is done by running a single-stream object depth estimation pipeline on top of GStreamer using the Hailo-8 device.

Options

./depth_estimation.sh [--video-src FILL-ME]
  • -i --input is an optional flag, a path to the video displayed.
  • --print-gst-launch is a flag that prints the ready gst-launch command without running it
  • --show-fps is an optional flag that enables printing FPS on screen

Run

cd /local/workspace/tappas/apps/h8/gstreamer/general/depth_estimation
./depth_estimation.sh

The output should look like:

Model

How it works

This app is based on our single network pipeline template

With two modifications to the template:

  1. We use tee to show two screens, one with the depth estimation mask applied and one without
  2. The network expect no borders, so an aspectratiocrop mechanism is needed aspectratiocrop aspect-ratio=1/1