Download OpenAPI specification:
Configuration schema for the service analytics processing (analytics name is fs3). Applicable to use as analytics.parameters.parameters of create stream request in Luna-Video-Manager
Analytic parameters schema and example. Applicable to use as analytics.parameters.parameters of create stream
| mode | integer Default: 3 Enum: 1 2 3 Analytics mode:
|
| enabled | boolean Default: true Enables or disables analytics processing. |
| frame_processing_mode | string Default: "auto" Enum: "auto" "full" "scale" Whether full or scaled frame will be processed. "auto" depends on convert_full_frame parameter from fs3Config.conf settings. |
| real_time_mode_fps | integer >= 0 Default: 0 Number of FPS with which the video file will be processed. Intended for use with "videofile" stream type. |
| ffmpeg_threads_number | integer >= 0 Default: 0 Number of threads for video decoding. 0 means value is chosen automatically by decoder library. |
| preferred_program_stream_frame_width | integer >= 0 Default: 800 Frame width of the preferred program stream. Intended for protocols with multiple channels (e.g., HLS). Selects the channel whose frame width is closest to this value. Used with "stream" stream types. |
RoiAbs (object) or RoiPercent (object) (RoiLike) ROI-like object supporting absolute or percent-based coordinates. | |
RoiAbs (object) or RoiPercent (object) (RoiLike) ROI-like object supporting absolute or percent-based coordinates. | |
object (Sending) Stream sending parameters. | |
object (Filtering) | |
object (Liveness) | |
object (Healthcheck) Stream health check parameters. | |
object (PrimaryTrackPolicy) Access control related tracking policy. | |
object (EventHandler) |
{- "mode": 1,
- "enabled": true,
- "frame_processing_mode": "auto",
- "real_time_mode_fps": 0,
- "ffmpeg_threads_number": 0,
- "preferred_program_stream_frame_width": 800,
- "roi": {
- "x": 65536,
- "y": 65536,
- "width": 65536,
- "height": 65536,
- "mode": "abs"
}, - "droi": {
- "x": 65536,
- "y": 65536,
- "width": 65536,
- "height": 65536,
- "mode": "abs"
}, - "sending": {
- "body": {
- "send_only_full_set": true,
- "delete_track_after_sending": false
}, - "bestshot_settings": {
- "type": 1,
- "face_bestshots_to_send": 1,
- "body_bestshots_to_send": 1
}, - "full_frame_settings": 1,
- "time_period_of_searching": -1,
- "silent_period": 0,
- "type": "sec"
}, - "filtering": {
- "min_score_face": 0.5187,
- "min_score_body": 0.5,
- "detection_yaw_threshold": 40,
- "detection_pitch_threshold": 40,
- "detection_roll_threshold": 30,
- "yaw_number": 1,
- "yaw_collection_mode": false,
- "mouth_occlusion_threshold": 0,
- "min_body_size_threshold": 0
}, - "liveness": {
- "livenesses_weights": [
- 0,
- 0
], - "use_mask_liveness_filtration": false,
- "use_flying_faces_liveness_filtration": false,
- "liveness_mode": 0,
- "number_of_liveness_checks": 0,
- "liveness_threshold": 0,
- "mask_backgrounds_count": 0
}, - "healthcheck": {
- "period": 3600
}, - "primary_track_policy": {
- "use_primary_track_policy": false,
- "best_shot_min_size": 70,
- "best_shot_proper_size": 140
}, - "event_handler": {
- "type": "luna_handler",
- "handler_id": "ba31afd5-289a-4fee-82e1-619383938cad"
}
}