Go to documentation repository
Page History
GET http://IP-Address:port/prefix/archive/events/detectors/{ENDTIME}/{BEGINTIME} - get detections from all Axxon domain Servers.pozyskaj detekcje ze wszystkich Serwerów Domeny Axxon
Info | ||
---|---|---|
| ||
The Składnia dla ENDTIME and BEGINTIME syntax is described in Get archive contents sectionoraz BEGINTIME są opisane w sekcji Pozyskaj zawartość archiwum. |
Note | ||
---|---|---|
| ||
If Jeśli ENDTIME < BEGINTIME w zapytaniu, zdarzenia w odpowiedzi będą sortowane w kolejności rosnącej. Jeśli ENDTIME > BEGINTIME, zdarzenia będą sortowane w kolejności malejącej in the request, then the events in the response will be sorted by time in ascending order.If ENDTIME > BEGINTIME, then the events will be sorted in descending order. |
GET http://IP-Address:port/prefix/archive/events/detectors/{HOSTNAME}/{ENDTIME}/{BEGINTIME} - get detections from a certain Serverpozyskaj detekcje z określonego Serwera.
Tip |
---|
{HOSTNAME} - Server name (see Get Server listnazwa Serwera (zobacz: Pozyskaj listę serwerów). |
GET http://IP-Address:port/prefix/archive/events/detectors/{VIDEOSOURCEID}/{ENDTIME}/{BEGINTIME} - get detections from a certain camerapozyskaj detekcje z określonej kamery.
Tip |
---|
{VIDEOSOURCEID} - three-component source endpoint ID (see Get list of video sources (cameras)). For instance, trzyczęściowe ID źródłowego punktu końcowego (zobacz: Pozyskaj listę źródeł wideo (kamer)). Przykład: "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0". |
ParameterParametr | RequiredWymagany | DescriptionOpis | |
---|---|---|---|
limit | No | Nie | Limit detekcji w odpowiedzi; domyślna wartość Limit of detections in the response. If not specified, it is equal to 100. |
offset | No | Nie | Wyświetla wyniki począwszy od danego wyniku w kolejności. Przykładowo jeśli The results offset by the specified number. For example, if a query with offset=0 returned wyświetla 100 results, then in order to get the next results, it is necessary to run a query with offset=100. If the second query returned 250 results, then in order to get the next results, it is necessary to run a query with offset=350, wyników, aby otrzymać następne wyniki, należy wysłać zapytanie z offset=100, etc. |
type | No | Nie | Pozyskaj detekcje z określonego narzędzia detekcji.Get detections from a certain detection tool. The parameter values are listed in the table below. |
join | NoNie | If Jeśli join=1, dwuczęściowe zdarzenia zostaną połączone w odpowiedzi; parametr duration określi czas trwania zdarzenia. Jeśli join=0, dwuczęściowe zdarzenia nie zostaną połączone then in the response, the two-phase events will be merged together, and the duration parameter will be returned which corresponds to the event duration.If join=0, then in the response, the two-phase events will not be merged together. | |
limit_to_archive | No | Nie | Dostępne począwszy od wersji Is available starting with Axxon Next 4.4.1.9150. If Jeśli limit_to_archive=1, then the response will return the events only from the accessible part of the archive (seeodpowiedź zwróci jedynie te zdarzenia, które pochodzą z dostępnej części archiwum (zobacz: Konfigurowanie ograniczeń dostępu do starszych nagrań). |
archive | No | Nie | Dostępne począwszy od wersji Is available starting with Axxon Next 4.4.1.9150. The name of the archive from the request to receive the list of archives (see Get archive contents). Nazwa archiwum z zapytania do pozyskania listy archiwów (zobacz: Pozyskaj zawartość archiwum). |
Przykładowe zapytaniaSample requests:
http://127.0.0.1:80/archive/events/detectors/Server1/DeviceIpint.2/SourceEndpoint.video:0:0/past/future?limit=10&offset=0 - get detections from a certain camera, sorted in descending order. The maximum limit is pozyskaj detekcje z określonej kamery w porządku malejącym. Limit: 10.
http://127.0.0.1:80/archive/events/detectors/Server1/past/future?limit=5&offset=0 - get detections from all detection tools of Server1. The maximum limit for each detection tool is pozyskaj detekcje ze wszystkich narzędzi detekcji Serwera Server1. Limit: 5.
http://127.0.0.1:80/archive/events/detectors/Server1/past/future?limit=5&offset=0&type=Ray - get detections from all sensors of Server1. The maximum limit for each sensor is pozyskaj detekcje ze wszystkich czujników Serwera Server1. Limit dla każdego czujnika: 5.
http://127.0.0.1:80/archive/events/detectors/past/future?limit=1&type=Ray - get the current state of all sensors of the Axxon domain.pozyskaj obecny stan wszystkich czujników Domeny Axxon.
Przykładowa odpowiedźSample response:
Expand | ||||
---|---|---|---|---|
| ||||
1) join=1
2) join=0
|
Note | ||
---|---|---|
| ||
Domyślnie czas oczekiwania między żądaniami to 10 sekund. Jeśli Serwer nie zwróci wszystkich zdarzeń (a jedynie ilość ustaloną w parametrze limit) w 10 sekund, następująca odpowiedź zostanie wysłana By default, the request timeout is 10 seconds. If the Server fails to return all events (the quantity is set in the limit parameter) in 10 seconds, the response will be as follows:
In this case, it is necessary to repeat the request and reduce the value of the limit parameterW takim przypadku niezbędne jest ponowienie zapytania, zmieniając wartość dla parametru limit. |
Info | ||
---|---|---|
| ||
The multiPhaseSyncId parameter will be in the response only for two-phase alarms with alertState parameter. Field timestamp is not unique so it might be necessary to skip the previously received alarms starting from the search interval. | ||
Parametr multiPhaseSyncId będzie zawarty w odpowiedzi jedynie dla dwufazowych alarmów z parametrem alertState. Pole timestamp nie jest unikalne; pominięcie poprzednio uzyskanych alarmów począwszy od interwału czasowego wyszukiwania może okazać się konieczne. |
Przy żądaniu wyzwoleń narzędzia detekcji kolejki, odpowiedź zawiera dodatkowy parametr extra zawierający estymowaną długość kolejki z jej minimalną oraz maksymalną wartościąWhen requesting the queue detection tool triggerings, the response includes an additional extra parameter that contains the queue length estimate expressed by the minimum and maximum values.
Code Block |
---|
{ "alertState": "happened", "extra": [ { "queueMax": "4" }, { "queueMin": "4" } ], "id": "b17129b2-1588-794b-94f6-d078a226efb2", "origin": "hosts/Server1/AVDetector.4/EventSupplier", "rectangles": [], "source": "hosts/Server1/DeviceIpint.2/SourceEndpoint.video:0:0", "timestamp": "20181206T075621.621000", "type": "QueueDetected" } } |
Available values of type parameterDostępne wartości parametru type:
Detection toolNarzędzie detekcji | type | Typ |
---|---|---|
Narzędzia Detekcji Analizy SytuacjiSituation Analysis Detection Tools | -Line crossing | |
Przecięcie linii / Przekroczenie linii | oneLineMotion in area | |
Ruch w strefie | moveInZoneStop in area | |
Zatrzymanie w strefie | stopInZoneAppearance in area | |
Wejście do strefy | comeInZoneDisappearance in area | |
Wyjście ze strefy | outOfZone | |
LoiteringWałęsanie | longInZoneMultiple objects | |
Wiele obiektów | lostObjectNumber Plate Recognition | |
Rozpoznawanie tablic rejestracyjnych | plateRecognizedFace | |
detectionDetekcja twarzy | faceAppearedVisitors | |
counterLicznik odwiedzających | PeopleIn, PeopleOut | |
Queue detectionDetekcja kolejki | QueueDetected | |
Fire detectionDetekcja ognia | FireDetected | |
Smoke detectionDetekcja dymu | SmokeDetected | |
Neural countingNeurolicznik | lotsObjectsPosition change | |
Detekcja zmiany sceny | SceneChangeDetectedImage | |
Noise DetectionDetekcja szumów | CameraBlindDetectedLoss | |
of qualityUtrata jakości | ImageDegradationBlurred Image Detection | |
Detekcja degradacji obrazu v2 | BlurredDegradationCompression Artifacts Detection | |
Detekcja degradacji kompresji | CompressedDegradationMotion | |
detectionDetekcja ruchu | MotionDetectedNo | |
signalBrak sygnału | NullAudio | |
SignalSygnał | NoiseAudio | |
NoiseHałas | SignalAudioPose | |
detectionDetekcja pozycji | -Man down detection | |
Detekcja pozycji leżącej | recumbentSitting person detection | |
Detekcja pozycji siedzącej | sitDownHands up detection | |
Detekcja podniesionych rąk | handsUpActive | |
shooter detectionDetekcja strzelca | activeShooterWater level detection | |
Detekcja poziomu wody | LevelOutHandrail holding detection | |
Detekcja trzymania poręczy | handRailPeople | |
counterLicznik osób | lotsObjectsClose-standing people detection | |
Detekcja blisko stojących ludzi | peopleDistancePeople | |
maskingMaskowanie ludzi | enabledMaskEvents |
Info | ||
---|---|---|
| ||
If the non-included in the list value is received, then an embedded detection tool triggeredJeśli wartość nieuwzględniona na liście jest otrzymana, zwracane są wyniki dla wbudowanej detekcji ruchu. |
Note | ||
---|---|---|
| ||
Case sensitivity of detector triggering types is not guaranteed. For instance, Wielkość znaków dla typów wyzwoleń detekcji nie jest obsługiwana. Przykładowo, wartości 'ComeInZone', 'comeInZone' and oraz 'COMEINZOne' values are to be considered as the same onessą rozpoznawane tak samo. |