An ophthalmic surgical system includes an imaging device configured to acquire a first image of a fundus of an eye and a hemorrhage detecting unit. The hemorrhage detecting unit includes a processor configured to receive the first fundus image from the imaging device, analyze the first fundus image to detect a hemorrhage in the eye, and in response to detecting the hemorrhage, send a signal to an intraocular pressure controller. The ophthalmic surgical system further includes the intraocular pressure controller, which includes a processor configured to receive the signal from the hemorrhage detecting unit, in response to the received signal, determine if a current intraoperative pressure of the eye is below a predetermined threshold, and in response to determining the current intraoperative pressure of the eye is below the predetermined threshold, generate a signal to increase the intraoperative pressure of the eye.