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


For direct inquiries, please refer to the contact information available on our Contact page. Alternatively, you may complete and submit the form provided at the same link. We will respond to your request at our earliest opportunity.


Links to RidgeRun Resources and RidgeRun Artificial Intelligence Solutions can be found in the footer below.