The ECgMPL model can accurately identify cancer from cellular and tissue microscopic images, and the diagnostic accuracy of endometrial cancer reaches 99.26%, which is much higher than the average of 78-81% for doctors; the model is adjusted to be versatile and can diagnose a wide range of cancers, and the accuracy of colorectal cancer is up to 98.57%, breast cancer 98.20%, oral cancer 97.34%; the research team used multi-step image processing technology and innovative ECgMLP architecture to position the model as a diagnostic aid for doctors, with the advantages of speed and low cost.