aharmer / pathtrackr

An R package for video tracking and analysing animal movement
29 stars 8 forks source link

Rudimentary multi-animal tracking available? #22

Open lukestuntznyu opened 4 years ago

lukestuntznyu commented 4 years ago

I am currently beginning work on a project that requires the tracking of multiple animals across a fixed frame. I am hoping to use pathtrackr because of its ability to track individuals across heterogeneous backgrounds (this will be done for overhead field videos). You cite the issue with implementing multi-animal tracking as difficulty with maintaining individual ID when paths intersect, but for my planned application there should be essentially no overlap of paths. Does an in progress version of the package exist in which simultaneous tracking without path overlap would be possible? Even if it is not refined, I would love to see how you have begun to adjust the package to allow for this.

Thanks, and I really appreciate what you have done here.

aharmer commented 4 years ago

Hi, thanks for the email. If your animals never actually enter into each others tracking boxes, then you could just run the trackPath function multiple times (i.e. once on each animal). I do have a preliminary script for simultaneous multiple animal tracking (again as long as the animals don't come into contact with each other), but it needs a little tidying up. You are welcome to send me an email and I can send it to you to trial once it is ready. Cheers.