In India, agriculture is the backbone of economic sectors because of the increasing demand for agricultural products. However, agricultural production has been affected due to the presence of pests in crops. Several methods were developed to solve the crop pest detection issue, but they failed to achieve better results. Therefore, the proposed study used a new hybrid deep learning mechanism for segmenting and detecting pests in crops.