A system for creating component shape data for image processing to be used when performing image recognition of a component to be mounted by a component mounter, the system comprising: a display section configured to display a captured component image of a component that is a creation target for the component shape data for image processing; a wire frame drawing section configured to draw a rectangular wire frame on top of the component image such that the wire frame surrounds a measurement target portion of the component image displayed on the display section, and to move a position of a side of the wire frame in accordance with a drag operation of an operator; an edge position detection section configured to use image processing to detect an edge position of the measurement target portion of the component image; an automatic drag section configured to automatically align the position of the side of the wire frame to the edge position of the measurement target portion when the position of the side of the wire frame moved by the drag operation of the operator enters a specified range near to the edge position of the measurement target portion detected by the edge position detection section; and a component shape data creation section configured to create the component shape data for image processing by measuring the shape data of the measurement target portion surrounded by the wire frame for which the four sides of the wire frame were automatically aligned with the edge positions in four directions of the measurement target portion by the automatic drag section,, wherein the edge position detection section is configured to detect the edge position of the measurement target portion based on a brightness change of the component image in a direction of the drag operation, wherein the edge position detection section is configured to project a brightness level of a region along a straight line that passes through each side of the wire frame in the component image along a coordinate axis extending in the drag operation direction, and to detect a position for which a change ratio of a projection brightness exceeds a specified range as the edge position of the measurement target portion. a display section configured to display a captured component image of a component that is a creation target for the component shape data for image processing; a wire frame drawing section configured to draw a rectangular wire frame on top of the component image such that the wire frame surrounds a measurement target portion of the component image displayed on the display section, and to move a position of a side of the wire frame in accordance with a drag operation of an operator; an edge position detection section configured to use image processing to detect an edge position of the measurement target portion of the component image; an automatic drag section configured to automatically align the position of the side of the wire frame to the edge position of the measurement target portion when the position of the side of the wire frame moved by the drag operation of the operator enters a specified range near to the edge position of the measurement target portion detected by the edge position detection section; and a component shape data creation section configured to create the component shape data for image processing by measuring the shape data of the measurement target portion surrounded by the wire frame for which the four sides of the wire frame were automatically aligned with the edge positions in four directions of the measurement target portion by the automatic drag section,, wherein the edge position detection section is configured to detect the edge position of the measurement target portion based on a brightness change of the component image in a direction of the drag operation, wherein the edge position detection section is configured to project a brightness level of a region along a straight line that passes through each side of the wire frame in the component image along a coordinate axis extending in the drag operation direction, and to detect a position for which a change ratio of a projection brightness exceeds a specified range as the edge position of the measurement target portion.