Hi everyone! I’m a first time user of deeplabcut and so far I’ve managed to make it through a first round of training using my images. I’d like to have your opinion on how to implement an idea I have about analysis. My goal is to track an animal across three ROIs starting from the time a door opens. The problem is that I have to analyze hundreds of short (around 1min) videos and that the distance between the camera and the box change between videos. I’ve managed to train the network to track the left and right corner of the box (need more training for the door) and this distance between them is known and constant. I thought I could use that distance to calculate a scaling factor so that all the tracked coordinates from the animal are on the same scale and then define ROIs in time_in_each_roi.py based on this scale. Then, if I can track the door, I’d like to only consider coordinates after the door has reached a given height. I’m a beginner python user, so I’m at a loss on how to do this. Should I modify the existing code for video analysis to do this or should I write separate code to use in post processing? Do you have any good resource on how to write/calculate from pandas dataframes?
About ime_in_each_roi.py, is there a way to get a list of visit durations in each ROIs?
Thank you so much for your help and for all of your hard work on this software! If I can get this to work it would help me a great deal.