Module: Morandi::RedEye

Defined in:
lib/morandi/redeye.rb,
lib/morandi/redeye.rb

Defined Under Namespace

Modules: TapRedEye

Constant Summary collapse

RED_AREA_DENSITY_THRESHOLD =

The parameter determines how many reddish pixels needs to be in the area to consider it a valid red eye The reason for its existence is to prevent the situations when the bigger red area causes an excessive correction e.g. continuous red eyeglasses frame or sunburnt person’s skin around eyes forming an area

0.3