The present invention relates to a method and a system for detecting the sharpness of the object image particularly suited for the application in the automatic focus detecting device of the optical system of the optical instrument such as camera and so on.