Welding condition setting assistance device
View Patent ↗A processor is configured to perform: a spatter candidate region detection step of performing, for each of input images obtained by capturing a workpiece during arc welding, detection of a spatter candidate region based on a pixel value indicating brightness of a pixel included in the input images; a reflected light region identification step of identifying, in the spatter candidate region detected in the spatter candidate region detection step, a reflected light region in which reflected light of arc light is shown, based on color information of a predetermined reference pixel included in the spatter candidate region; and a spatter number identification step of identifying, as a number of spatters, a number of spatter candidate regions obtained by removing the reflected light region identified in the reflected light region identification step in the spatter candidate region detected in the spatter candidate region detection step.
1 . A welding condition setting assistance device for assisting setting of a welding condition when arc welding is performed by generating an arc between a workpiece and an electrode by applying a voltage between the workpiece and the electrode, the welding condition setting assistance device comprising:
a processor,
wherein the processor is configured to perform:
a spatter candidate region detection step of performing, for each of input images obtained by capturing the workpiece during the arc welding, detection of a spatter candidate region based on a pixel value indicating brightness of a pixel included in the input images;
a reflected light region identification step of identifying, in the spatter candidate region detected in the spatter candidate region detection step, a reflected light region in which reflected light of arc light is shown, based on color information of a predetermined reference pixel included in the spatter candidate region; and
a spatter number identification step of identifying, as a number of spatters of each of the input images, a number of spatter candidate regions obtained by removing the reflected light region identified in the reflected light region identification step in the spatter candidate region of each of the input images, the spatter candidate region being detected in the spatter candidate region detection step,
wherein:
the color information of the predetermined reference pixel is defined by an RGB color space; and
in the reflected light region identification step, the spatter candidate region that satisfies a condition is identified as the reflected light region, the condition being that an average value of a green component in the color information of the predetermined reference pixel is greater than a product of a first set value of greater than or equal to one and an average value of a red component in the color information of the predetermined reference pixel, and an average value of a blue component in the color information of the predetermined reference pixel is greater than a product of a second set value of greater than or equal to one and the average value of the red component in the color information of the predetermined reference pixel.
2 . The welding condition setting assistance device according to claim 1 , wherein the spatter candidate region includes a high luminance region in which a plurality of the pixels are continuous, the pixel value of each of the plurality of the pixels indicating brightness exceeding a predetermined threshold.
3 . The welding condition setting assistance device according to claim 2 , wherein:
the high luminance region is in a region excluding an outer peripheral portion of the spatter candidate region; and
the predetermined reference pixel is in the region excluding the outer peripheral portion of the spatter candidate region.
4 . The welding condition setting assistance device according to claim 1 , wherein:
the processor is further configured to perform a background bright spot region identification step of identifying, as a background bright spot region, a region in which a number of times of detection as the spatter candidate region in the spatter candidate region detection step is greater than or equal to a predetermined reference number of times; and
in the spatter number identification step, the number of spatter candidate regions obtained by removing the reflected light region identified in the reflected light region identification step and the background bright spot region identified in the background bright spot region identification step is identified as the number of spatters of each of the input images in the spatter candidate region of each of the input images, the spatter candidate region being detected in the spatter candidate region detection step.