Go to documentation repository
Page History
The Zapytanie POST request (see Search request) used for search start must contain binary data of searched face in jpеg format(zobacz: Żądanie wyszukiwania) używane do rozpoczęcia zapytania musi zawierać dane binarne wyszukiwanej twarzy w formacie jpeg.
Info | |||
---|---|---|---|
| |||
Wszystkie zdarzenia wyzwolenia detekcji twarzy są przechowywane w tabeli bazie danych All face detection triggerings are stored in thet_json_event database table. The Tabela t_face_vector table stores the vectors of faces recognized by the detection tool.The przechowuje wektory twarzy rozpoznane przez narzędzie detekcji. Tabela t_face_listed table stores the face images added to the list of people. przechowuje obrazy twarzy dodane do listy osób. |
Parametr | Wymagany | Opis | Parameter | Required | Description | |||
---|---|---|---|---|---|---|---|---|
accuracy | No | Nie | Parametr accuracy oznacza wymaganą zgodność rozpoznanej twarzy z wyszukiwaną twarzą z zasięgu The accuracy parameter is a recognition rate from range [0, 1] (1 – complete match). This parameter is specified additionally in the search line or in the request body (starting from the idealne dopasowanie). Parametr ten może być dodany w linii wyszukiwania bądź w body zapytania (począwszy od wersji 4.3.0.7914 version7914). Otherwise, the default value Domyślna wartość to 0.9 will be used.
|
Note | ||
---|---|---|
| ||
If the Jeśli body of the POST request is empty, then the search will return all the results for the recognized faces. The accuracy parameter value in this case will be 0.POST zapytania jest puste, wyszukiwanie zwróci wyniki dla wszystkich rozpoznanych twarzy; w takim przypadku wartość parametru accuracy wyniesie 0. |
Przykładowe zapytanieSample request:
POST http://127.0.0.1:80/search/face/SERVER1/AVDetector.2/EventSupplier/past/future?accuracy=0.7
GET http://127.0.0.1:80/search/face/2e69ba76-23f1-4d07-a812-fee86e994b8e/result
Sample responsePrzykładowa odpowiedź:
Code Block |
---|
{ "events" : [ { "accuracy" : 0.90591877698898315, "origin" : "hosts/SERVER1/DeviceIpint.2/SourceEndpoint.video:0:0", "position" : { "bottom" : 0.10694444444444445, "left" : 0.69687500000000002, "right" : 0.74687500000000007, "top" : 0.018055555555555554 }, "timestamp" : "20160914T085307.499000" }, { "accuracy" : 0.90591877698898315, "origin" : "hosts/SERVER1/DeviceIpint.2/SourceEndpoint.video:0:0", "position" : { "bottom" : 0.10694444444444445, "left" : 0.69687500000000002, "right" : 0.74687500000000007, "top" : 0.018055555555555554 }, "timestamp" : "20160914T085830.392000" } ] } |
ParameterParametr | DescriptionOpis | ||
---|---|---|---|
origin | Сamera channel to take analyzed video stream from. | ||
timestamp | Time stamp of a video frame with a face detected by the detection tool. | ||
Kanał kamery, z którego ma zostać pozyskany zanalizowany strumień wideo. | |||
timestamp | Znacznik czasu klatki wideo z twarzą rozpoznaną przez narzędzie detekcji. | ||
accuracy | Dokładność rozpoznawania w zasięgu | accuracy | Recognition accuracy ranged [0,1], with gdzie 1 corresponding to full matchidealne dopasowanie. |
positionCoordinates of a frame border enclosing face on a video frame | Koordynaty obramowania zawierającego twarz na klatce wideo. |