The apparatus so constructed as illustrated in FIG. 4 enjoys such advantages as allowing a sewn product fresh from the step of sewing to be scanned to detect the presence or absence of a broken needle included therein, permitting a decrease in the number of component magnetic sensors and a decrease in the distance between the sewn product and the sensing unit, and consequently permitting the detec