The throttling flowmeter used in utility boilers has been used as a measuring instrument for a long time. However, its safety performance, such as welding, lacks enough attention. The manufacturing welds of the throttling flowmeter are welded with austenitic stainless steel and pearlitic heat-resistant steel. Cracks and other defects are generally found in the inspection and detection of the manufacturing welds of throttling flowmeters in service, which have serious potential accidents. To find out the relationship between weldingdissimilar steels and defects, the microhardness indentation method was used to measure the residual stress of welding. Combined with the self-developed calculation software of microscopic indentation residual stress distribution, we used the difference between the color of the indentation area and the surrounding area to quickly measure the indentation strain collected by the microscope using the computer image recognition algorithm, which greatly improved the accuracy and speed of the microscopic indentation residual stress test. The results show that the residual stress at the weld of dissimilar steel is relatively large, and the mechanical property test is generally unqualified. The microindentation residual stress analysis method based on computer image recognition is used to quickly, intuitively, and accurately reveal the direct relationship between the combination of dissimilar steel welding materials and the generation of cracks and other defects.