Recently, the Covid-19 pandemic has affected several lives of people globally, and there is a need for a massive number of screening tests to diagnose the existence of coronavirus. For the medical specialist, detecting COVID-19 cases is a difficult task. There is a need for fast, cheap and accurate diagnostic tools. The chest X-ray and the computerized tomography (CT) play a significant role in the COVID-19 diagnosis. The advancement of deep learning (DL) approaches helps to introduce a COVID diagnosis system to achieve maximum detection rate with minimum time complexity. This research proposed a discrete wavelet optimized network model for COVID-19 diagnosis and feature extraction to overcome these problems. It consists of three stages pre-processing, feature extraction and classification. The raw images are filtered in the pre-processing phase to eliminate unnecessary noises and improve the image quality using the MMG hybrid filtering technique. The next phase is feature extraction, in this stage, the features are extracted, and the dimensionality of the features is diminished with the aid of a modified discrete wavelet based Mobile Net model. The third stage is the classification here, the convolutional Aquila COVID detection network model is developed to classify normal and COVID-19 positive cases from the collected images of the COVID-CT and chest X-ray dataset. Finally, the performance of the proposed model is compared with some of the existing models in terms of accuracy, specificity, sensitivity, precision, f-score, negative predictive value (NPV) and positive predictive value (PPV), respectively. The proposed model achieves the performance of 99%, 100%, 98.5%, and 99.5% for the CT dataset, and the accomplished accuracy, specificity, sensitivity, and precision values of the proposed model for the X-ray dataset are 98%, 99%, 98% and 97% respectively. In addition, the statistical and cross validation analysis is conducted to validate the effectiveness of the proposed model.