This article introduces a lightweight and efficient model for measuring applications, aimed at enhancing the current UAV monitoring system. The primary objective of this project is to develop a measuring application capable of determining and displaying the distance between the camera on the UAV and the facial model. The YOLOV8 framework is employed as a detection model to identify and interpret objects within the region of interest. Additionally, the algorithm incorporates the concept of focal length in lenses to calculate the distance between the facial expressions of a human face and the camera. To assess the algorithm's accuracy, facial models were placed at various distances from the camera during testing. The predicted distance values obtained through the algorithm were then compared to the actual measured distances using a measuring tape. The results demonstrated a maximum tolerance of ±0.9 cm, indicating the algorithm's reliable performance in predicting distance measurements.