⌂ > 🛠 Конфигурационный REST API > ⇄ Путь
GET /configure/channels/{channel-id}/plateslight : Информация о настройках модуля Распознавание автономеров (Light)🔗
Примечание
Доступно в версии Macroscop 4.6 и выше.
Предупреждение
Доступно только в лицензиях Enterprise и ULTRA.
Данный запрос может выполняться только пользователем с максимальными правами, то есть входящим в группу Старшие администраторы.
Важно
Во всех примерах указан локальный хост (localhost). При отправке реальных запросов замените его на адрес и порт сервера, на который отправляете запрос.
Пример запроса🔗
GET http://localhost:8080/configure/channels/81060b4d-7f0c-47af-8ec1-124dc79fd750/plateslight
Структура запроса🔗
{
"ChannelSettings": {
"MinPlateSize": {
"Width": double,
"Height": double
},
"MaxPlateSize": {
"Width": double,
"Height": double
},
"CheckedCountries": {
"string": [ "string" ]
},
"MinDecisionFrames": int,
"MinUnrecognizedDecisionFrames": int,
"PlateProbabilityMin": int,
"IsMotionDetectorEnabled": bool,
"UseNnDetector": bool,
"UseNnRecognizer": bool,
"UnrecognizedSymbolsMaxCount": int,
"PluginUseAutoSave": bool,
"AutoSaveFullPath": "string",
"AutoSaveMaxFolderSize": int,
"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": {
"Width": 0.09,
"Height": 0.02
},
"MaxPlateSize": {
"Width": 0.18,
"Height": 0.04
},
"CheckedCountries": {
"ru": [
"RU_N01_a000aa00",
"RU_N02_a000aa100",
"RU_N03_a000aa700"
]
},
"MinDecisionFrames": 3,
"MinUnrecognizedDecisionFrames": 14,
"PlateProbabilityMin": 50,
"IsMotionDetectorEnabled": false,
"UseNnDetector": false,
"UseNnRecognizer": false,
"UnrecognizedSymbolsMaxCount": 2,
"PluginUseAutoSave": false,
"AutoSaveFullPath": null,
"AutoSaveMaxFolderSize": 2000,
"PolygonZones": [
{
"Id": "17565395-0385-4bf5-80de-b771bec1b6a4",
"Name": "Зона 1",
"Points": [
"0,0",
"1,0",
"1,1",
"0,1"
]
}
],
"DbId": "",
"TimeSecNotRecognizeSamePlate": 30,
"UseDirection": true,
"Direction": 3,
"DirectionFilterTypes": [
1
],
"PluginBarrierControlEnabled": false,
"PluginBarrierManualControlEnabled": true,
"PluginBarrierAutomaticControlEnabled": true,
"IsBarrierSupportAutoClose": false,
"PluginBarrierAutomaticCloseTimeDelay": 30
},
"GeneralSettings": {
"DatabaseSettings": {
"IsDedicated": true,
"IpAddress": "127.0.0.1",
"Port": 5432,
"User": "postgres",
"Password": "masterkey",
"OsType": "Windows"
},
"ParkingSettings": {
"ParkingModeEnabled": true,
"ParkingZones": [
{
"Id": "585f3d45-9e78-4c20-b53a-38dfcddc188d",
"Name": "Зона",
"EntryChannels": [
"81060b4d-7f0c-47af-8ec1-124dc79fd750"
],
"ExitChannels": [
"81060b4d-7f0c-47af-8ec1-124dc79fd750"
],
"StartDateTimeUtc": "2024-10-28T07:05:04.6599272Z",
"ResetPeriod": "None",
"AllowedTimeMaxMinutes": 60.0,
"ParkingSpacesCount": 50
}
]
}
},
"Enabled": true
}