Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

input csv 'frames' vs video frames #130

Open
akesner1 opened this issue Nov 2, 2023 · 0 comments
Open

input csv 'frames' vs video frames #130

akesner1 opened this issue Nov 2, 2023 · 0 comments

Comments

@akesner1
Copy link

akesner1 commented Nov 2, 2023

I have been working on getting keypoint tracking from SLEAP into VAME. I was able to get VAME to happily read SLEAP output CSVs by sort of reformatting them to the structure of DLC. It wasn't too bad, just had to insert a blank row at the top of the CSV and another as the 3rd row, then delete the first and 3rd columns of the SLEAP CSV to match the overall structure of the DLC CSV.

After doing that, VAME loaded the data fine and I have been through the steps and no errors. So VAME is definitely doing stuff with the CSVs. But, here is my question. DLC CSVs all start at the 1st frame of the video, and if no animal is there (e.g. recording started before person put mouse in arena) it just puts blanks or zeros in those rows. SLEAP on the otherhand, seems to just start outputting data once the mouse is seen, so the first row of data in SLEAP could start at frame 150 or 300 or whatever, when the mouse is first found. So, does VAME use the number in that first column (i.e. frame number), or does it reindex the data from the first row of the CSV and relate that to first frame of the video? That is, if the first row of my CSV has the number 155 in the first column (i.e. that first column relates to frame 155 of the video), will VAME know this? Or will it, e.g. during video clips, think that that row is frame 1 of the video. I hope this makes sense. In other words, I am wondering, int he above scenario, if I need to make 154 "blank" rows in my CSV bewteen the headers and the first "frame" of data, so that VAME will match this with the video?

Thanks for the help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant