An open-source tracking toolkit for EPM of OFT assay of mice or rats.
This script could NOT run on WINDOWS !!!
If you indeed need to run it on Windows, please modify this code following this instruction. We would fix it in the next version.
To create conda environment:
conda env create -f RodentTracker.yml
This toolkit includes three major part.
First, it converts videos into sequential images for downstream processings. It would also correct images based on four key points you choose.
Second, it would remove the background of each image. You can either choose the background to be the average frame of the video, or the average frame of the first ten seconds of the video. It is not neccessary if you have a clean background.
Finally, it could track the centroid of the animal.
Scripts to process generated logs are also provide.
Enjoy!
Best, Yinjun