The invention discloses a
shooting method and
system based on a sensor. The method comprises the steps of: when entering a shooting mode, starting the sensor and acquiring a distance to an object in the front, which is sensed by the sensor, in real time; and comparing the distance with a preset
distance threshold, and when the distance is smaller than the preset threshold, triggering a
shutter to carry out shooting. According to the invention, the distance to the object in the front is sensed by the sensor and an intelligent terminal is controlled to carry out shooting according to the distance, so that a user can shot by a method of closing to the
shutter, and thus, the condition that in the shooting process, due to pressing on the shooting
shutter, the shutter is shaken to cause to
shoot a fuzzy photo is effectively prevented, imaging stability of shooting is improved and a visual effect of the photo is improved.