According to Wiki:
A photographer is a person who takes a photograph using a camera. A professional photographer uses photography to make a living whilst an amateur photographer does not earn a living and typically takes photographs for pleasure and to record an event, place or person for future enjoyment.
Photographers are often categorized based on the subjects they photograph. Some photographers explore subjects typical of paintings such as landscape, still life, and portraiture. Other photographers specialize in subjects unique to photography, including street photography, documentary photography, fashion photography, wedding photography, war photography, photojournalism and commercial photography.
Paparazzi are photographers who take candid photographs of celebrities.
Definition of camera according to Wiki:
A camera is a device that records images, either as a still photograph or as moving images known as videos or movies. The term comes from the camera obscura (Latin for "dark chamber"), an early mechanism of projecting images where an entire room functioned as a real-time imaging system; the modern camera evolved from the camera obscura.
Going by formal definitions, a person using a light-tight box of any description that is able to capture/record an image is a photographer.