Tested both c++ and python.
-
In c++:
bgs->process(img_input, img_mask, img_bkgmodel);
we can input a img_mask.
-
In python:
from demo.py and demo2.py.
img_output = algorithm.apply(frame)
it looks there is nowhere for me to input an mask image?
Any suggestions?
Tested both c++ and python.
In c++:
bgs->process(img_input, img_mask, img_bkgmodel);we can input a img_mask.
In python:
from
demo.pyanddemo2.py.img_output = algorithm.apply(frame)it looks there is nowhere for me to input an mask image?
Any suggestions?