Tongue images (the size, shape, and colour of tongue and the thickness, colour, and moisture content of tongue coating), reflecting the medical condition of entire body based on the model of traditional Chinese medicine (TCM) are extremely utilized in China for millions of years. Gastric cancer (GC) is great lethal kind of cancer in countries and societies. The screening and analysis of GC yet depend on gastroscopy, however its application was significantly restricted due to its invasive, maximum rate and the requirement for expert endoscopists. Early recognition in GC patients and direct treatment contribute significantly to safety for health. Consequently, this study introduces a Chicken Swarm Algorithm with Deep learningbased Tongue Image Analysis for Gastric Cancer Classification (CSADL-TIAGCC) system. The projected CSADL-TIAGCC approach studies the input tongue images for the identification and classification of GC. To accomplish this, the CSADL-TIAGCC system uses improved U-Net segmentation approach. Besides, residual network (ResNet-34) model-based feature extractor is used. Furthermore, long short term memory (LSTM) approach was exploited for GC classification and its hyperparameters are selected by the CSA. The simulation outcome of the CSADL-TIAGCC algorithm was examined under tongue image database. The experimental outcomes illustrate the enhanced results of the CSADL-TIAGCC technique with respect of different evaluation measures.