Exemplo n.º 1
0
def final_to_pca(in_path, out_path):
    # action=td.read_im_action(in_path+"/")
    action = utils.read_object(in_path)
    out_path = out_path.replace(".final", ".pca")
    pca = action.to_pca()
    eigen = td.to_time_serie(pca)
    img = td.to_img(eigen)
    utils.save_img(out_path, img)
Exemplo n.º 2
0
def feat_imgs(in_path, out_path):
    action = utils.read_object(in_path)
    sd = action.features()
    sd_ts = td.to_time_serie(sd)
    print(out_path)
    td.visualize(out_path, sd_ts)
Exemplo n.º 3
0
def skew_imgs(in_path, out_path):
    action = utils.read_object(in_path)
    skew = action.skew()
    skew_ts = td.to_time_serie(skew)
    print(out_path)
    td.visualize(out_path, skew_ts)