This paper presents a new Omni-Directional Tilt Sensor (ODTS), which consists of the LED light, transparent cone-shaped closed container, mercury, camera, embedded systems and so on. The volume of the mercury in the container is equal to half of the container’s. When the detected surface is horizontal, the shape of mercury in the image captured by the camera is a black disc since the mercury is lightproof. When the detected surface tilts, the mercury flows and the mercury surface always maintains horizontally due to the gravity force of the earth. At this time, some area of the transparent cone-shaped closed container is not shaded by mercury and the border of the mercury’s shape in the captured image is a half circle and a half ellipse. Thus there is a translucent crescent-shaped area in the image. With analyzing this area by the specific algorithm based on machine vision, the tilt angle and directional angle can be obtained. The experimental results show that the ODTS proposed has some advantages, such as simple maintenance, high precision, wide range, low cost, real-time, reliability and high visualization.