We propose a scheme for measuring the angular velocity of absolute rotation using a three-mode optomechanical system in which one mode of the two-dimensional (2D) mechanical resonator is coupled to an optical cavity. When the total system rotates, the Coriolis force acting on the 2D mechanical resonator due to the absolute rotation will affect the mechanical motion and thus change the phase of the output field from the cavity. The angular velocity of the absolute rotation can be estimated by monitoring the spectrum of the output field from the cavity via homodyne measurement. The minimum measurable angular velocity, which is determined by the noise spectrum, is calculated. The working range of the gyroscope for measuring angular velocity is discussed.