Method for controlling a process for curving an elongated piece by a digital system comprising: - a control console provided with a programmable processing unit and with screen means for displaying data, associable with a roller curving machine (M; M') for curving said elongated piece, - a camera unit (2; 2'), operationally connected to said processing unit, and configured and positioned for acquiring images of the elongated piece to be curved by said roller curving machine (M; M'); CHARACTERIZED IN THAT IT COMPRISES THE STEPS OF: - storing the profile of at least one virtual template of curvature in said processing unit of the control console; - detecting, by said camera unit (2; 2'), a real image of the elongated piece to be curved positioned on said roller curving machine (M; M'); - wherein it is provided to orient said camera unit (2;2') according to an optical direction for the image acquisition substantially orthogonal to a working plane on which said elongated piece to be curved lies and advances, - wherein said image is composed of a frame obtained by a video acquisition from said camera unit (2; 2') or of a photograph directly acquired by said camera unit (2; 2'); characterised in that it comprises the steps of - reproducing, at the same time, the profile of said at least one virtual template and the real image of the elongated piece detected by said camera unit (2; 2') on said viewing screen means for enabling an operator to graphically compare the piece being progressively curved with said virtual template serving as reference graphical element; - wherein the profile of said at least one virtual template is graphically reproduced, by said processing unit, superimposed to the real image of the elongated piece to enable the operator to visually compare the shape of the piece being processed with said virtual template superimposed on the screen means; - comparing in real time the real image - detected by said camera unit (2; 2') - of said elongated piece reproduced on said viewing screen means with the profile of said at least one virtual template, reproduced on said viewing screen means and superimposed on said real image, and - based on the visual comparison of the shape of the piece with said at least one virtual template made possible by said digital system, driving said roller curving machine (M; M') for adapting the curvature and the geometric configuration of the elongated piece with the profile of said at least one virtual template of curvature. - a control console provided with a programmable processing unit and with screen means for displaying data, associable with a roller curving machine (M; M') for curving said elongated piece, - a camera unit (2; 2'), operationally connected to said processing unit, and configured and positioned for acquiring images of the elongated piece to be curved by said roller curving machine (M; M'); - storing the profile of at least one virtual template of curvature in said processing unit of the control console; - detecting, by said camera unit (2; 2'), a real image of the elongated piece to be curved positioned on said roller curving machine (M; M'); - wherein it is provided to orient said camera unit (2;2') according to an optical direction for the image acquisition substantially orthogonal to a working plane on which said elongated piece to be curved lies and advances, - wherein said image is composed of a frame obtained by a video acquisition from said camera unit (2; 2') or of a photograph directly acquired by said camera unit (2; 2'); - reproducing, at the same time, the profile of said at least one virtual template and the real image of the elongated piece detected by said camera unit (2; 2') on said viewing screen means for enabling an operator to graphically compare the piece being progressively curved with said virtual template serving as reference graphical element; - wherein the profile of said at least one virtual template is graphically reproduced, by said processing unit, superimposed to the real image of the elongated piece to enable the operator to visually compare the shape of the piece being processed with said virtual template superimposed on the screen means; - comparing in real time the real image - detected by said camera unit (2; 2') - of said elongated piece reproduced on said viewing screen means with the profile of said at least one virtual template, reproduced on said viewing screen means and superimposed on said real image, and - based on the visual comparison of the shape of the piece with said at least one virtual template made possible by said digital system, driving said roller curving machine (M; M') for adapting the curvature and the geometric configuration of the elongated piece with the profile of said at least one virtual template of curvature.