コード例 #1
0
def stepsForOneVideo(VideoIndex,existingDirList):
    dataSource = 'DoT'
    filename = existingDirList[VideoIndex]  
    folderName = filename[-14:]
    print "*****************processing: ", folderName
    # if 2*len(glob.glob('../'+folderName+'/klt/*.mat'))<len(glob.glob('../'+folderName+'/incPCPmask/*.p'))-2:
    #     execfile('klt_func.py')
    # if len(glob.glob('../'+folderName+'/klt/smooth/*.mat'))<len(glob.glob('../'+folderName+'/klt/*.mat')):
    #     fit_extrapolate.fit_extrapolate_main(dataSource,VideoIndex)

    if len(glob.glob('../'+folderName+'/adj/*.mat'))<len(glob.glob('../'+folderName+'/klt/smooth/*.mat')):
        trjcluster_func_SBS.trjcluster_func_SBS_main(dataSource,VideoIndex)
コード例 #2
0
def adjStep(dataSource,VideoIndex):
    dataSource = 'DoT'
    VideoIndex = VideoIndex
    trjcluster_func_SBS.trjcluster_func_SBS_main(dataSource,VideoIndex)