Assessment of bleeding in eye surgery