introlab / odas

ODAS: Open embeddeD Audition System
MIT License
804 stars 254 forks source link

changing the tracking behavior using the config #165

Closed andycavatorta closed 5 years ago

andycavatorta commented 5 years ago

Thank you for creating and sharing this impressive code! Where can I find more information about the config values for SST and SSS?
I am using ODAS to locate relatively static human voices that are close together. ODAS is tending to create one source and slowly track it from person to person. I need to make ODAS either track one source quickly or create separate/new sources for each person. I don't need the source IDS, just the location data.

FrancoisGrondin commented 5 years ago

Hi Andy,

So what you may want to do, provided that you're using the Kalman filter, is to reduce the value of sigma_Q^2, which corresponds to the variance of the velocity state. If this value is very small (or zero), then the source cannot really move over time, and this should prevent switching from one source to the other.

In the config file, you can simply change the following value (I think the default value is 0.001, so try reducing it):

kalman: {

        sigmaQ = 0.001;

    };

Cheers,

Francois

andycavatorta commented 5 years ago

That did it. Actually, increasing the value produced the result I wanted. Thanks!

FrancoisGrondin commented 5 years ago

Ok great! I'm still a bit confused why increasing the value works... I guess it really depends on the dynamics of your system