Giter Site home page Giter Site logo

rodenttracker's Introduction

RodentTracker

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.

img

Scripts to process generated logs are also provide.

Enjoy!

Best, Yinjun

rodenttracker's People

Contributors

ebgu avatar

Stargazers

Muad Abd El Hay avatar  avatar Jin Yunfan avatar

Watchers

 avatar

rodenttracker's Issues

Problem in data preprocessing

Hi Yinjun,

Your work on self-supervised features extraction is amazing! However, here is still a few problems when I try to set Selfee up on a online platform (as RTX3090 is still not that accessible for our traditional biology lab).

The first problem is in the "data preprocessing" step. I tried to use your rodenttracker to extract frames and remove background. I modified the Supertracker_OFT_Template script as suggested (I don't know if I have modified the correct script):

1656914687063

When running it in terminal, it returns a error like this:

error: OpenCV(4.1.2) /io/opencv/modules/imgproc/src/color.cpp:182: error: (-215:Assertion failed) !_src.empty() in function 'cvtColor'

I search the internet for it and find some say it is because the path is relative path but not absolute path. But there seems to be no relative path pass to any functions. Could you please give some more detailed instructions to me on this problem? Many thanks! Hoping to hear from you soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.