🗓 Spring 2020
Mouse Behavioural studies are often conducted in the field of neuroscience. Typically the mouse are monitored for changes in sensory-motor function, social interactions, anxiety/ depressive like behavior and other cognitive functions. Traditionally this is done manually by someone watching the recordings and tracking how the mouse moves and interact with each other. This project uses computer vision to track interactions between mouse and their trajectory.
Striped Tail Mouse initiates approach | Plain Tail Mouse initiates approach |
---|---|
- 30 minute footage of two mice in a “shoebox” set up, are cut down into 6 footages each of 5 minutes duration.
- Frames to be annotated are selected from the videos in a randomly and temporally uniformly distributed way by clustering on visual appearance (K-means).
- Annotating frames
- Selected frames are manually annotated by placing trackers on snout, ears and tail base
- Usage of pre-trained Resnet 50 networks in transfer learning to annotate frames in between manually annotated frames.
-
Plot Trajectories received from model
-
Back Tracking Algorithm with coordinates to analyze interaction
- Detect interaction (an interaction as the event when the two mice got into close proximity of each other. (within ear to ear distance of each other)
- Take the two closest points between the mice and calculated the middle point of these two points to constructed a "collision region".
- Backtrack through trajectory, the mouse to last enter collision region is the one who initiated the interaction