According to one embodiment, a processing system includes a processing device. The processing device performs at least a first determination of determining whether or not a detector contacts a welding object. The detector includes a plurality of detection elements arranged in a first direction. The detector transmits an ultrasonic wave toward the welding object and detects a reflected wave. The first determination is based on a detection result when the reflected wave is detected by the detector.