This document presents a methodology for detecting weeds using convolutional neural networks (CNNs). The methodology involves two phases: image collection and labeling, then constructing a CNN model with 20 layers to classify images as weeds or crops. The CNN architecture uses convolutional layers to extract features, pooling layers to reduce the image size, and dense layers for classification. The methodology is tested on agricultural images from a public dataset, achieving improved accuracy as the number of training epochs increases. The proposed CNN model provides an effective way to identify weeds with less human effort than traditional manual methods.