def get_nose_box()

in lambda/challenge.py [0:0]


    def get_nose_box(image_width, image_height):
        width = Challenge.NOSE_BOX_SIZE
        height = Challenge.NOSE_BOX_SIZE
        multiplier = random.choice([1, -1])
        left = image_width/2 + (
            multiplier *
            random.randint(Challenge.NOSE_BOX_CENTER_MIN_H_DIST,
                           Challenge.NOSE_BOX_CENTER_MAX_H_DIST)
        )
        if multiplier == -1:
            left = left - width
        multiplier = random.choice([1, -1])
        top = image_height/2 + (
            multiplier *
            random.randint(0, Challenge.NOSE_BOX_CENTER_MAX_V_DIST)
        )
        if multiplier == -1:
            top = top - height
        return [left, top, width, height]