#NEWLINE# def _computeContours( self ) : #NEWLINE# #INDENT# cvMask = self . _fgMask . asOpenCVBW ( ) #NEWLINE# cvdst = cv . CloneImage ( cvMask ) #NEWLINE# contours = cv . FindContours ( cvdst , cv . CreateMemStorage ( ) , cv . CV_RETR_CCOMP , cv . CV_CHAIN_APPROX_SIMPLE ) #NEWLINE# self . _contours = contours