資源簡介
VC++6.0+opencv1.0環境下用codebook算法實現動態背景下的目標檢測,效果不錯!
代碼片段和文件信息
/**
???比平均背景法性能更加良好的方法codeBook模型實現背景減除
???
???核心代碼詳細解析和實現?by?zcube
?????????????http://hi.baidu.com/zcube/
*/
/************************************************************************/
/*?????????A?few?more?thoughts?on?codebook?models
In?general?the?codebook?method?works?quite?well?across?a?wide?number?of?conditions?
and?it?is?relatively?quick?to?train?and?to?run.?It?doesn’t?deal?well?with?varying?patterns?of?
light?—?such?as?morning?noon?and?evening?sunshine?—?or?with?someone?turning?lights?
on?or?off?indoors.?This?type?of?global?variability?can?be?taken?into?account?by?using?
several?different?codebook?models?one?for?each?condition?and?then?allowing?the?condition?
to?control?which?model?is?active.??????????????????????????????????????*/
/***************************
評論
共有 條評論