| Literature DB >> 24152926 |
Diana Borza1, Adrian Sergiu Darabant, Radu Danescu.
Abstract
This paper presents a system that automatically extracts the position of the eyeglasses and the accurate shape and size of the frame lenses in facial images. The novelty brought by this paper consists in three key contributions. The first one is an original model for representing the shape of the eyeglasses lens, using Fourier descriptors. The second one is a method for generating the search space starting from a finite, relatively small number of representative lens shapes based on Fourier morphing. Finally, we propose an accurate lens contour extraction algorithm using a multi-stage Monte Carlo sampling technique. Multiple experiments demonstrate the effectiveness of our approach.Entities:
Mesh:
Year: 2013 PMID: 24152926 PMCID: PMC3859084 DOI: 10.3390/s131013638
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1.Eyeglasses detection algorithm outline.
Figure 2.Reconstruction of the rim contour using Fourier descriptors. (a) Initial shape; (b) one descriptor; (c) two descriptors; (d) six descriptors; (e) 14 descriptors.
Figure 3.Morphing between two shapes using Fourier descriptors. (a) Shape 1, β = 0; (b) β = 0.25; (c) β = 0.5; (d) β = 0.75; (e) Shape 2, β = 1.
Figure 4.Edge and Distance transform images. (a) Canny edge detection; (b) distance transform.
Figure 5.Neoclassical cannon (inspired by [21]). Vertical fifths of the human face; the eye usually measures one fifth of the human face.
Eyeglasses database samples example. The table presents a sample for each one of the eyeglasses classes, along with the corresponding Fourier descriptors.
| Symmetrical rectangular rims |
| (4430, −454), (−57.3, −379), (1,110, −40.5), (−151, −416), (37.1, 303), (−88.4, −176), (−352, 255), (−566, −283), (−119, 281), (710, −375), (−29.4, 483), (5,040, 35.8), (334, 258), (24,700, 605) |
| Elliptical symmetrical rims |
| (874, 479), (185, −162), (684, 292), (18.5, 60.8), (185, 156), (−121, −223), (−28.6, −211), (−381, 214), (−119, 339), (−638, 308), (−12.7, 549), (1,650, 168), (285, −271), (23,200, -396) |
| Asymmetrical rims |
| (1750, −119), (−68.3, −526), (403, 136), (−142, −102), (217, 96.8), (−94.4, 2.60), (26.7, −71.9), (−554, −226), (−275, 203), (−289,−189), (−276, 358), (3,000, 77.4), (377, 108), (25,400, 813) |
Figure 6.Eyeglasses search area. The eyeglasses search space is fixed to a region surrounding the eyes.
Figure 7.Eyeglasses region of interest (ROI). The detected position of the eyes are marked with red rectangles. The approximated interpupillary distance is marked with a blue line, and the eyeglasses search area is delimited by a red rectangle.
Figure 8.Intermediate result after Monte Carlo and clustering. (a) Rectangular rims; (b) elliptical rims; (c) asymmetrical rims.
Figure 9.Final result of the algorithm. The extracted lenses contours are marked in red in the image.
Figure 10.Experimental setup: the patient stands still in front of the device with his head in a vertical position.
Detection rates.
| Eye detection | 98% | 2% | 0% |
| Lenses contour extraction | 92.3% | 2.5% | 5.2% |
Figure 11.Lens contour extraction results.
Figure 12.Eyeglasses contour extraction—some failure cases. The lens contours are not accurately extracted from images with little edge information.
Comparison of the proposed method with related works.
| Jiang | Detection | Edge information Geometry | 80 | Metric: Fisher criterion (J); can not compare |
|
| ||||
| Jing | Detection Extraction | Deformable contours | 419 | Extraction rates: |
|
| ||||
| Jing | Detection Extraction | Bayes rule | 100 | Mean average error (pixels): |
|
| ||||
| Wu | Extraction | 3D Hough Transform | 513 | Frames only: 80%; |
|
| ||||
| Park | Removal | Recursive error compensation PCA reconstruction | 100 | Metric: difference between input image and image without glasses; can not compare |
|
| ||||
| Park | Removal | Recursive PCA reconstruction | 264 | Metric: Euclidian distance between input image and reconstructed image; can not compare |
|
| ||||
| Wu | Eyeglasses localization Removal | MCMC Statistical analysis | 264 | Localization: 15 keypoints on the eyeglasses 95% |
|
| ||||
| Proposed solution | Extraction Shape recognition | Fourier descriptors, Monte Carlo | 363 | 92.3% |