Video face detection: findface-video-manager and findface-video-worker¶
Note
The findface-video-worker is delivered in a CPU-accelerated (findface-video-worker-cpu) and a GPU-accelerated (findface-video-worker-gpu) packages.
In this section:
Functions of findface-video-manager¶
The findface-video-manager service is the part of the video face detection module that is used for managing the video face detection functionality.
The findface-video-manager service interfaces with findface-video-worker as follows:
- It supplies
findface-video-workerwith settings and the list of to-be-processed video streams. To do so, it issues a so-called job, a video processing task that contains configuration settings and stream data. - In a distributed system, it distributes video streams (jobs) across vacant
findface-video-workerinstances.
Note
Configuration settings passed via jobs have priority over the findface-video-manager configuration file.
The findface-video-manager service functioning requires ETCD, third-party software that implements a distributed key-value store for findface-video-manager. In the FindFace core, ETCD is used as a coordination service, providing the video face detector with fault tolerance.
Functionality:
- allows for configuring video face detection parameters,
- allows for managing the list of to-be-processed video streams,
- implements video face detection management.
Functions of findface-video-worker¶
The findface-video-worker service (on CPU/GPU) is the part of the video face detection module, that recognizes faces in the video. It can work with both live streams and files, and supports most video formats and codecs that can be decoded by FFmpeg.
The findface-video-worker service interfaces with the findface-video-manager and findface-facerouter services as follows:
- By request,
findface-video-workergets a job with settings and the list of to-be-processed video streams fromfindface-video-manager. - The
findface-video-workerposts extracted normalized face images, along with the full frames and meta data (such as bbox, camera ID and detection time) to thefindface-facerouterservice for further processing.
Note
In FindFace Security, the findface-facerouter functions are performed by findface-security.
Functionality:
- detects faces in the video,
- extracts normalized face images,
- searches for the best face snapshot,
- snapshot deduplication (only one snapshot per face detection event).
When processing video, findface-video-worker consequently uses the following algorithms:
- Motion detection. Used to reduce resource consumption. Only when the motion detector recognizes the motion of certain intensity that the face tracker can be triggered.
- Face tracking. The face tracker traces, detects and captures faces in the video. It can simultaneously be working with several faces. It also searches for the best face snapshot, using an embedded neural network. After the best face snapshot is found, it is posted to
findface-facerouter.
The best face snapshot can be found in one of the following modes:
- Real-time
- Offline
Real-Time Mode
In the real-time mode, findface-video-worker posts a face on-the-fly after it appears in the camera field of view. The following posting options are available (see /etc/findface-video-manager.conf or Add Camera):
- If
realtime_post_every_interval: true, the face tracker searches for the best face snapshot within each time period equal torealtime_post_intervaland posts it tofindface-facerouter. - If
realtime_post_every_interval: false, the face tracker searches for the best face snapshot dynamically:- First, the face tracker estimates whether the quality of a face snapshot exceeds a pre-defined internal threshold. If so, the snapshot is posted to
findface-facerouter. - The threshold value increases after each post. Each time the face tracker gets a higher quality snapshot of the same face, it is posted.
- When the face disappears from the camera field of view, the threshold value resets to default.
- First, the face tracker estimates whether the quality of a face snapshot exceeds a pre-defined internal threshold. If so, the snapshot is posted to
- If
realtime_post_first_immediately: true, the face tracker posts the very first face snapshot immediately after the face appears in the camera field of view. The following postings depend on therealtime_post_every_intervalvalue.
Offline Mode
The offline mode is less storage intensive than the real-time one as in this mode findface-video-worker posts only one snapshot per track, but of the highest quality. In this mode, the face tracker buffers a video stream with a face in it until the face disappears from the camera field of view. Then the face tracker picks up the best face snapshot from the buffered video and posts it to findface-facerouter.
By default, the offline mode is enabled through the overall_only parameter ( see /etc/findface-video-manager.conf or Add Camera).
Configure Video Face Detection¶
The video face detector configuration is done through the following configuration files:
The
findface-video-managerconfiguration file/etc/findface-video-manager.conf:listen: 127.0.0.1:18810 etcd: endpoints: 127.0.0.1:2379 dial_timeout: 3s kafka: enabled: false endpoints: 127.0.0.1:9092 master: lease_ttl: 10 self_url: 127.0.0.1:18811 self_url_http: 127.0.0.1:18810 rpc: listen: 127.0.0.1:18811 heart_beat_timeout: 4s router_url: http://127.0.0.1:18820/v0/frame exp_backoff: enabled: false min_delay: 1s max_delay: 1m0s factor: 2 flush_interval: 2m0s ntls: enabled: false url: http://127.0.0.1:3185/ update_interval: 1m0s prometheus: jobs_processed_duration_buckets: - 1 - 30 - 60 - 500 - 1800 - 3600 - 21600 - .inf job_scheduler_script: '' stream_settings: ffmpeg_params: [] md_threshold: 0.002 md_scale: 0.3 fd_frame_height: -1 uc_max_time_diff: 30 uc_max_dup: 3 uc_max_avg_shift: 10 det_period: 8 realtime: false npersons: 4 disable_drops: false tracker_threads: 4 parse_sei: false image_arg: photo additional_headers: [] additional_body: [] api_timeout: 15000 api_ssl_verify: true post_uniq: true min_score: -2 min_d_score: -1000 realtime_dly: 500 realtime_post_perm: false rot: '' roi: '' draw_track: false send_track: 0 min_face_size: 0 max_face_size: 0 overall: true only_norm: false max_candidates: 0 jpeg_quality: 95 ffmpeg_format: '' stream_settings_gpu: play_speed: -1 filter_min_quality: -2 filter_min_face_size: 1 filter_max_face_size: 8192 normalized_only: false jpeg_quality: 95 overall_only: false use_stream_timestamp: false ffmpeg_params: [] router_timeout_ms: 15000 router_verify_ssl: true router_headers: [] router_body: [] start_stream_timestamp: 0 imotion_threshold: 0 rot: '' roi: '' realtime_post_interval: 1 realtime_post_every_interval: true ffmpeg_format: '' disable_drops: false router_full_frame_png: false router_disable_normalized: false crop_fullframe_rot: false realtime_post_first_immediately: false
When configuring
findface-video-manager, refer to the following parameters:
Option Description router_urlIP address and port of the findface-facerouterhost to receive detected faces fromfindface-video-worker. In FindFace Security,findface-facerouterfunctions are performed byfindface-security. Default value:http://127.0.0.1:18820/v0/frame.etcd->endpointsIP address and port of the etcdservice. Default value:127.0.0.1:2379.ntls->enabledIf true, findface-video-managerwill send a job tofindface-video-workeronly if the total number of processed cameras does not exceed the allowed number of cameras from the license. Default value: false.ntls->urlIP address and port of the findface-ntlshost. Default value:http://127.0.0.1:3185/.You can also configure the following parameters:
Note
In the
stream_settings-gpusection of the file, you will find general settings for all video streams. The settings in this section work for both CPU and GPU configuration. Settings of a particular stream, passed in a job, have priority over those in the configuration file (see Jobs).Note
The
stream_settingssection of the file is deprecated and necessary only for backward compatibility.
Option Description play_speedIf less than zero, the speed is not limited. In other cases, the stream is read with the given play_speed. Not applicable for live streams.filter_min_qualityMinimum threshold value for a face image quality. A face is posted if it has better quality. The threshold value is to be fitted empirically. Empirical units: negative rational numbers to zero. Milestones: 0 = high quality faces, -1 = good quality, -2 = satisfactory quality, -5 = face recognition maybe inefficient. Default value: -2. filter_min_face_sizeMinimum size of a face in pixels. Undersized faces are not posted. Default value: 0 (filter disabled). filter_max_face_sizeMaximum size of a face in pixels. Oversized faces are not posted. Default value: 0 (filter disabled). normalized_onlyEnable posting only normalized face images without full frames. Default value: false. jpeg_qualityQuality of an original frame JPEG compression, in percents. Default value: 95%. overall_onlyEnables the offline mode for the best face search. Default value: true. use_stream_timestampIf true, retrieve and post timestamps from a video stream. If false, post the actual date and time. ffmpeg_paramsList of a video stream ffmpeg options with their values as a key=value array: [“rtsp_transpotr=tcp”, .., “ss=00:20:00”]. Check out the FFmpeg web site for the full list of options. Default value: options not specified. router_timeout_msTimeout for a findface-facerouter(orfindface-securityin the standard FindFace Security configuration) response to afindface-video-workerAPI request, in milliseconds. If the timeout has expired, the system will log an error. Default value: 15000.router_verify_sslEnables a https certificate verification when findface-video-workerandfindface-facerouter(orfindface-securityin the standard FindFace Security configuration) interact over https. Default value: true. If false, a self-signed certificate can be accepted.router_headersAdditional header fields in a request when posting a face: [“key = value”]. Default value: headers not specified. router_bodyAdditional body fields in a request body when posting a face: [“key = value”]. Default value: body fields not specified. start_stream_timestampAdd the specified number of seconds to timestamps from a stream. imotion_thresholdMinimum motion intensity to be detected by the motion detector. The threshold value is to be fitted empirically. Empirical units: zero and positive rational numbers. Milestones: 0 = detector disabled, 0.002 = default value, 0.05 = minimum intensity is too high to detect motion. rotEnables detecting and tracking faces only inside a clipping rectangle WxH+X+Y. You can use this option to reduce findface-video-workerload. Default value: rectangle not specified.roiEnable posting faces detected only inside a region of interest WxH+X+Y. Default value: region not specified. realtime_post_intervalOnly for the real-time mode. Defines the time period in seconds within which the face tracker picks up the best snapshot and posts it to findface-facerouter. Default value: 1.realtime_post_every_intervalOnly for the realtime mode. Post best snapshots obtained within each realtime_post_intervaltime period. If false, search for the best snapshot dynamically and send snapshots in order of increasing quality. Default value: false.ffmpeg_formatPass FFMPEG format (mxg, flv, etc.) if it cannot be detected automatically. disable_dropsEnables posting all appropriate faces without drops. By default, if findface-video-workerdoes not have enough resources to process all frames with faces, it drops some of them. If this option is active,findface-video-workerputs odd frames on the waiting list to process them later. Default value: false.router_full_frame_pngSend full frames in PNG and not in JPEG as set by default. Do not enable this parameter without supervision from our team as it can affect the entire system functioning. Default value: false (send in JPEG). router_disable_normalizedSend only full frames without normalized images. Do not enable this parameter without supervision from our team as it can affect the entire system functioning. Default value: false (send full frames and normalized images). crop_fullframe_rotCrop posted full frames by ROT. Default value: false. realtime_post_first_immediatelyEnable posting a face right after it appears in a camera field of view (real-time mode). Default value: false.
If you opt for the CPU-accelerated package
findface-video-worker-cpu, use the/etc/findface-video-worker-cpu.iniconfiguration file:## read streams from file, do not use VideoManager ## type:string env:CFG_INPUT longopt:--input input = ## exit on first finished job, only when --input specified ## type:bool env:CFG_EXIT_ON_FIRST_FINISHED longopt:--exit-on-first-finished exit_on_first_finished = false ## batch size ## type:number env:CFG_BATCH_SIZE longopt:--batch-size batch_size = 4 ## http server port for metrics, 0=do not start server ## type:number env:CFG_METRICS_PORT longopt:--metrics-port metrics_port = 0 ## resize scale, 1=do not resize ## type:double env:CFG_RESIZE_SCALE longopt:--resize-scale resize_scale = 1.000000 ## maximum number of streams ## type:number env:CFG_CAPACITY longopt:--capacity capacity = 10 ## command to obtain videomanager's grpc ip:port ## type:string env:CFG_MGR_CMD longopt:--mgr-cmd mgr_cmd = ## videomanager grpc ip:port ## type:string env:CFG_MGR_STATIC longopt:--mgr-static mgr_static = 127.0.0.1:18811 ## ntls server ip:port ## type:string env:CFG_NTLS_ADDR longopt:--ntls-addr ntls_addr = 127.0.0.1:3133 ## debug: save faces to dir ## type:string env:CFG_SAVE_DIR longopt:--save-dir save_dir = ## minimum face size ## type:number env:CFG_MIN_FACE_SIZE longopt:--min-face-size min_face_size = 60 ## preinit detector for specified resolutions: "640x480;1920x1080" ## type:string env:CFG_RESOLUTIONS longopt:--resolutions resolutions = ## worker labels: labels = k=v;group=enter ## type:string env:CFG_LABELS longopt:--labels labels = ## use timestamps from SEI packet ## type:bool env:CFG_USE_TIME_FROM_SEI longopt:--use-time-from-sei use_time_from_sei = false ## reader frame buffer size ## type:number env:CFG_FRAME_BUFFER_SIZE longopt:--frame-buffer-size frame_buffer_size = 128 ## skip count ## type:number env:CFG_SKIP_COUNT longopt:--skip-count skip_count = 2 #------------------------------ [streamer] #------------------------------ ## streamer/shots webserver port, 0=disabled ## type:number env:CFG_STREAMER_PORT longopt:--streamer-port port = 18999 ## streamer url - how to access this worker on streamer_port ## type:string env:CFG_STREAMER_URL longopt:--streamer-url url = 127.0.0.1:18999 #------------------------------ [liveness] #------------------------------ ## path to liveness fnk ## type:string env:CFG_LIVENESS_FNK longopt:--liveness-fnk fnk = ## path to normalization for liveness ## type:string env:CFG_LIVENESS_NORM longopt:--liveness-norm norm = ## liveness internal algo param ## type:double env:CFG_LIVENESS_INTERVAL longopt:--liveness-interval interval = 1.000000 ## liveness internal algo param ## type:number env:CFG_LIVENESS_STDEV_CNT longopt:--liveness-stdev-cnt stdev_cnt = 1 #------------------------------ [send] #------------------------------ ## posting faces threads ## type:number env:CFG_SEND_THREADS longopt:--send-threads threads = 8 ## posting faces maximum queue size ## type:number env:CFG_SEND_QUEUE_LIMIT longopt:--send-queue-limit queue_limit = 256 #------------------------------ [tracker] #------------------------------ ## interpolate undetected bboxes in track ## type:bool env:CFG_TRACKER_INTERPOLATE_BBOXES longopt:--tracker-interpolate-bboxes interpolate_bboxes = true ## max face miss duration, sec ## type:double env:CFG_TRACKER_MISS_INTERVAL longopt:--tracker-miss-interval miss_interval = 1.000000 ## overlap threshold ## type:double env:CFG_TRACKER_OVERLAP_THRESHOLD longopt:--tracker-overlap-threshold overlap_threshold = 0.250000 #------------------------------ [models] #------------------------------ ## path to pedestrian detector fnk ## type:string env:CFG_MODELS_BODY_DETECTOR longopt:--models-body-detector body_detector = ## path to detector fnk ## type:string env:CFG_MODELS_DETECTOR longopt:--models-detector detector = /usr/share/findface-data/models/facedet/cheetah_fast.cpu.fnk ## path to quality fnk ## type:string env:CFG_MODELS_QUALITY longopt:--models-quality quality = /usr/share/findface-data/models/faceattr/quality.v0.cpu.fnk ## path to norm for quality fnk ## type:string env:CFG_MODELS_NORM_QUALITY longopt:--models-norm-quality norm_quality = /usr/share/findface-data/models/facenorm/bee_fast.cpu.fnk ## path to norm200 fnk, for face send ## type:string env:CFG_MODELS_NORM_200 longopt:--models-norm-200 norm_200 = /usr/share/findface-data/models/facenorm/bee.v2.cpu.fnk ## path to norm_crop2x fnk, for face send ## type:string env:CFG_MODELS_NORM_CROP2X longopt:--models-norm-crop2x norm_crop2x = /usr/share/findface-data/models/facenorm/crop2x.v2_maxsize400.cpu.fnk ## path to cache directory ## type:string env:CFG_MODELS_CACHE_DIR longopt:--models-cache-dir cache_dir = /var/cache/findface/models_cache
If you opt for the GPU-accelerated package
findface-video-worker-gpu, use the/etc/findface-video-worker-gpu.iniconfiguration file.## cuda device number ## type:number env:CFG_DEVICE_NUMBER longopt:--device-number device_number = 0 ## apply getprop patch ## type:bool env:CFG_PATCH_GETPROP longopt:--patch-getprop patch_getprop = false ## read streams from file, do not use VideoManager ## type:string env:CFG_INPUT longopt:--input input = ## exit on first finished job, only when --input specified ## type:bool env:CFG_EXIT_ON_FIRST_FINISHED longopt:--exit-on-first-finished exit_on_first_finished = false ## batch size ## type:number env:CFG_BATCH_SIZE longopt:--batch-size batch_size = 8 ## http server port for metrics, 0=do not start server ## type:number env:CFG_METRICS_PORT longopt:--metrics-port metrics_port = 0 ## resize scale, 1=do not resize ## type:double env:CFG_RESIZE_SCALE longopt:--resize-scale resize_scale = 1.000000 ## maximum number of streams ## type:number env:CFG_CAPACITY longopt:--capacity capacity = 30 ## command to obtain videomanager's grpc ip:port ## type:string env:CFG_MGR_CMD longopt:--mgr-cmd mgr_cmd = ## videomanager grpc ip:port ## type:string env:CFG_MGR_STATIC longopt:--mgr-static mgr_static = 127.0.0.1:18811 ## ntls server ip:port ## type:string env:CFG_NTLS_ADDR longopt:--ntls-addr ntls_addr = 127.0.0.1:3133 ## debug: save faces to dir ## type:string env:CFG_SAVE_DIR longopt:--save-dir save_dir = ## minimum face size ## type:number env:CFG_MIN_FACE_SIZE longopt:--min-face-size min_face_size = 60 ## preinit detector for specified resolutions: "640x480;1920x1080" ## type:string env:CFG_RESOLUTIONS longopt:--resolutions resolutions = ## worker labels: labels = k=v;group=enter ## type:string env:CFG_LABELS longopt:--labels labels = ## use timestamps from SEI packet ## type:bool env:CFG_USE_TIME_FROM_SEI longopt:--use-time-from-sei use_time_from_sei = false ## reader frame buffer size ## type:number env:CFG_FRAME_BUFFER_SIZE longopt:--frame-buffer-size frame_buffer_size = 128 ## skip count ## type:number env:CFG_SKIP_COUNT longopt:--skip-count skip_count = 0 #------------------------------ [streamer] #------------------------------ ## streamer/shots webserver port, 0=disabled ## type:number env:CFG_STREAMER_PORT longopt:--streamer-port port = 0 ## streamer url - how to access this worker on streamer_port ## type:string env:CFG_STREAMER_URL longopt:--streamer-url url = 127.0.0.1:9999 #------------------------------ [liveness] #------------------------------ ## path to liveness fnk ## type:string env:CFG_LIVENESS_FNK longopt:--liveness-fnk fnk = ## path to normalization for liveness ## type:string env:CFG_LIVENESS_NORM longopt:--liveness-norm norm = ## liveness internal algo param ## type:double env:CFG_LIVENESS_INTERVAL longopt:--liveness-interval interval = 1.000000 ## liveness internal algo param ## type:number env:CFG_LIVENESS_STDEV_CNT longopt:--liveness-stdev-cnt stdev_cnt = 1 #------------------------------ [send] #------------------------------ ## posting faces threads ## type:number env:CFG_SEND_THREADS longopt:--send-threads threads = 8 ## posting faces maximum queue size ## type:number env:CFG_SEND_QUEUE_LIMIT longopt:--send-queue-limit queue_limit = 256 #------------------------------ [tracker] #------------------------------ ## interpolate undetected bboxes in track ## type:bool env:CFG_TRACKER_INTERPOLATE_BBOXES longopt:--tracker-interpolate-bboxes interpolate_bboxes = true ## max face miss duration, sec ## type:double env:CFG_TRACKER_MISS_INTERVAL longopt:--tracker-miss-interval miss_interval = 1.000000 ## overlap threshold ## type:double env:CFG_TRACKER_OVERLAP_THRESHOLD longopt:--tracker-overlap-threshold overlap_threshold = 0.250000 #------------------------------ [models] #------------------------------ ## path to pedestrian detector fnk ## type:string env:CFG_MODELS_BODY_DETECTOR longopt:--models-body-detector body_detector = ## path to detector fnk ## type:string env:CFG_MODELS_DETECTOR longopt:--models-detector detector = /usr/share/findface-data/models/facedet/cheetah_fast.gpu.fnk ## path to quality fnk ## type:string env:CFG_MODELS_QUALITY longopt:--models-quality quality = /usr/share/findface-data/models/faceattr/quality.v0.gpu.fnk ## path to norm for quality fnk ## type:string env:CFG_MODELS_NORM_QUALITY longopt:--models-norm-quality norm_quality = /usr/share/findface-data/models/facenorm/bee_fast.gpu.fnk ## path to norm200 fnk, for face send ## type:string env:CFG_MODELS_NORM_200 longopt:--models-norm-200 norm_200 = /usr/share/findface-data/models/facenorm/bee.v2.gpu.fnk ## path to norm_crop2x fnk, for face send ## type:string env:CFG_MODELS_NORM_CROP2X longopt:--models-norm-crop2x norm_crop2x = /usr/share/findface-data/models/facenorm/crop2x.v2_maxsize400.gpu.fnk ## path to cache directory ## type:string env:CFG_MODELS_CACHE_DIR longopt:--models-cache-dir cache_dir = /var/cache/findface/models_cache #------------------------------ [video_decoder] #------------------------------ ## decode video on cpu ## type:bool env:CFG_VIDEO_DECODER_CPU longopt:--video-decoder-cpu cpu = false
When configuring
findface-video-worker(on CPU/GPU), refer to the following parameters:CPU GPU Description ntls-addrIP address and port of the findface-ntlshost.mgr-staticIP address of the findface-video-managerhost to providefindface-video-workerwith settings and the list of to-be-processed streams.capacityMaximum number of video streams to be processed by findface-video-worker.mgr-cmd(Optional, instead of the mgr-staticparameter) A command to obtain the IP address of thefindface-video-managerhost.labelsLabels used to allocate a video face detector instance to a certain group of cameras. See Allocate findface-video-worker to Camera Group. streamer->port,urlIP address and port to access the video wall. liveness->fnkPath to the face liveness detector. liveness->normPath to the normalizer used in the liveness detector. inputProcess streams from file, ignoring stream data from findface-video-manager.exit_on_first_finished(Only if inputis specified) Exit on the first finished job.resize_scaleRescale video frames with the given coefficient. save_dir(For debug) Save detected faces to the given directory. min_face_sizeMinimum face size to be detected. N/a device_numberGPU device number to use. N/a models_dirOld directory with GPU detector models. Otherwise, use the [models]section.N/a cpuIf necessary, decode video on CPU.
Jobs¶
The findface-video-manager service provides findface-video-worker with a so-called job, a video processing task that contains configuration settings and stream data.
The content of a typical job is shown in the example below.
curl http://127.0.0.1:18810/job/1 | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2045 100 2045 0 0 199k 0 --:--:-- --:--:-- --:--:-- 221k
[
{
"id": "ffsec_video_source",
"enabled": false,
"stream_url": "file:///var/lib/ffsecurity/uploads/videos/2.bin",
"labels": {
"camera_group_id": "1",
"camera_id": "0",
"video_source_id": "2"
},
"router_url": "http://127.0.0.1/video-detector/frame",
"single_pass": true,
"stream_settings": {
"ffmpeg_params": [],
"md_threshold": 0.002,
"md_scale": 0.3,
"fd_frame_height": -1,
"uc_max_time_diff": 30,
"uc_max_dup": 3,
"uc_max_avg_shift": 10,
"det_period": 8,
"realtime": false,
"npersons": 4,
"disable_drops": true,
"tracker_threads": 4,
"parse_sei": false,
"image_arg": "photo",
"additional_headers": [
"Authorization=Token 08ad0f283812584b731c62f7d14cb7d0"
],
"additional_body": [],
"api_timeout": 15000,
"api_ssl_verify": true,
"post_uniq": true,
"min_score": -2,
"min_d_score": -1000,
"realtime_dly": 500,
"realtime_post_perm": false,
"rot": "",
"roi": "",
"draw_track": false,
"send_track": 0,
"min_face_size": 0,
"max_face_size": 0,
"overall": true,
"only_norm": false,
"max_candidates": 0,
"jpeg_quality": 95,
"ffmpeg_format": ""
},
"stream_settings_gpu": {
"play_speed": -1,
"filter_min_quality": -2,
"filter_min_face_size": 1,
"filter_max_face_size": 8192,
"normalized_only": false,
"jpeg_quality": 95,
"overall_only": false,
"use_stream_timestamp": false,
"ffmpeg_params": [],
"router_timeout_ms": 15000,
"router_verify_ssl": true,
"router_headers": [
"Authorization=Token 08ad0f283812584b731c62f7d14cb7d0"
],
"router_body": [],
"start_stream_timestamp": 0,
"imotion_threshold": 0,
"rot": "",
"roi": "",
"realtime_post_interval": 1,
"realtime_post_every_interval": true,
"ffmpeg_format": "",
"disable_drops": true,
"router_full_frame_png": false,
"router_disable_normalized": false,
"crop_fullframe_rot": false,
"realtime_post_first_immediately": false
},
"status": "DISABLED",
"status_msg": "",
"statistic": {
"processed_duration": 0,
"faces_posted": 0,
"faces_failed": 0,
"faces_not_posted": 0,
"processing_fps": 0,
"frames_dropped": 0,
"frames_processed": 0,
"frames_imotion_skipped": 0,
"decoding_soft_errors": 0,
"job_starts": 0
},
"restream_url": "ws://127.0.0.1:18999/stream/ffsec_video_source",
"shots_url": "http://127.0.0.1:18999/shot/ffsec_video_source",
"worker_id": "",
"version": "brb4165r6c59llrq2a40"
}
]
Each job has the following parameters:
id: job id.enabled: active status.stream_url: URL/address of video stream/file to process.labels: tag(s) that will be used by thefindface-faceroutercomponent (findface-securityin the standard FindFace Security configuration) to find processing directives for faces detected in this stream.single_pass: if true, disable restarting video processing upon error (by default, false).router_url: IP address and port of thefindface-faceroutercomponent (findface-securityin the standard FindFace Security configuration) to receive detected faces from thefindface-video-workercomponent for processing.stream_settings: used only for backward compatibility.stream_settings_gpu: video stream settings that duplicate those in thefindface-video-managerconfiguration file (while having priority over them).status: job status.status_msg: additional job status info.statistic: job progress statistics (progress duration, number of posted and not posted faces, processing fps, the number of processed and dropped frames, job start time, etc.).worker_id: id of thefindface-video-workerinstance executing the job.