At present, the segmentation method for the heart is one of the most difficult problems and a hot topic in medical imaging segmentation and image analysis. In order to achieve high-precision recognition of heart and blood vessel image, a single target auxiliary blood vessel image recognition algorithm, based on Markov Random Field (MRF) and ash fusion residual network information, is proposed in this paper. The corresponding features are extracted by the residual network depth, and the heart and blood vessels are segmented with high precision through MRF gray information to assist blood vessel image recognition. Thus, an algorithm combining Markov Random Field and Grayscale Information can complete such auxiliary recognition for single target ship image. The paper will also discuss auxiliary recognition techniques for identifying images of the heart and blood vessels. Added to that, it presents current medical image algorithms with a particular emphasis on cardiac image algorithms. Through a series of analysis, better algorithms are proposed. Thus, the research contents of a single target present the vascular image recognition algorithm. Therefore, a blood vessel image recognition algorithm is proposed for the research content of a single target. A series of validation experiments are conducted on the DRIVE and star datasets. The experimental results show that the method proposed in this paper has high segmentation accuracy, can achieve high-precision segmentation, and can achieve high-precision single target blood vessel image recognition. By observing and analyzing two-dimensional cardiac images, such as diabetic arterioles, hemorrhages, hard exudates, and so on, the difficulty of diagnosing cardiovascular disease characteristics can be reduced, and the diagnosis and treatment can be facilitated.