freebsd-ports/math/scilab-toolbox-sivp/files/patch-sci_gateway__c__detectforeground.c
Max Brazhnikov 0569776a62 Remove IGNORE, scilab port was fixed.
Add patch to fix build with OpenCV 2.1
Remove md5 checksum
2010-12-19 10:02:33 +00:00

11 lines
407 B
C

--- ./sci_gateway/c/detectforeground.c.orig 2010-01-31 15:21:14.000000000 +0300
+++ ./sci_gateway/c/detectforeground.c 2010-12-19 12:25:28.752039065 +0300
@@ -93,7 +93,7 @@
//foreground detection
else
{
- cvUpdateBGStatModel(pSrcImg, bg_model);
+ cvUpdateBGStatModel(pSrcImg, bg_model, -1);
IplImg2Mat(bg_model->foreground, Rhs+1);
}