On-line detecting and compensating device used in bend pipe processing

An on-line detecting and compensating device used in bend pipe processing, which comprises an NC (numerical control) pipe bending machine, an image collecting device and an NC system, wherein the NC pipe bending machine is used for processing a bend pipe; the image collecting device is used for collecting images; and the NC system is used for realizing on-line detection and compensation; and the working position of the bend pipe of the NC pipe bending machine is positioned within a visual range of the image collecting device. The NC system 1 comprises an action execution module, an image collecting module, an on-line monitoring module and a real-time compensation module, wherein the action execution module is used for controlling the working of the NC pipe bending machine; the image collecting module is used for collecting resilience condition of the bent pipe shot by the imaging collecting device; and the on-line monitoring module is used for dynamically feeding-back and controlling the compensation parameter of the next bent pipe according to resilience error between current value and designed value. The on-line detecting and compensating device provided by the utility model has favorable reliability and effectively improves bending precision.