# AlignAxes

Specifies whether to align the axes for real-world coordinates with directions that objects move in the scene.

Set this parameter to one of the following options:

- `0` - No alignment. Use this option if objects or vehicles in the media source do not follow straight paths.
- `1` - Media Server attempts to align one of the world coordinate axes with the direction that objects or vehicles are moving. For example, with a view of a straight road, Media Server attempts to make one axis parallel to the road.
- `2` - Media Server attempts to align one of the world coordinate axes with the direction that objects or vehicles are moving. It also adjusts the FieldOfView so that a second axis is aligned with a second direction at right-angles to the first. Use this option if the scene is a view of a crossroads or T-junction, with two distinct directions that are perpendicular to one another.

If you set `AlignAxes=1` or `AlignAxes=2`, and the Input track includes image data, Media Server also uses straight lines such as road markings to help align axes.

Type: | Integer
Default: | 1
Required: | No
Configuration Section: | TaskName
Example: | `AlignAxes=1`
See Also: | ImageAnalysisInterval Input

_FT_HTML5_bannerTitle.htm