The invention discloses a measuring device and method for the vibration of a flexible
cantilever on the basis of
machine vision. The measuring device comprises a fixed bracket, the flexible
cantilever, a camera bracket, a CCD (
Charge Coupled Device) camera, a lens, a plurality of LED (Light-Emitting
Diode) light-emitting tubes and a PC (
Personal Computer), wherein one end of the flexible
cantilever is fixed on the fixed bracket; all the LED light-emitting tubes are arranged on the upper surface of the flexible cantilever in sequence; the top of the fixed bracket is provided with the camera bracket; the
CCD camera is fixed on the camera bracket and is provided with the lens; and an output port of the
CCD camera is connected with the PC. The
CCD camera measures each frame image of the vibration of the LED light-emitting tubes, and conveys the images to the PC; and the PC processes a detected
image sequence, extracts the position of the
mass center of the light spots of the LED light-emitting tubes and acquires the vibration displacement of all the LED light-emitting tubes and parameters for reflecting the low-frequency vibration of the flexible cantilever structure. The measuring device and method disclosed by the invention has the advantages that the non-contact effect is achieved, the measuring range is wide and the vibration characteristic of a measured object is not changed and the like, and can be widely applied.