The invention discloses an automatic generation system of a numerical control machine tool working diagram. The automatic generation system of the numerical control machine tool working diagram comprises an image capture device, an image storage unit, an edge detection module, an image processor, a first data storage unit, a rectangular coordinate system automatic generation module, a coordinate system loading module, a coordinate data measurement module, a second data storage unit, a coordinate data loading module, a data interface, a parameter input unit and a display unit, wherein the image capture device is used for shooting molding product images, the edge detection module detects edges of the molding product images, the image processor extracts contour lines of molding products according to detection results of the edge detection module, the coordinate system loading module is used for loading measured coordinate data to the contour lines of the molding products synchronously, and the data interface, the parameter input unit and the display unit are respectively connected with the image processor. The automatic generation system of the numerical control machine tool working diagram is reasonable in design, simple and convenient to use and operate, good in using effects, high in intelligent degree and good in production processing images, can generate working diagrams for the numerical control machine tool automatically and quickly, and man-made design error does not exist.