With the acceleration of people’s life rhythm, the incidence of congenital heart disease is getting higher and higher. This study mainly explores the clinical efficacy observation of parylene‐coated occluders based on the electronic image of the visual sensor in the treatment of congenital heart disease. The patient takes a supine position and observes whether the target structure (left ventricular cavity) information is separated from the capture area during rotation, and the angle of the probe is adjusted to ensure that as much target structure information as possible can be obtained during the two‐dimensional image acquisition. During the three‐dimensional ultrasound sampling process, a total of 60 coaxial images were collected within the range of 180°. To reflect the effect of virtual reality, it is necessary to provide users with interactive operation tools. This research provides two methods, mouse interaction and keyboard interaction. Through these two methods, the effect of the basic virtual endoscope is realized. Xtion’s image registration process is completed inside its PS1080 system‐level chip, and all sensor information, color images, and depth images are transmitted to the user host through the USB interface. For example, the point of view can be placed in the heart, because the simulation occlusion must first find a suitable section to better observe and judge the occlusion effect. Therefore, this study uses the mouse interaction method to change the cutting by dragging and rotating the mouse. In the process of releasing the occluder, the parylene‐coated occluder can be released after the X‐ray and ultrasound examination results are satisfactory, and the delivery long sheath and catheter can be sprinkled and compressed to stop the bleeding. During the operation, the ASD measured by two‐dimensional ultrasound after balloon inflation was 24.17 ± 7.94 mm, and the anterior and posterior diameter was 21.30 ± 6.54 mm. This research is helpful for the qualitative and quantitative diagnosis of congenital heart disease.