GstEdmaPtz

From RidgeRun Developer Wiki

Overview

GstEdmaPtz is a GStreamer element that emulates camera PTZ (Pan, Tilt and Zoom) digitally, using EDMA transfers to scale and move the original frame to a second, smaller frame.

PTZ Camera

PTZ stands for Pan, Tilt and Zoom. A PTZ Camera is a camera that allows remote directional and zoom control. The following image shows a webcam and the directional allowed movements.

Camera PTZ
Camera PTZ

EDMA PTZ

The EDMA PTZ element emulates digitally PTZ based on 3 parameters: input resolution, output resolution and the properties (pan, tilt and zoom). The properties are floating point numbers ranging from 0.0 to 1.0 relative to the in/out resolutions. All of the properties (pan, tilt and zoom) may be modified at runtime with minimum lag. The following sections describe each property individually.

Zoom

zoom                : Zoom of the camera. 0 indicates the greatest FOV, while 1 indicates contrary.
                       flags: readable, writable, controllable
                       Double. Range:               0 -               1 Default:             0,5

The following image explains the effect of changing the zoom property.

GstEdmaPtz Zoom

Pan & Tilt

  pan                 : Pan of the camera. 0 indicates the leftmost coordinate, while 1 indicates the rightmost.
                       flags: readable, writable, controllable
                       Double. Range:               0 -               1 Default:             0,5 
  tilt                : Tilt of the camera. 0 indicates the topmost coordinate, while 1 indicates the bottommost.
                       flags: readable, writable, controllable
                       Double. Range:               0 -               1 Default:             0,5 

The following image explains the effect of changing the pan and tilt properties.

GstEdmaPtz Pan&Tilt


RidgeRun Resources

Quick Start Client Engagement Process RidgeRun Blog Homepage
Technical and Sales Support RidgeRun Online Store RidgeRun Videos Contact Us
RidgeRun.ai: Artificial Intelligence | Generative AI | Machine Learning

Contact Us

Visit our Main Website for the RidgeRun Products and Online Store. RidgeRun Engineering informations are available in RidgeRun Professional Services, RidgeRun Subscription Model and Client Engagement Process wiki pages. Please email to support@ridgerun.com for technical questions and contactus@ridgerun.com for other queries. Contact details for sponsoring the RidgeRun GStreamer projects are available in Sponsor Projects page.