Organizations: Indian Institute of Technology Mandi, India · SAFE Center, Norwegian University of Science and Technology (NTNU), Gjøvik, Norway · Division of Digital Forensics, Directorate of Forensic Services Shimla, India
Forehead region-of-interest (ROI) localization is important for forehead-creases biometrics, particularly when the lower face is occluded. However, localization remains challenging under varying image quality, pose, and illumination. We propose Confidence and Consistency Guided Pseudo-Labeling (CCGP), which adapts Grounding DINO using unlabeled facial images filtered by detection confidence and geometric consistency between original and horizontally flipped views, without modifying the detector architecture or loss. We evaluate CCGP on five external datasets and 350 images spanning seven imaging conditions. CCGP achieves the highest mean intersection over union (mIoU) on four of five external datasets, improving from 0.415 to 0.580 on RMFRD compared with supervised Grounding DINO. On the quality-stratified subset, the largest gains occur under blur (0.487 to 0.719) and low contrast (0.615 to 0.710). CCGP also outperforms conventional self-training on RMFRD (0.580 versus 0.551 mIoU). Despite a slight in-domain performance gap (0.861 vs. 0.866 mIoU) and challenges with off-angle poses, CCGP improves cross-dataset localization under challenging imaging conditions.
Figures & tables
Figure 1: Proposed CCGP framework for confident & consistency guided pseudo-labeling generation, model fine-tuning, and forehead detection.
Dataset
Type
Subjects
Train
Val
Test
FH-V1 [ 1 ]
RWMF
247
2508
1250
1206
CelebA [ 12 ]
RWF
–
13,375
–
-
FH-V2 [ 19 ]
RWMF
295
–
–
5890
LFW [ 3 ]
RWSMF
5749
–
–
13130
AgeDB-30 [ 13 ]
RWSMF
568
–
–
16412
RMFRD [ 23 ]
RWMF
426
–
–
2095
Table 1: Datasets used for evaluation and pseudo-label generation. RWMF, RWSMF, and RWF denote real-world masked-face, simulated masked-face, and real-world face datasets.
Figure 2: Real World Masked Face (RWMF) and Simulated Masked Face (RWSMF) datasets sample images
Method
mIoU
F1-score
Precision
Recall
YOLOv7 [ 22 ]
0.844[0.836,0.852]
0.923
0.931
0.915
YOLOv8 [ 8 ]
0.846[0.842,0.848]
0.921
0.921
0.921
Mask R-CNN [ 6 ]
0.855[0.851,0.858]
0.936
0.936
0.936
DiffusionInst [ 5 ]
0.901 [0.896,0.906]
0.938
0.937
0.938
Grounding DINO [ 10 ]
0.866[0.863,0.870]
0.948
0.948
0.947
Proposed (Ours)
0.861[0.858,0.865]
0.946
0.946
0.947
Table 2: Forehead ROI localization performance on the FH-V1 subject-disjoint test set. mIoU is reported with 95% confidence intervals (CIs). Precision, recall, and F1-score are computed using detection matching at an IoU threshold of 0.75.
Method
Test Dataset
mIoU
F1-score
Precision
Recall
YOLOv7 [ 22 ]
FH-V2
0.702[0.698,0.705]
0.425
0.428
0.423
YOLOv8 [ 8 ]
FH-V2
0.713[0.709,0.716]
0.467
0.468
0.467
Mask R-CNN [ 6 ]
FH-V2
0.700[0.697,0.704]
0.424
0.425
0.423
DiffusionInst [ 5 ]
FH-V2
0.701[0.697,0.704]
0.417
0.418
0.417
Grounding DINO [ 10 ]
FH-V2
0.702[0.699,0.706]
0.422
0.422
0.422
Proposed (Ours)
FH-V2
0.709[0.705,0.712]
0.451
0.452
0.451
Table 3: Cross-dataset forehead ROI localization performance. mIoU is reported with 95% CIs. Precision, recall, and F1-score are computed using detection matching at an IoU threshold of 0.75.
Figure 3: Qualitative comparison of forehead ROI localization across blur, low contrast, and off-angle cases.
Condition
YOLOv7
YOLOv8
Mask R-CNN
DiffusionInst
Grounding DINO
Our
Normal/Good
0.611
0.650
0.687
0.608
0.729
0.765[0.727,0.797]
Scale Variation
0.412
0.416
0.584
0.464
0.628
0.663[0.606,0.712]
Blur
0.373
0.426
0.579
0.340
0.487
0.719[0.671,0.762]
Illumination
0.566
0.575
0.685
0.599
0.727
0.759[0.721,0.792]
Shadow
0.384
0.474
0.536
0.452
0.615
0.649[0.578,0.712]
Low Contrast
0.477
0.444
0.640
0.529
0.615
0.710[0.660,0.758]
Table 4: Forehead ROI localization robustness under real-world imaging conditions. mIoU is reported with 95% CI.
Method
mIoU
F1-score
Precision
Recall
Grounding DINO [ 10 ]
0.415[0.400, 0.430]
0.292
0.378
0.238
Self-trained Grounding DINO
0.551[0.538, 0.564]
0.382
0.419
0.351
CCGP (Ours)
0.580[0.567, 0.592]
0.385
0.405
0.367
Table 5: Ablation study of forehead ROI localization on the RMFRD dataset.
Method
Params (M)
FLOPs (G)
FPS
YOLOv7 [ 22 ]
37.84
117.02
155.56
YOLOv8 [ 8 ]
11.78
42.44
141.77
Mask R-CNN [ 6 ]
43.92
372.96
31.45
DiffusionInst [ 5 ]
112.26
369.61
19.22
Grounding DINO [ 10 ]
172.91
679.81
0.62
Ours
172.91
679.81
0.62
Table 6: Computational characteristics of the evaluated models.