def main():
    global videoFileName

    t2.main() # Call the main function of task-2

    acceptInput() # Accepte User Input
    # Open the input file to read
    input_file = open(videoFileName, 'r')
    frameInfo = input_file.readline()
    rows = int(frameInfo.split(',')[0].split(':')[1].strip(' '))
    cols = int(frameInfo.split(',')[1].split(':')[1].strip(' '))
    wavelets = int(frameInfo.split((','))[2].split(':')[1].strip(' '))
    computeEucleadean(input_file) #Compute Eculedean Distnace and similarities
    input_file.close() #close the file

    # Output
    showFrames()