It shall be unlawful for any person to look, peer, peep into or be found loitering about and within view of any window within a building occupied as a residence of another, with the intent of watching or observing the activities of persons therein. (1974 Code)