c++ - background extraction using OpenCv -
i want extract background video don't want use cv::bgsegm::backgroundsubtractormog, cv::backgroundsubtractormog2 these methods. because using frame means. planed use frame comparison method. i'm using first frame background model , plane compere pixel values of next frames first frame pixel values , if there no change or change less threshold background pixel. how can implement these using opencv , c++
your question vague, think. can give hints.
first, approach simplistic. that's not bad. experience, won't give great results, if have lot of control on scene. nevertheless, not want hold if want make own experiences.
you want take at
everything need should there. in particular, absdiff
operation , threshold
function (with binary threshold type) should of interest.
Comments
Post a Comment