The term peeping tom, as used in this section, is defined as a person who peeps through windows, doors, or other like places, on or about the premises of another, for the purpose of spying upon or invading the privacy of the persons spied upon and any other conduct of a similar nature, that tends to invade the privacy of others.