First, we recommend that you read [Raspberry Pi camera applications document: https://www.raspberrypi.org/app/uploads/2013/07/RaspiCam-Documentation.pdfRaspberry Pi camera applications document]
'''For Hardware Reset''' - Starting RASPISTILL or RASPIVID once then reboot your Raspberry Pi.