Skip to content

Commit 45a64c5

Browse files
Face SDK v3.20.0
1 parent 4a571ce commit 45a64c5

File tree

67 files changed

+1831
-2097
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+1831
-2097
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div align="center">
2-
<a href="https://face.3divi.com"><img src="https://download.3divi.com/facesdk/img/3divi_logo.png" width="400" height="100" title="3DiVi Logo" alt="Logo"></a>
2+
<a href="https://3divi.ai/products/software/face-sdk?utm_source=git&utm_medium=a&utm_campaign=b"><img src="https://download.3divi.com/facesdk/img/3divi_logo.png" width="400" height="100" title="3DiVi Logo" alt="Logo"></a>
33
<br/>
44
<a href="https://docs.3divi.ai/face_sdk/getting_started"><img src="https://download.3divi.com/facesdk/img/get_started_button.png" title="3DiVi Getting Started" alt="Getting Started"></a>
55
<a href="https://docs.3divi.ai/face_sdk/overview"><img src="https://download.3divi.com/facesdk/img/doc_button.png" title="3DiVi Documentation" alt="Documentation"></a>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0"?>
2+
<opencv_storage>
3+
4+
<capturer_impl_name>fld_capturer</capturer_impl_name>
5+
6+
<detector_type>pb_fd</detector_type>
7+
<modification>uld</modification>
8+
9+
<min_size>150</min_size>
10+
<num_threads>1</num_threads>
11+
12+
<iou_threshold>0.2</iou_threshold>
13+
<coarse_confidence_threshold>0.3</coarse_confidence_threshold>
14+
<confidence_threshold>0.7</confidence_threshold>
15+
16+
<capturer_type>frontal</capturer_type>
17+
<fitter_type>fda</fitter_type>
18+
<fda_file>share/fda/fda0017.3500.enc</fda_file>
19+
20+
<iris_enabled>0</iris_enabled>
21+
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>
22+
23+
</opencv_storage>

conf/facerec/common_capturer_ssyv_fda_v2.xml

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
<capturer_impl_name>fld_capturer</capturer_impl_name>
55

6-
<detector_type>ssyv</detector_type>
7-
6+
<detector_type>pb_fd</detector_type>
7+
<modification>ssyv</modification>
88
<version>2</version>
99

1010
<confidence_threshold>0.4</confidence_threshold>
@@ -14,4 +14,7 @@
1414
<fitter_type>fda</fitter_type>
1515
<fda_file>share/fda/fda0017.3500.enc</fda_file>
1616

17+
<iris_enabled>0</iris_enabled>
18+
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>
19+
1720
</opencv_storage>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0"?>
2+
<opencv_storage>
3+
4+
<capturer_impl_name>fld_capturer</capturer_impl_name>
5+
6+
<detector_type>pb_fd</detector_type>
7+
<modification>ssyv</modification>
8+
<version>3</version>
9+
10+
<confidence_threshold>0.4</confidence_threshold>
11+
<iou_threshold>0.45</iou_threshold>
12+
13+
<capturer_type>frontal</capturer_type>
14+
<fitter_type>fda</fitter_type>
15+
<fda_file>share/fda/fda0017.3500.enc</fda_file>
16+
17+
<iris_enabled>0</iris_enabled>
18+
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>
19+
20+
</opencv_storage>

conf/facerec/common_capturer_ssyv_fda_v5.xml

+6-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
<capturer_impl_name>fld_capturer</capturer_impl_name>
55

6-
<detector_type>ssyv</detector_type>
7-
8-
<version>3</version>
6+
<detector_type>pb_fd</detector_type>
7+
<modification>ssyv</modification>
8+
<version>4</version>
99

1010
<confidence_threshold>0.4</confidence_threshold>
1111
<iou_threshold>0.45</iou_threshold>
@@ -14,4 +14,7 @@
1414
<fitter_type>fda</fitter_type>
1515
<fda_file>share/fda/fda0017.3500.enc</fda_file>
1616

17+
<iris_enabled>0</iris_enabled>
18+
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>
19+
1720
</opencv_storage>

conf/facerec/safety_city_q1.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
<capturer_impl_name>fld_capturer</capturer_impl_name>
55

6-
<detector_type>ssyv</detector_type>
7-
8-
<version>3</version>
6+
<detector_type>pb_fd</detector_type>
7+
<modification>ssyv</modification>
8+
<version>4</version>
99

1010
<confidence_threshold>0.4</confidence_threshold>
1111
<iou_threshold>0.45</iou_threshold>

conf/facerec/safety_city_q2.xml

+6-26
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,16 @@
22
<opencv_storage>
33

44
<capturer_impl_name>fld_capturer</capturer_impl_name>
5-
<capturer_type>frontal</capturer_type>
6-
7-
<detector_type>uld</detector_type>
8-
<min_size>50</min_size>
9-
<max_size>10000</max_size>
10-
<num_threads>1</num_threads>
115

12-
<uld1_id>uld-part1</uld1_id>
13-
<uld_part1_filepath>share/facedetectors/uld/uld_part1.enc</uld_part1_filepath>
14-
<uld2_id>uld-part2</uld2_id>
15-
<uld_part2_filepath>share/facedetectors/uld/uld_part2.enc</uld_part2_filepath>
16-
<uld3_id>uld-part3</uld3_id>
17-
<uld_part3_filepath>share/facedetectors/uld/uld_part3.enc</uld_part3_filepath>
6+
<detector_type>pb_fd</detector_type>
7+
<modification>ssyv</modification>
8+
<version>3</version>
189

19-
<coarse_score_threshold>0.3</coarse_score_threshold>
20-
<nms_iou_threshold>0.2</nms_iou_threshold>
21-
<score_threshold>0.6</score_threshold>
22-
<mask_score_threshold>1.0</mask_score_threshold>
23-
24-
<use_cuda>0</use_cuda>
25-
<gpu_index>0</gpu_index>
26-
<use_advanced_multithreading>0</use_advanced_multithreading>
10+
<confidence_threshold>0.4</confidence_threshold>
11+
<iou_threshold>0.45</iou_threshold>
2712

13+
<capturer_type>frontal</capturer_type>
2814
<fitter_type>fda</fitter_type>
2915
<fda_file>share/fda/fda0017.3500.enc</fda_file>
3016

31-
<iris_enabled>0</iris_enabled>
32-
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>
33-
34-
35-
<downscale_rawsamples_to_preferred_size>1</downscale_rawsamples_to_preferred_size>
36-
3717
</opencv_storage>

conf/facerec/safety_city_q3.xml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0"?>
2+
<opencv_storage>
3+
4+
<capturer_impl_name>fld_capturer</capturer_impl_name>
5+
<capturer_type>frontal</capturer_type>
6+
7+
<detector_type>uld</detector_type>
8+
<min_size>50</min_size>
9+
<max_size>10000</max_size>
10+
<num_threads>1</num_threads>
11+
12+
<uld1_id>uld-part1</uld1_id>
13+
<uld_part1_filepath>share/facedetectors/uld/uld_part1.enc</uld_part1_filepath>
14+
<uld2_id>uld-part2</uld2_id>
15+
<uld_part2_filepath>share/facedetectors/uld/uld_part2.enc</uld_part2_filepath>
16+
<uld3_id>uld-part3</uld3_id>
17+
<uld_part3_filepath>share/facedetectors/uld/uld_part3.enc</uld_part3_filepath>
18+
19+
<coarse_score_threshold>0.3</coarse_score_threshold>
20+
<nms_iou_threshold>0.2</nms_iou_threshold>
21+
<score_threshold>0.6</score_threshold>
22+
<mask_score_threshold>1.0</mask_score_threshold>
23+
24+
<use_cuda>0</use_cuda>
25+
<gpu_index>0</gpu_index>
26+
<use_advanced_multithreading>0</use_advanced_multithreading>
27+
28+
<fitter_type>fda</fitter_type>
29+
<fda_file>share/fda/fda0017.3500.enc</fda_file>
30+
31+
<iris_enabled>0</iris_enabled>
32+
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>
33+
34+
35+
<downscale_rawsamples_to_preferred_size>1</downscale_rawsamples_to_preferred_size>
36+
37+
</opencv_storage>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
<?xml version="1.0"?>
2+
<opencv_storage>
3+
4+
<video_worker_impl_name>libface_video_worker</video_worker_impl_name>
5+
6+
<tracker_type>fdatracker</tracker_type>
7+
8+
9+
10+
<fda_file>share/fda/fda0017.3500.enc</fda_file>
11+
12+
<fda_max_bad_count_wait>5</fda_max_bad_count_wait>
13+
<fda_max_weak_count_wait>30</fda_max_weak_count_wait>
14+
<fda_good_threshold>0.7</fda_good_threshold>
15+
<fda_continue_tracking_threshold>0.2</fda_continue_tracking_threshold>
16+
<!--<base_angle>0</base_angle>-->
17+
18+
<iris_enabled>0</iris_enabled>
19+
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>
20+
21+
<min_detection_period>0.1</min_detection_period>
22+
<max_detection_period>0</max_detection_period>
23+
<move_detection_threshold>8</move_detection_threshold>
24+
<max_processed_width>640</max_processed_width>
25+
<max_processed_height>640</max_processed_height>
26+
27+
28+
<detector_sub_type>pb_fd</detector_sub_type>
29+
<modification>uld</modification>
30+
<min_size>150</min_size>
31+
<num_threads>1</num_threads>
32+
33+
<iou_threshold>0.2</iou_threshold>
34+
<coarse_confidence_threshold>0.3</coarse_confidence_threshold>
35+
<confidence_threshold>0.7</confidence_threshold>
36+
37+
<use_cuda>0</use_cuda>
38+
<gpu_index>0</gpu_index>
39+
<use_advanced_multithreading>0</use_advanced_multithreading>
40+
41+
<depth_data_flag>0</depth_data_flag>
42+
<depth_liveness_config>conf/facerec/depth_liveness_estimator_cnn.xml</depth_liveness_config>
43+
<timestamp_distance_threshold_in_microsecs>5000</timestamp_distance_threshold_in_microsecs>
44+
<max_frames_number_to_synch_depth>150</max_frames_number_to_synch_depth>
45+
<max_frames_queue_size>3</max_frames_queue_size>
46+
47+
<face_quality_model>share/face_quality/fda_fqm.bin</face_quality_model>
48+
49+
<consecutive_match_count_for_match_found_callback>2</consecutive_match_count_for_match_found_callback>
50+
51+
<recognition_yaw_min_threshold> -40 </recognition_yaw_min_threshold>
52+
<recognition_yaw_max_threshold> 40 </recognition_yaw_max_threshold>
53+
54+
<recognition_pitch_min_threshold> -40 </recognition_pitch_min_threshold>
55+
<recognition_pitch_max_threshold> 40 </recognition_pitch_max_threshold>
56+
57+
<consequent_detector_rejection_count_remove_limit>5</consequent_detector_rejection_count_remove_limit>
58+
59+
<max_detector_confirm_wait_time>3</max_detector_confirm_wait_time>
60+
61+
<max_frame_delay_store>10</max_frame_delay_store>
62+
63+
<good_light_dark_threshold>32</good_light_dark_threshold>
64+
<good_light_range_threshold>32</good_light_range_threshold>
65+
<good_blur_threshold>0.20</good_blur_threshold>
66+
67+
<single_match_mode>0</single_match_mode>
68+
69+
<delayed_samples_in_tracking_callback>0</delayed_samples_in_tracking_callback>
70+
71+
<weak_tracks_in_tracking_callback>0</weak_tracks_in_tracking_callback>
72+
73+
<search_k>1</search_k>
74+
75+
76+
<matching_queue_size_limit>10000</matching_queue_size_limit>
77+
<processing_queue_size_limit>1000</processing_queue_size_limit>
78+
79+
<recognizer_processing_less_memory_consumption>0</recognizer_processing_less_memory_consumption>
80+
81+
<not_found_match_found_callback>0</not_found_match_found_callback>
82+
83+
<store_original_frame_in_raw_sample>0</store_original_frame_in_raw_sample>
84+
85+
86+
87+
<squeeze_match_found_callback_groups>0</squeeze_match_found_callback_groups>
88+
89+
<debug_log_enabled>0</debug_log_enabled>
90+
91+
<downscale_rawsamples_to_preferred_size>1</downscale_rawsamples_to_preferred_size>
92+
93+
<min_template_generation_face_size>-1</min_template_generation_face_size>
94+
<min_tracking_face_size>-1</min_tracking_face_size>
95+
<max_tracking_face_size>-1</max_tracking_face_size>
96+
97+
<need_stable_results>0</need_stable_results>
98+
99+
100+
<age_gender_estimator_config>conf/facerec/age_gender_estimator.xml</age_gender_estimator_config>
101+
<emotions_estimator_config>conf/facerec/emotions_estimator.xml</emotions_estimator_config>
102+
103+
<enable_active_liveness>0</enable_active_liveness>
104+
<active_liveness_estimator_config>conf/facerec/active_liveness_estimator.xml</active_liveness_estimator_config>
105+
106+
</opencv_storage>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<?xml version="1.0"?>
2+
<opencv_storage>
3+
4+
<video_worker_impl_name>libface_video_worker</video_worker_impl_name>
5+
6+
<tracker_type>fdatracker</tracker_type>
7+
8+
9+
10+
<fda_file>share/fda/fda0017.3500.enc</fda_file>
11+
12+
<fda_max_bad_count_wait>5</fda_max_bad_count_wait>
13+
<fda_max_weak_count_wait>30</fda_max_weak_count_wait>
14+
<fda_good_threshold>0.7</fda_good_threshold>
15+
<fda_continue_tracking_threshold>0.2</fda_continue_tracking_threshold>
16+
<!--<base_angle>0</base_angle>-->
17+
18+
<iris_enabled>0</iris_enabled>
19+
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>
20+
21+
<min_detection_period>0.1</min_detection_period>
22+
<max_detection_period>0</max_detection_period>
23+
<move_detection_threshold>8</move_detection_threshold>
24+
<max_processed_width>640</max_processed_width>
25+
<max_processed_height>640</max_processed_height>
26+
27+
28+
<detector_sub_type>pb_fd</detector_sub_type>
29+
<modification>ssyv</modification>
30+
<version>2</version>
31+
<num_threads>1</num_threads>
32+
33+
<iou_threshold>0.45</iou_threshold>
34+
<confidence_threshold>0.4</confidence_threshold>
35+
36+
<use_cuda>0</use_cuda>
37+
<gpu_index>0</gpu_index>
38+
<use_advanced_multithreading>0</use_advanced_multithreading>
39+
40+
<depth_data_flag>0</depth_data_flag>
41+
<depth_liveness_config>conf/facerec/depth_liveness_estimator_cnn.xml</depth_liveness_config>
42+
<timestamp_distance_threshold_in_microsecs>5000</timestamp_distance_threshold_in_microsecs>
43+
<max_frames_number_to_synch_depth>150</max_frames_number_to_synch_depth>
44+
<max_frames_queue_size>3</max_frames_queue_size>
45+
46+
<face_quality_model>share/face_quality/fda_fqm.bin</face_quality_model>
47+
48+
<consecutive_match_count_for_match_found_callback>2</consecutive_match_count_for_match_found_callback>
49+
50+
<recognition_yaw_min_threshold> -40 </recognition_yaw_min_threshold>
51+
<recognition_yaw_max_threshold> 40 </recognition_yaw_max_threshold>
52+
53+
<recognition_pitch_min_threshold> -40 </recognition_pitch_min_threshold>
54+
<recognition_pitch_max_threshold> 40 </recognition_pitch_max_threshold>
55+
56+
<consequent_detector_rejection_count_remove_limit>5</consequent_detector_rejection_count_remove_limit>
57+
58+
<max_detector_confirm_wait_time>3</max_detector_confirm_wait_time>
59+
60+
<max_frame_delay_store>10</max_frame_delay_store>
61+
62+
<good_light_dark_threshold>32</good_light_dark_threshold>
63+
<good_light_range_threshold>32</good_light_range_threshold>
64+
<good_blur_threshold>0.20</good_blur_threshold>
65+
66+
<single_match_mode>0</single_match_mode>
67+
68+
<delayed_samples_in_tracking_callback>0</delayed_samples_in_tracking_callback>
69+
70+
<weak_tracks_in_tracking_callback>0</weak_tracks_in_tracking_callback>
71+
72+
<search_k>1</search_k>
73+
74+
75+
<matching_queue_size_limit>10000</matching_queue_size_limit>
76+
<processing_queue_size_limit>1000</processing_queue_size_limit>
77+
78+
<recognizer_processing_less_memory_consumption>0</recognizer_processing_less_memory_consumption>
79+
80+
<not_found_match_found_callback>0</not_found_match_found_callback>
81+
82+
<store_original_frame_in_raw_sample>0</store_original_frame_in_raw_sample>
83+
84+
85+
86+
<squeeze_match_found_callback_groups>0</squeeze_match_found_callback_groups>
87+
88+
<debug_log_enabled>0</debug_log_enabled>
89+
90+
<downscale_rawsamples_to_preferred_size>1</downscale_rawsamples_to_preferred_size>
91+
92+
<min_template_generation_face_size>-1</min_template_generation_face_size>
93+
<min_tracking_face_size>-1</min_tracking_face_size>
94+
<max_tracking_face_size>-1</max_tracking_face_size>
95+
96+
<need_stable_results>0</need_stable_results>
97+
98+
99+
<age_gender_estimator_config>conf/facerec/age_gender_estimator.xml</age_gender_estimator_config>
100+
<emotions_estimator_config>conf/facerec/emotions_estimator.xml</emotions_estimator_config>
101+
102+
<enable_active_liveness>0</enable_active_liveness>
103+
<active_liveness_estimator_config>conf/facerec/active_liveness_estimator.xml</active_liveness_estimator_config>
104+
105+
</opencv_storage>

0 commit comments

Comments
 (0)