blefaudeux / gmphd

A Gaussian-Mixtures Probability Hypothesis Density (GM-PHD) filter for multitarget tracking in a bayesian framework
35 stars 14 forks source link

Wrong coordinates in test #1

Closed Nuzhny007 closed 7 years ago

Nuzhny007 commented 7 years ago

Hi! In your test ( test_unit_GMPHD.cpp ) in function display it uses always only x coordinate: cvPoint(tgt, (tgt++)) Here tgt == (tgt++). It must be: cvPoint(tgt, (++tgt))

blefaudeux commented 7 years ago

indeed, sorry about that :/ This is pretty old code, tell me if you're interested, I could probably improve on it a fair bit if I find the time. Fixing that

blefaudeux commented 7 years ago

Should be fixed now, looks better indeed