A surgical microscope comprises microscopy optics, a camera, a display system and a controller comprising a data memory storing object data of at least one surgical tool. The microscopy optics are variable optics for changing an imaging scale of an imaging of a field of view onto the camera. The controller is configured to process the camera images and to identify the at least one tool in the camera images by object recognition using the object data of the at least one tool and the set imaging scale.