how to write subscriber and publisher for webcam?
Actually, I am new to ROS and its features. I want to know the code for subscriber and publisher for taking picture from my integrated laptop webcam and store in the hard drive. I am familiar with gscam feature to take pictures from my webcam. But i want to use it as subscriber and publisher. please help.