Disclosed are a method and system for single-camera distance ranging. When a mobile terminal is in camera filming mode, the outer edge of a target object is continuously recognized and tracked. A user orients the mobile terminal toward the target object and moves said terminal laterally; the mobile terminal calculates the distance between the mobile terminal and the target object according to the change in the display width of the target object on a screen or the change in the framing width on a mobile terminal screen and the lateral-shift distance of the mobile terminal. The whole ranging process is completed based on the existing mobile terminal image processing and movement perception functions, thereby making possible single-camera ranging from a mobile terminal with no requirement for additional optical component. Ranging accuracy can be further enhanced with the addition of a posture-monitoring step during the lateral movement of the mobile terminal.
展开▼