Since the beginning of the coronavirus disease (COVID-19) pandemic several machine learning and deep learning methods had been introduced to detect the infected patients using the X-Ray or CT scan images. Numerous sophisticated data-driven methods had been introduced to improve the performance and the accuracy of the diagnosis models. This paper proposes an improved densely connected convolutional networks (DenseNet) method based on transfer learning (TL) to enhance the model performance. The results show promising model accuracy.