The invention discloses a mounting method for a camera of a picking machine and a telescoping mechanism of the camera. The camera is mounted on a telescoping mechanism which can be folded up, and the position of the camera can be changed through the folding and unfolding of the telescoping mechanism, so as to realize visual gathering of a stand object. The telescoping mechanism mainly comprises the following components, namely a transmitting device, a machine rack, an electromotor, a machine rack cross beam, a section arm I, a section arm II and telescoping and guiding devices arranged on the two sides of the telescoping mechanism, and the telescoping and guiding devices, through the rotation of the electromotor, drive the length of the steel wire to change and realize space position change of the telescoping mechanism of the camera accordingly; the mechanism provided by the invention is convenient to operate, high in environmental adaptability, facilitates timely adjusting of systematic deviation between the mechanism and a camera connected there with, and is simple in structure, convenient to control and maintain, and high in practicability, and the replacement of the hydraulic oil tank with the pulley group greatly saves manufacturing cost. The mechanism can not only be applied to fruit picking machinery, but also be applied to small machinery utilizing telescoping mechanisms.