Features#

The following tasks are supported:

  • Classification - binary classification of the presence of glasses and their types.

  • Detection - binary detection of worn/standalone glasses and eye area.

  • Segmentation - binary segmentation of glasses and their parts.

Each task has multiple kinds (task categories) and model sizes (architectures with pre-trained weights).

Classification#

Classification Kinds#

Kind

Description

Examples

anyglasses

Identifies any kind of glasses, googles, or spectacles.

../_images/classification-eyeglasses-pos.jpg ../_images/classification-sunglasses-pos.jpg ../_images/classification-no-glasses-neg.jpg

Positive

Positive

Negative

eyeglasses

Identifies only transparent glasses (here referred as eyeglasses)

../_images/classification-eyeglasses-pos.jpg ../_images/classification-sunglasses-neg.jpg ../_images/classification-no-glasses-neg.jpg

Positive

Negative

Negative

sunglasses

Identifies only opaque and semi-transparent glasses (here referred as sunglasses)

../_images/classification-eyeglasses-neg.jpg ../_images/classification-sunglasses-pos.jpg ../_images/classification-no-glasses-neg.jpg

Negative

Positive

Negative

shadows

Identifies cast shadows (only shadows of (any) glasses frames)

../_images/classification-shadows-pos.jpg ../_images/classification-shadows-neg.jpg ../_images/classification-no-glasses-neg.jpg

Positive

Negative

Negative

Check classifier performances

Detection#

Detection Kinds#

Kind

Description

Examples

eyes

Detects only the eye region, no glasses.

../_images/detection-eyes-0.jpg ../_images/detection-eyes-1.jpg ../_images/detection-eyes-2.jpg

solo

Detects any glasses in the wild, i.e., standalone glasses that are placed somewhere.

../_images/detection-solo-0.jpg ../_images/detection-solo-1.jpg ../_images/detection-solo-2.jpg

worn

Detects any glasses worn by people but can also detect non-worn glasses.

../_images/detection-worn-0.jpg ../_images/detection-worn-1.jpg ../_images/detection-worn-2.jpg

Check detector performances

Segmentation#

Segmentation Kinds#

Kind

Description

Examples

frames

Segments frames (including legs) of any glasses

../_images/segmentation-frames-0.jpg ../_images/segmentation-frames-1.jpg ../_images/segmentation-frames-2.jpg

full

Segments full glasses, i.e., lenses and the whole frame

../_images/segmentation-full-0.jpg ../_images/segmentation-full-1.jpg ../_images/segmentation-full-2.jpg

legs

Segments only frame legs of standalone glasses

../_images/segmentation-legs-0.jpg ../_images/segmentation-legs-1.jpg ../_images/segmentation-legs-2.jpg

lenses

Segments lenses of any glasses (both transparent and opaque).

../_images/segmentation-lenses-0.jpg ../_images/segmentation-lenses-1.jpg ../_images/segmentation-lenses-2.jpg

shadows

Segments cast shadows on the skin by the glasses frames only (does not consider opaque lenses).

../_images/segmentation-shadows-0.jpg ../_images/segmentation-shadows-1.jpg ../_images/segmentation-shadows-2.jpg

smart

Segments visible glasses parts: like full but does not segment lenses if they are transparent.

../_images/segmentation-smart-0.jpg ../_images/segmentation-smart-1.jpg ../_images/segmentation-smart-2.jpg

Check segmenter performances