With increase in mugging in late 2022 within Juja township, I went ahead to create a simple but effective algorithm that will detect a weapon and alert Security agents of their sighting. This algorithm is to be integrated in CCTVs ,to detect Real Time.