abewley / sort

Simple, online, and realtime tracking of multiple objects in a video sequence.
GNU General Public License v3.0
3.82k stars 1.07k forks source link

kalmanFilter #116

Open zhjw0927 opened 3 years ago

zhjw0927 commented 3 years ago

why dim_x=7, dim_z=4 in init? I think dim_x should be 8, so [cx,cy,w,h,vx,vy,vw,vh] have 8 attribute. and, dim_z=4 means what? Thank you!

LMerCy commented 3 years ago

why dim_x=7, dim_z=4 in init? I think dim_x should be 8, so [cx,cy,w,h,vx,vy,vw,vh] have 8 attribute. and, dim_z=4 means what? Thank you!

actually , the measurements are [x,y,s,r], and r is assumed constant. You can see here: https://github.com/abewley/sort/issues/91#issuecomment-616222336