⌂ > 🛠 Конфигурационный REST API > ⇄ Путь

GET /configure/channels/{channel-id}/platesstandard : Информация о настройках модуля Распознавание автономеров🔗

Примечание

Появилось в версии 4.2.

Предупреждение

Доступно только в лицензиях Enterprise и ULTRA.

Данный запрос может выполняться только пользователем с максимальными правами, то есть входящим в группу Старшие администраторы.

Важно

Во всех примерах указан локальный хост (localhost). При отправке реальных запросов замените его на адрес и порт сервера, на который отправляете запрос.

Пример запроса🔗

GET http://localhost:8080/configure/channels/81060b4d-7f0c-47af-8ec1-124dc79fd750/platesstandard

Структура запроса🔗

{
    "ChannelSettings": {
        "MinPlateSize": "x,y,w,h",
        "MaxPlateSize": "x,y,w,h",
        "MinDecisionFrames": int,
        "DetectDoublePlates": bool,
        "PlateColorClasses": [ int ],
        "FpsLockMode": int,
        "MinPlateTextLength": int,
        "MinPlateTextNumCount": int,
        "RecognizeVehicleAttributes": bool,
        "RecognizeTwoVehicleColors": bool,
        "PolygonZones": [
            {
                "Id": "GUID",
                "Name": "string",
                "Points": [ "double, double" ]
            }
        ],
        "DbId": "string",
        "TimeSecNotRecognizeSamePlate": int,
        "UseDirection": bool,
        "Direction": int,
        "DirectionFilterTypes": [ int ],
        "PluginBarrierControlEnabled": bool,
        "PluginBarrierManualControlEnabled": bool,
        "PluginBarrierAutomaticControlEnabled": bool,
        "IsBarrierSupportAutoClose": bool,
        "PluginBarrierAutomaticCloseTimeDelay": int
    },
    "GeneralSettings": {
        "DatabaseSettings": {
            "IsDedicated": bool,
            "IpAddress": "string",
            "Port": int,
            "User": "string",
            "Password": "string",
            "OsType": "enum"
        },
        "ParkingSettings": {
            "ParkingModeEnabled": bool,
            "ParkingZones": [
                {
                    "Id": "GUID",
                    "Name": "string",
                    "EntryChannels": [ "GUID" ],
                    "ExitChannels": [ "GUID" ],
                    "StartDateTimeUtc": "DateTime",
                    "ResetPeriod": "enum",
                    "AllowedTimeMaxMinutes": double,
                    "ParkingSpacesCount": int
                }
            ]
        }
    },
    "Enabled": bool
}

Пример ответа🔗

{
    "ChannelSettings": {
        "MinPlateSize": "0.10000000149011612,0.10000000149011612,0.03999999910593033,0.014999999664723873",
        "MaxPlateSize": "0.20000000298023224,0.20000000298023224,0.699999988079071,0.5",
        "PolygonZones": [
            {
                "Name": "Зона 1",
                "Id": "a17cadce-c6a2-46dc-8301-d20853590caa",
                "Points": [
                    "0,0",
                    "1,0",
                    "1,1",
                    "0,1"
                ]
            }
        ],
        "Direction": 1,
        "UseDirection": true,
        "MinDecisionFrames": 3,
        "DetectDoublePlates": true,
        "PlateColorClasses": [
            1,
            2,
            4,
            8
        ],
        "DirectionFilterTypes": [],
        "FpsLockMode": 1,
        "TimeSecNotRecognizeSamePlate": 30,
        "MinPlateTextLength": 5,
        "MinPlateTextNumCount": 2,
        "DbId": "",
        "PluginBarrierControlEnabled": false,
        "PluginBarrierManualControlEnabled": true,
        "PluginBarrierAutomaticControlEnabled": true,
        "IsBarrierSupportAutoClose": false,
        "PluginBarrierAutomaticCloseTimeDelay": 30,
        "RecognizeVehicleAttributes": true,
        "RecognizeTwoVehicleColors": false
    },
    "Enabled": true
}