Perspective
Generates a projection matrix that describes the perspective from which the camera views the scene. The projection matrix allows Media Server to convert a position in the scene into real-world 3D coordinates.
The projection matrix is the same as generated by the FindProjection action, except that the perspective engine calculates the matrix automatically by observing objects as they move through the scene.
NOTE: This engine is not intended for use in a production environment. The projection matrix that is generated should be used as the value of the Projection parameter in the [Session]
section of your session configuration.
For more information about using perspective in media analysis, see Use Perspective in Media Analysis.
Configuration Parameter | Description |
---|---|
AlignAxes | Specifies whether to align the axes for real-world coordinates with directions that objects move in the scene. |
FieldOfView | The horizontal angle of view of the camera, in degrees. |
ImageAnalysisInterval | The sample interval for analyzing straight lines in video frames. |
Input | The input track to use to calculate the perspective. |
Type | The engine to use. Set this parameter to Perspective . |
WorldDimensions | A list of dimensions that describe the actual size of an object class or vehicle. |
WorldDimensionsMetadata | The name of a metadata field that describes the actual size of an object class or vehicle. |
Output Tracks
This engine produces a single output track, named TaskName.Result
. A single record is produced when processing ends, containing the projection matrix.