Skip to content

Commit

Permalink
Face SDK v3.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sergei-alabugin committed Oct 30, 2023
1 parent ca9c6ff commit 55ac9ee
Show file tree
Hide file tree
Showing 179 changed files with 7,930 additions and 604 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
© All Rights Reserved. <a href="https://3divi.com/">3DiVi Inc.</a>
<br/>
<a href="mailto: [email protected]">[email protected]</a>
</div>
</div>
11 changes: 11 additions & 0 deletions conf/facerec/access_control_system_one_face_q1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0"?>
<opencv_storage>

<capturer_impl_name>cascade_capturer</capturer_impl_name>

<cascade>
<blf_fda_back>common_capturer_blf_fda_back.xml</blf_fda_back>
<ssyv_fda_v2>common_capturer_ssyv_fda_v2.xml</ssyv_fda_v2>
</cascade>

</opencv_storage>
33 changes: 33 additions & 0 deletions conf/facerec/access_control_system_one_face_q2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0"?>
<opencv_storage>

<capturer_impl_name>fld_capturer</capturer_impl_name>

<capturer_type>frontal</capturer_type>

<detector_type>blf</detector_type>

<num_threads>1</num_threads>

<score_threshold>0.67</score_threshold>
<nms_iou_threshold>0.5</nms_iou_threshold>
<coarse_score_threshold>0.3</coarse_score_threshold>

<blf_id>blf-back</blf_id>
<blf_detector_file>share/facedetectors/blf/back_model.enc</blf_detector_file>

<use_mobile_gpu>1</use_mobile_gpu>
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<fitter_type>fda</fitter_type>
<fda_file>share/fda/fda0017.3500.enc</fda_file>

<iris_enabled>0</iris_enabled>
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>


<downscale_rawsamples_to_preferred_size>1</downscale_rawsamples_to_preferred_size>

</opencv_storage>
36 changes: 36 additions & 0 deletions conf/facerec/access_control_system_one_face_q3.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0"?>
<opencv_storage>

<capturer_impl_name>fld_capturer</capturer_impl_name>
<capturer_type>frontal</capturer_type>

<detector_type>uld</detector_type>
<min_size>90</min_size>
<max_size>10000</max_size>
<num_threads>1</num_threads>

<uld1_id>uld-part1</uld1_id>
<uld_part1_filepath>share/facedetectors/uld/uld_part1.enc</uld_part1_filepath>
<uld2_id>uld-part2</uld2_id>
<uld_part2_filepath>share/facedetectors/uld/uld_part2.enc</uld_part2_filepath>
<uld3_id>uld-part3</uld3_id>
<uld_part3_filepath>share/facedetectors/uld/uld_part3.enc</uld_part3_filepath>

<coarse_score_threshold>0.3</coarse_score_threshold>
<nms_iou_threshold>0.2</nms_iou_threshold>
<score_threshold>0.6</score_threshold>
<mask_score_threshold>1.0</mask_score_threshold>

<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>

<fitter_type>fda</fitter_type>
<fda_file>share/fda/fda0017.3500.enc</fda_file>

<iris_enabled>0</iris_enabled>
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>


<downscale_rawsamples_to_preferred_size>1</downscale_rawsamples_to_preferred_size>

</opencv_storage>
32 changes: 32 additions & 0 deletions conf/facerec/access_control_system_several_faces_q1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?xml version="1.0"?>
<opencv_storage>

<capturer_impl_name>fld_capturer</capturer_impl_name>

<capturer_type>frontal</capturer_type>


<detector_type>refa</detector_type>
<min_size>0.045</min_size>
<max_size>3</max_size>
<num_threads>1</num_threads>
<score_threshold>0.89</score_threshold>
<nms_iou_threshold>0.4</nms_iou_threshold>
<coarse_score_threshold>0.5</coarse_score_threshold>

<refa_id>refa-a</refa_id>
<refa_filepath>share/refa/refa-a.enc</refa_filepath>

<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>

<fitter_type>fda</fitter_type>
<fda_file>share/fda/fda0017.3500.enc</fda_file>

<iris_enabled>0</iris_enabled>
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>


<downscale_rawsamples_to_preferred_size>1</downscale_rawsamples_to_preferred_size>

</opencv_storage>
36 changes: 36 additions & 0 deletions conf/facerec/access_control_system_several_faces_q2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0"?>
<opencv_storage>

<capturer_impl_name>fld_capturer</capturer_impl_name>
<capturer_type>frontal</capturer_type>

<detector_type>uld</detector_type>
<min_size>90</min_size>
<max_size>10000</max_size>
<num_threads>1</num_threads>

<uld1_id>uld-part1</uld1_id>
<uld_part1_filepath>share/facedetectors/uld/uld_part1.enc</uld_part1_filepath>
<uld2_id>uld-part2</uld2_id>
<uld_part2_filepath>share/facedetectors/uld/uld_part2.enc</uld_part2_filepath>
<uld3_id>uld-part3</uld3_id>
<uld_part3_filepath>share/facedetectors/uld/uld_part3.enc</uld_part3_filepath>

<coarse_score_threshold>0.3</coarse_score_threshold>
<nms_iou_threshold>0.2</nms_iou_threshold>
<score_threshold>0.6</score_threshold>
<mask_score_threshold>1.0</mask_score_threshold>

<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>

<fitter_type>fda</fitter_type>
<fda_file>share/fda/fda0017.3500.enc</fda_file>

<iris_enabled>0</iris_enabled>
<iris_config_filepath>conf/facerec/iris_fitter.xml</iris_config_filepath>


<downscale_rawsamples_to_preferred_size>1</downscale_rawsamples_to_preferred_size>

</opencv_storage>
4 changes: 2 additions & 2 deletions conf/facerec/age_gender_estimator_v3.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

<age_gender_impl_name>version_3.0</age_gender_impl_name>

<analysisa>share/faceanalysis/age_heavy.enc</analysisa>
<analysisa>share/processing_block/age_estimator/heavy/1.enc</analysisa>
<age_use_cuda>false</age_use_cuda>
<analysisg>share/faceanalysis/gender_heavy.enc</analysisg>
<analysisg>share/processing_block/gender_estimator/heavy/1.enc</analysisg>
<gender_use_cuda>false</gender_use_cuda>

</opencv_storage>
2 changes: 1 addition & 1 deletion conf/facerec/common_capturer_blf_fda_back.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<use_mobile_gpu>1</use_mobile_gpu>
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>

<use_advanced_multithreading>0</use_advanced_multithreading>

<fitter_type>fda</fitter_type>
<fda_file>share/fda/fda0017.3500.enc</fda_file>
Expand Down
2 changes: 1 addition & 1 deletion conf/facerec/common_capturer_blf_fda_front.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<use_mobile_gpu>0</use_mobile_gpu>
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>

<use_advanced_multithreading>0</use_advanced_multithreading>

<fitter_type>fda</fitter_type>
<fda_file>share/fda/fda0017.3500.enc</fda_file>
Expand Down
1 change: 1 addition & 0 deletions conf/facerec/common_capturer_refa_fda_a.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>
<use_advanced_multithreading>0</use_advanced_multithreading>

<fitter_type>fda</fitter_type>
<fda_file>share/fda/fda0017.3500.enc</fda_file>
Expand Down
17 changes: 17 additions & 0 deletions conf/facerec/common_capturer_ssyv_fda_v2.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<opencv_storage>

<capturer_impl_name>fld_capturer</capturer_impl_name>

<detector_type>ssyv</detector_type>

<version>2</version>

<confidence_threshold>0.4</confidence_threshold>
<iou_threshold>0.45</iou_threshold>

<capturer_type>frontal</capturer_type>
<fitter_type>fda</fitter_type>
<fda_file>share/fda/fda0017.3500.enc</fda_file>

</opencv_storage>
17 changes: 17 additions & 0 deletions conf/facerec/common_capturer_ssyv_fda_v5.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<opencv_storage>

<capturer_impl_name>fld_capturer</capturer_impl_name>

<detector_type>ssyv</detector_type>

<version>3</version>

<confidence_threshold>0.4</confidence_threshold>
<iou_threshold>0.45</iou_threshold>

<capturer_type>frontal</capturer_type>
<fitter_type>fda</fitter_type>
<fda_file>share/fda/fda0017.3500.enc</fda_file>

</opencv_storage>
1 change: 1 addition & 0 deletions conf/facerec/common_capturer_uld_fda.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>
<use_advanced_multithreading>0</use_advanced_multithreading>

<fitter_type>fda</fitter_type>
<fda_file>share/fda/fda0017.3500.enc</fda_file>
Expand Down
2 changes: 1 addition & 1 deletion conf/facerec/emotions_estimator_v2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<emotion_impl_name>version_2.0</emotion_impl_name>

<analysis>share/faceanalysis/emotion.enc</analysis>
<analysis>share/processing_block/emotion_estimator/heavy/1.enc</analysis>
<use_cuda>false</use_cuda>

</opencv_storage>
2 changes: 1 addition & 1 deletion conf/facerec/face_mask_estimator_v2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<face_attribute_impl>version_2.0</face_attribute_impl>

<face_attribute_name>masked_face</face_attribute_name>
<face_attribute_data>share/faceattributes/mask.enc</face_attribute_data>
<face_attribute_data>share/processing_block/mask_estimator/light/1.enc</face_attribute_data>
<score_threshold>0.5</score_threshold>

<use_mobile_gpu>0</use_mobile_gpu>
Expand Down
2 changes: 1 addition & 1 deletion conf/facerec/fda_tracker_capturer_blf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>

<use_advanced_multithreading>0</use_advanced_multithreading>

<fda_max_bad_count_wait>5</fda_max_bad_count_wait>
<fda_max_weak_count_wait>30</fda_max_weak_count_wait>
Expand Down
2 changes: 1 addition & 1 deletion conf/facerec/fda_tracker_capturer_blf_front.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>

<use_advanced_multithreading>0</use_advanced_multithreading>

<fda_max_bad_count_wait>5</fda_max_bad_count_wait>
<fda_max_weak_count_wait>30</fda_max_weak_count_wait>
Expand Down
2 changes: 1 addition & 1 deletion conf/facerec/fda_tracker_capturer_refa_a.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>

<use_advanced_multithreading>0</use_advanced_multithreading>

<fda_max_bad_count_wait>5</fda_max_bad_count_wait>
<fda_max_weak_count_wait>30</fda_max_weak_count_wait>
Expand Down
2 changes: 1 addition & 1 deletion conf/facerec/fda_tracker_capturer_uld.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>

<use_advanced_multithreading>0</use_advanced_multithreading>

<fda_max_bad_count_wait>5</fda_max_bad_count_wait>
<fda_max_weak_count_wait>30</fda_max_weak_count_wait>
Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method10v1000_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<roc>
1.480450034142
0.000000000000
Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method10v100_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<fit_score>1</fit_score>
<use_custom_score_formula>0</use_custom_score_formula>

Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method10v30_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<fit_score>1</fit_score>
<use_custom_score_formula>0</use_custom_score_formula>

Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method11v1000_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<fit_score>1</fit_score>
<use_custom_score_formula>0</use_custom_score_formula>

Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method12v1000_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<roc>
1.512680053711
0.000000000000
Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method12v100_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<roc>
1.501399993896
0.000000000000
Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method12v30_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<roc>
1.454609990120
0.000000000000
Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method12v50_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<roc>
2.452589988708
0.000000000000
Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method9v1000_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<roc>
1.937479972839
0.000000000000
Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method9v1000mask_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<roc>
1.294199943542
0.000000000000
Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method9v300_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<fit_score>1</fit_score>
<use_custom_score_formula>0</use_custom_score_formula>

Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method9v300mask_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<roc>
1.294199943542
0.000000000000
Expand Down
1 change: 1 addition & 0 deletions conf/facerec/method9v30_recognizer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<use_cuda>0</use_cuda>
<gpu_index>0</gpu_index>


<roc>
1.630399942398
0.000000000000
Expand Down
Loading

0 comments on commit 55ac9ee

Please sign in to comment.