# MaxImageSize

Media Server reduces the size of images and video frames before running object class recognition. This reduces the amount of time and memory required to complete the task.

This parameter specifies the maximum width or height of an image or video frame, in pixels. Media Server reduces the size of any image or video frame that exceeds the specified size. Reducing the value of this parameter can reduce the amount of time required for object class recognition, but can also reduce accuracy.

This parameter has no effect on the records or images output by object class recognition.

This parameter applies only when you use a `generation2` or `generation3` recognizer.

Type: | Integer
Default: | 320
Allowed Range: | Maximum: 608
Recommended Range: | Minimum: 320
Required: | No
Configuration Section: | TaskName
Example: | `MaxImageSize=500`
See Also: |

_FT_HTML5_bannerTitle.htm