This program can detect and count palm trees using YOLO, especially YOLOv8 model and custom dataset
For YOLOv8 installation, type this command :
pip install ultralytics
Link to the sample section: https://docs.ultralytics.com/models/yolov8/.
Install library from requirements.txt with command : pip install -r requirements.txt
- You must have YOLOv8 model first like yolov8n.pt etc
- Preparing the dataset
- Training the model using the dataset in Train.pynb
- Use the pre-trained model and declare the path of the model was saved in PalmTreeCounter.ipynb to detect and count the image of palm tree taken and saved in aerial view mode