Facing a complete requirement change with a technology i don't know completely

How are you detecting whether the parking spot is occupied or empty?