plstcharles / litiv

C++ implementation pool for computer vision R&D projects.
http://www.polymtl.ca/litiv/en/
Other
101 stars 30 forks source link

How can I skip the bg model update? #18

Closed Adwardyang closed 5 years ago

Adwardyang commented 5 years ago

Hello,I‘m still study your PAWCS,I want to find a way to skip the bg model update,but I’m getting in trouble with the code......I use the PAWCS with bgslibrary,can you give me some annotations about the function “void BackgroundSubtractorPAWCS::apply()”? or some simple explain of the Looping statements?Please,need your help

plstcharles commented 5 years ago

Hello again --- I'll try to dust off the code in the next few days and highlight exactly where the updates are taking place. I can't guarantee that the code here 100% matches the one of bgslib (it's been forked a long time ago), but most lines should still overlap.

I'll try to update you within a few days!

Adwardyang commented 5 years ago

Really appreciated for your help, thanks so much!!

plstcharles commented 5 years ago

Alright, below is a unified diff I got after adding a few comments in the code related to the update mechanisms. The file should apply cleanly as a patch on the current version of this repo's "master" branch.

pawcs-comments.txt

I hope it will help you!

Adwardyang commented 5 years ago

Thank you very much!!! I will go on