A method of acquiring the shape of the outline of a bezel of a rim of an eyeglass frame, the method comprising sensing the bezel by driving a feeler to slide or roll along the longitudinal direction of the bezel, the feeler being urged transversely towards the bottom of the bezel, with the shape deduced for a sensed curve approximating a longitudinal trace of the bezel, and said shape of the sensed curve being corrected, characterized in that the correction of the sensed curve comprises: - searching for one or more anomalous zones (S1, S2), if any, of the sensed curve in which the feeler deviated from the bottom of the bezel; and - if one or more anomalous zones (S1, S2) are found, correcting the shape of each anomalous zone (S1, S2) of the sensed curve: - by sensing each anomalous zone (S1, S2) of the outline of the bezel again, the feeler being controlled during this new sensing operation in application of second transverse and/or longitudinal position and/or force setpoints that depend on the anomalous zones (S1, S2) found, or - by replacing the shape of each anomalous zone (S1, S2) of the sensed curve with a shape that is reconstructed by calculation in application of continuity criteria involving differentiation of order greater than or equal to 1 relative to zones of the sensed curve that are adjacent to said anomalous zone (S1, S2), or - by sensing a plurality of points of the anomalous zone (S1, S2) of the bezel and replacing the shape of the sensed curve in each anomalous zone (S1, S2) with a shape that is reconstructed by interpolation based on said sensed points. - searching for one or more anomalous zones (S1, S2), if any, of the sensed curve in which the feeler deviated from the bottom of the bezel; and - if one or more anomalous zones (S1, S2) are found, correcting the shape of each anomalous zone (S1, S2) of the sensed curve: - by sensing each anomalous zone (S1, S2) of the outline of the bezel again, the feeler being controlled during this new sensing operation in application of second transverse and/or longitudinal position and/or force setpoints that depend on the anomalous zones (S1, S2) found, or - by replacing the shape of each anomalous zone (S1, S2) of the sensed curve with a shape that is reconstructed by calculation in application of continuity criteria involving differentiation of order greater than or equal to 1 relative to zones of the sensed curve that are adjacent to said anomalous zone (S1, S2), or - by sensing a plurality of points of the anomalous zone (S1, S2) of the bezel and replacing the shape of the sensed curve in each anomalous zone (S1, S2) with a shape that is reconstructed by interpolation based on said sensed points. - by sensing each anomalous zone (S1, S2) of the outline of the bezel again, the feeler being controlled during this new sensing operation in application of second transverse and/or longitudinal position and/or force setpoints that depend on the anomalous zones (S1, S2) found, or - by replacing the shape of each anomalous zone (S1, S2) of the sensed curve with a shape that is reconstructed by calculation in application of continuity criteria involving differentiation of order greater than or equal to 1 relative to zones of the sensed curve that are adjacent to said anomalous zone (S1, S2), or - by sensing a plurality of points of the anomalous zone (S1, S2) of the bezel and replacing the shape of the sensed curve in each anomalous zone (S1, S2) with a shape that is reconstructed by interpolation based on said sensed points.