mooch443 / trex

TRex, a fast multi-animal tracking system with markerless identification, and 2D estimation of posture and visual fields.
https://trex.run
GNU General Public License v3.0
81 stars 8 forks source link

Proximity Issue #181

Closed Toshea111 closed 1 year ago

Toshea111 commented 2 years ago

Describe the bug While tracking termites, I am experiencing a frequent issue with individuals merging into a single blob when in close proximity. After consulting the FAQs, I have tried altering the 'blob_split' parameters, detection thresholds, and TGrabs thresholds to no avail, and 'manual_splits' is only sometimes successful. Is there a way that this can be avoided, to ensure that identity is maintained in such cases?

To Reproduce Steps to reproduce the behavior: Attached is an example video showing the issue.

Expected behavior (if it is not a simple crash) A clear and concise description of what you expected to happen.

Screenshots See attached video.

Computer (please complete the following information):

Additional context Merging appears to be most common when individuals are side-by-side.

https://user-images.githubusercontent.com/109351104/184354183-4bbe1071-a6f3-4977-924d-60f1510b3eab.mp4

mooch443 commented 1 year ago

Hey, sorry for the late response - I would suggest altering the blob_size_ranges to more closely fit the individual sizes. Also track_max_speed could be relevant. If both are set to good values, the individuals should be split. You can also try to set track_decay = 1, which I always do for termites. You can look these up in the docs as well :-)