It depends a bit on how you define “camera”. The first attempts to a “Camera Obscura” date back as far as 400BC by the Chinese filospher Mozi.
The first photographic camera was created by Daguerre in 1837, and the first photographic film camera was created by George Eastman in 1885, which he called the “Kodak”.
You can read more about it here: https://en.m.wikipedia.org/wiki/History_of_the_camera