Description
Describe the bug
I am encountering an issue with the Trex tracking software while attempting to analyze the turning of flies. The software frequently flips between detecting the head and tail as the body axis, leading to inaccuracies in the data, mainly angle of turning.
Any guidance on adjusting parameters to address the flipping body axis problem would be greatly appreciated.
The parameter settings that i currently use for trex are:
meta_real_width = 11.3
frame_rate = 20
posture_direction_smoothing = 16
outline_smooth_step = 12
midline_invert = true
track_max_speed = 24
output_invalid_value = "nan"
output_format = "csv"
individual_prefix = "fly"
gui_show_number_individuals = true
gui_playback_speed = 0.4
gui_show_selections = false
track_max_individuals = 19
auto_minmax_size = true
I am attaching some images below in hope that you get a better idea of the issue.
Here is a screenshot of our video in the Trex that shows a circular arena with 20 flies:
Here is an example of how the head and tail switches in a fly, these images were taken in consecutive frames: