You should first try to find a suitable camera and then think about how to transfer all the data. If you already have a camera module then post the specs.
EDIT: A standard webcam on embedded system is difficult. You'll need a processor with USB host + drivers etc. Very difficult for a beginner hobbyist.