Added max redness detector for input
Added max redness detector for input