Hi Paridhi_Agrawal,
When considering getting a webcam to work with the Galileo I’d suggest you pick a camera that is supported by the uvcvideo driver. It is present in the official image so it will be easier to use and will require less configurations. As for choosing a camera I’d suggest you to look at different posts in the communities where users have used cameras multiple times and make their applications work. One of the most used cameras is the Logitech c920 but you can also use any other camera that serves the needs for your application.
Regards
Sergio