Skip to content

Commit

Permalink
fix type in AnalyzeVideo
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdaloop committed Jan 23, 2019
1 parent 8ae6778 commit dae66b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deeplabcut/pose_estimation_tensorflow/predict_videos.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def analyze_videos(config,videos,shuffle=1,trainingsetindex=0,videotype='avi',gp
if len(Videos)>0:
#looping over videos
for video in Videos:
AnalzyeVideo(video,DLCscorer,cfg,dlc_cfg,sess,inputs, outputs,pdindex,save_as_csv, destfolder)
AnalyzeVideo(video,DLCscorer,cfg,dlc_cfg,sess,inputs, outputs,pdindex,save_as_csv, destfolder)

os.chdir(str(start_path))
print("The videos are analyzed. Now your research can truly start! \n You can create labeled videos with 'create_labeled_video'.")
Expand Down Expand Up @@ -268,7 +268,7 @@ def GetPoseS(cfg,dlc_cfg, sess, inputs, outputs,cap,nframes):
return PredicteData,nframes


def AnalzyeVideo(video,DLCscorer,cfg,dlc_cfg,sess,inputs, outputs,pdindex,save_as_csv, destfolder=None):
def AnalyzeVideo(video,DLCscorer,cfg,dlc_cfg,sess,inputs, outputs,pdindex,save_as_csv, destfolder=None):
''' Helper function for analyzing a video '''
print("Starting to analyze % ", video)
vname = Path(video).stem
Expand Down

0 comments on commit dae66b3

Please sign in to comment.