System and method for determining sleep status of a baby in a cradle and controlling movement of the cradle
First Claim
1. A system for determining sleep status of a baby in a cradle and controlling movement of the cradle, the system comprising a motor and a digital camera, the motor and the digital camera being installed on a beam of a stand of the cradle, the motor being connected to the digital camera, the digital camera comprising a sensor and a detecting module, the sensor being configured for obtaining an image of the baby'"'"'s face, the detecting module comprising:
- a face-detecting sub-module configured for finding the baby'"'"'s face in the image;
an eyes-detecting sub-module configured for locating the eyes in the image of the baby'"'"'s face and framing the opening of the eyelids; and
an analyzing sub-module configured for 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, comparing the result with the preset threshold, judging whether the baby is asleep according to the comparison, and sending a corresponding command to the motor for controlling the movement of the cradle.
1 Assignment
0 Petitions
Accused Products
Abstract
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.
-
Citations
10 Claims
-
1. A system for determining sleep status of a baby in a cradle and controlling movement of the cradle, the system comprising a motor and a digital camera, the motor and the digital camera being installed on a beam of a stand of the cradle, the motor being connected to the digital camera, the digital camera comprising a sensor and a detecting module, the sensor being configured for obtaining an image of the baby'"'"'s face, the detecting module comprising:
-
a face-detecting sub-module configured for finding the baby'"'"'s face in the image; an eyes-detecting sub-module configured for locating the eyes in the image of the baby'"'"'s face and framing the opening of the eyelids; and an analyzing sub-module configured for 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, comparing the result with the preset threshold, judging whether the baby is asleep according to the comparison, and sending a corresponding command to the motor for controlling the movement of the cradle. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for determining sleep status of a baby in a cradle and controlling movement of the cradle, the method comprising:
-
obtaining an image of the baby'"'"'s face at fixed intervals through a digital camera, and storing the image in the digital camera, the digital camera being connected to a motor mounted on the cradle; 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; and sending a corresponding command to the motor for controlling the movement of the cradle. - View Dependent Claims (7, 8, 9, 10)
-
Specification