1. A method for warning a user about a distance between user's eyes and a screen, comprising: acquiring an image containing the user's eyes; obtaining a number of pixels between the user's eyes from the image and comparing the number of pixels between the user's eyes with a preset value; warning the user if the number of pixels between the user's two eyes is larger than the preset value.