This research article discusses a novel technique for early fire detection using video processing, proposing algorithms based on edge and motion detection to address shortcomings of traditional sensor-based systems. The proposed method aims to improve response time and reduce false alarms by utilizing image feeds from CCTV cameras for reliable flame detection. The study leverages open-source software OpenCV to develop and illustrate the effectiveness of the algorithms in real-time fire detection scenarios.