def __init__(self, filename, window="Input", nextModule=None, fourCC_str="XVID", fps=15, size=None, bw=False, 
                 no_annotations = False):
        cvFourCC = cv.CV_FOURCC(*fourCC_str)
        if bw:
            colorFlag = cv.CV_LOAD_IMAGE_GRAYSCALE
        else:
            colorFlag = cv.CV_LOAD_IMAGE_UNCHANGED
        self._bw = bw
        self._out = cv.CreateVideoWriter(filename, cvFourCC, fps, size, colorFlag)
        self._no_annotations = no_annotations
        AbstractVSP.__init__(self, window=window, nextModule=nextModule)
Gets number of columns by row.
dataset/ETHPy150Open bolme/pyvision/src/pyvision/surveillance/VideoStreamProcessor.py/VideoWriterVSP.__init__--crossover with--dataset/ETHPy150Open sdispater/cleo/cleo/helpers/table.py/Table._get_number_of_columns