Deep learning-based methods for image captioning have gained popularity in recent years due to their ability to learn features from large datasets and generate more accurate and diverse captions. Convolutional neural networks (CNNs) and recurrent neural networks (RNNs) are the two primary deep learning models used for image captioning. CNNs are used to extract features from the input image, while RNNs are used to generate the captions.