The effective management of solar photovoltaic (PV) arrays is vital to maximising energy generation and ensuring long-term performance reliability. The presence of faults, or partial shading, can give rise to hotspots in PV arrays, making their detection critical for timely maintenance and avoiding further impacts on their performance. This paper describes a new approach to the hotspot detection issue in thermal images of solar PV arrays by leveraging deep learning. This study employs the YOLOv10 (You Only Look Once, version 10) model to deliver very high accuracy and speed in identifying and localising hotspots under defined regions of interest (ROIs). The proposed method begins with taking thermal images from multiple solar PV installations while capturing a range of operational conditions and fault types. These images are annotated with hotspot regions to create a robust training dataset. Given YOLO's capability for real-time object detection with high precision and mean average precision (mAP), the YOLOv10 model is then implemented to train on this dataset. Multiple changes were made to the YOLOv10 hyperparameters to optimise them for detecting hotspots in thermal images. The experimental scenario of this paper demonstrates that this approach indeed performs significantly better than standard image processing methods as well as prior deep learning models for detecting both hotspot accuracy as well as speed of processing the images. The YOLOv10 method demonstrated the highest available classification performance with a mAP at intersection over union (IoU) of 0.5 accuracy of 0.91 with inference time suitable for real-time applications. The sample results demonstrated the model's continuous ability to detect hotspots and provide location data under various conditions, such as crossing through different times of day and weather. The results of this study demonstrate that YOLOv10 can be used for improved detection of hotspots in the explicably thermal imagery of solar PV arrays.