You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+48-19
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,6 @@ This SDK is designed to integrate IP cameras with the Faceter cloud video survei
12
12
13
13
**Faceter CloudCam SDK** – modules that implement interaction with the cloud and Faceter applications. The SDK requires a local RTSP stream, which is transmitted to the Faceter cloud using RTSP-push technology
14
14
15
-
## Faceter CloudCam SDK prebuilt libraries
16
-
17
-
Prebuilt libraries for different platforms are located in the [latest release](https://github.com/faceterteam/Faceter-CloudCam-SDK/releases/latest)
18
-
19
15
## Intergration sample
20
16
21
17
An example of code with stubs describing intergation process is shown in [integration_sample.c](integration_sample.c)
Each video event has VideoEventType if can be recognized, otherwise use **VideoEventMotion**.
212
-
If object can be detected it's type passed as second parameters, otherwise use **ObjectOther**.
220
+
Long time detection events have start point, end point and can be updated between start and end.
221
+
Use **FaceterClientOnVideoEventStart**, **FaceterClientOnVideoEventEnd** and **FaceterClientOnVideoEventUpdate** respectively.
222
+
Pass event timestamp in seconds since 01.01.1970. Each video event has VideoEventType if can be recognized, otherwise use **VideoEventMotion**. If object can be detected it's type passed as second parameters, otherwise use **ObjectUnknown**.
213
223
214
224
Also detector may provide object's attributes, that can be passed linked list of **DetectionAttribute**.
215
225
Parameter can be NULL if no information about object attributes provided.
216
226
DetectionAttribute is key-value structure of string type. Use PushDetectionAttribute to add object attribute.
217
227
Helper function PushHumanAttibutes creates DetectionAttribute list for human with gender and age fields.
218
228
Helper function PushVehicleAttributes creates DetectionAttribute list for vehicle with type and license plate fields
219
229
220
-
For describing objects bounding rects use **DetectionRect** list. Parameter can be NULL if no information about rect provided.
221
-
Rect coordinates (top left corner, width and height) are relative to image size and must be set as integers in the range [0..99].
222
-
For adding next DetectionRect to list PushDetectionRect use PushDetectionRect
230
+
For describing cells in grid where object was detected pass DetectionGrid object. It has number of columns, rows and array cells with uint32 numbers. Each bit in this number describe cell. If object detected in cell bit will be 1, otherwise 0.
223
231
224
232
Last two parameters - camera snapshot of detected event in jpeg format and snapshot bytes count. Can be NULL.
225
233
@@ -228,16 +236,37 @@ Last two parameters - camera snapshot of detected event in jpeg format and snaps
0 commit comments