python script to capture frames from camera-uses opencv

The frame images are stored in two formats:
1. pass commandline argument "-timestamp" or "--t"
 to store with timestamp name format
2. else no arguments to store in serial number format