This tutorial workflow shows a simple larva segmentation and tracking. Of course parameters and methods have to be adjusted for your problem, but this is a good starting point.
This is a companion discussion topic for the original entry at https://kni.me/w/Ut4Jf7bGj7FNgVp8