# MaxSize

The maximum expected size of an object.

If the longest side of the bounding box around an object exceeds this size, the object is not recognized.

Specify a value followed by the units that you want to use:

- `percent` or `%` - Percentage of the smallest image or video dimension (width or height).
- `pixels` or `px` - Number of pixels.

Type: | Integer
Default: |
Required: | No
Configuration Section: | TaskName
Example: | In the following example, Media Server does not recognize an object if the longest side of its bounding box is more than 600 pixels in size: `MaxSize=600 pixels` In the following example, Media Server does not recognize an object if the longest side of its bounding box is more than 50% of the smallest image dimension (width or height). `MaxSize=50 percent`
See Also: | SizeUnit MinSize

_FT_HTML5_bannerTitle.htm