This document details a study on a real-time parking detection system that utilizes background subtraction and HSV color segmentation to improve the identification of vacant parking spaces. The system achieved an average accuracy of 95.76% through various image preprocessing techniques, including grayscaling and filtering, to mitigate detection errors caused by environmental shadows and lighting conditions. The findings suggest that this method provides a more efficient and user-friendly alternative to traditional manual parking systems.