dstl / Stone-Soup

A software project to provide the target tracking community with a framework for the development and testing of tracking algorithms.
https://stonesoup.rtfd.io
MIT License
406 stars 134 forks source link

Bernoulli Particle Filter #815

Closed timothy-glover closed 1 year ago

timothy-glover commented 1 year ago

Introduced the BernoulliParticlePredictor and BernoulliParticleUpdater as a new joint detection and tracking single target tracker. The BernoulliParticleState has been introduced, as well as the prediction and update variants.

The Regulariser has been added as an optional property to the ParticleUpdater class but is only implemented in the BernoulliParticleUpdater currently.

A try and except statement has been added to the _update_metadata_from_state method in the Track class to skip the incorporation of metadata from detections into the track object when MultipleHypothesis is populated with unordered SingleHypothesis.

Here is a gist to demonstrate the use of the tracker: https://gist.github.com/timothy-glover/ae9d5a748604d6bbc12391ff03357af7.