diff --git a/README.md b/README.md index 243b970..9e7d013 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ >_EndoSLAM Dataset and An Unsupervised Monocular Visual Odometry and Depth Estimation Approach for Endoscopic Videos: Endo-SfMLearner_ >Kutsev Bengisu Ozyoruk and Guliz Irem Gokceler and Gulfize Coskun and Kagan Incetan and Yasin Almalioglu and Faisal Mahmood and Eva Curto and Luis Perdigoto and Marina Oliveira and Hasan Sahin and Helder Araujo and Henrique Alexandrino and Nicholas J. Durr and Hunter B. Gilbert and Mehmet Turan > [EndoSLAMとEndo-SfMLearner公式GitHub](https://github.com/CapsuleEndoscope/EndoSLAM) - -![demo](http://192.168.23.10/gitbucket/sato.yukiya/SC-SfMLearner_for_NLab/tree/master/decorations/demo.gif) +![demo](https://github.com/LBJ-code/Imgs_for_readme/raw/master/demo.gif) + このコードは色々なコードの複合で成り立っているので非商用利用の用途でしか diff --git a/decorations/demo.gif b/decorations/demo.gif deleted file mode 100644 index 90d24c7..0000000 --- a/decorations/demo.gif +++ /dev/null Binary files differ diff --git a/prediction/pred_pose.py b/prediction/pred_pose.py index e69de29..e170828 100644 --- a/prediction/pred_pose.py +++ b/prediction/pred_pose.py @@ -0,0 +1,18 @@ +import sys, os + +sys.path.append(os.path.abspath("..")) + +import torch +import cv2 +import numpy as np +import pandas as pd +import argparse +import models + +parser = argparse.ArgumentParser(description='Structure from Motion Learner', + formatter_class=argparse.ArgumentDefaultsHelpFormatter) + +parser.add_argument('--weight_pth', required=True, help="path to disp model's pth file") +parser.add_argument('--path_to_yaml', default="../datasets/data_for_SC_SfMLearner/environment.yaml", help="path to environent") +parser.add_argument('--use_camera', type=int, default=-9999, help="カメラを使うならポート番号を指定") +args = parser.parse_args()