How Take a photo

Hi.
How take a photo with a usb camera connected in my computer, or notebook camera; and direct save in database or file Storage?