Input Requirements#
Input data for CARS API subsystem are images. Image requirements are shown in Table 1.
Table 1. Image requirements
| Parameter | Requirements |
|---|---|
| Image resolution | - Detection of vehicles: from 100x100 px to 1920x1080 px |
| - Detection of LPs: from 20x100 px to 105x512px | |
| - LP attribute recognition: from 50x250 to 1920x1080 px | |
| - Recognition of vehicle attributes: from 100x100 to 1920x1080 px | |
| Maximum file size | |
| Image color | Color or black and white image |
| Image format | JPEG or PNG encoded in Base64 without EXIF tags |
| Image composition | - Vehicle and LP must be fully visible (not blocked by other objects) |
| - When recognizing vehicle attributes, the image should not contain more than one vehicle | |
| - LP should occupy the entire area of the image when only LP attributes are recognized |