Systems, methods, and computer programs, for analyzing images of a portion of a person to detect a severity of a medical condition