20090062622 | System and method for determining sleep status of a baby in a cradle and controlling movement of the cradle - A computer-based method for determining sleep status of a baby in a cradle and controlling movement of the cradle is disclosed. The method includes the steps of: obtaining an image of the baby's face at fixed intervals through a digital camera, and storing the image in the digital camera; finding the baby's face in the image; locating the eyes in the image of the baby's face and framing the opening of the eyelids; determining the openness of the baby's eyes by calculating a ratio of a height of a rectangle framing the opening of eyelids to a width of the rectangle, and comparing the result with the preset threshold; judging whether the baby is asleep according to the comparison; sending a corresponding command to the motor for controlling the movement of the cradle. A related system is also disclosed. | 03-05-2009 |