这几天在准备这个workshop,做个简单记录。
1. bgslibrary
这个库目前包含了35个BGS算法。是个很好的起点。把其中有用的算法测完就要不少时间
1.1 吐槽1
enablePreProcessor is mandotary in FrameProcessor.xml !!! If set to 0, it won't pass (i.e. copy) the input image to each BGS modulefrom void FrameProcessor::process(const cv::Mat &img_input):
preProcessor->process(img_input, img_prep);
ALL BGS functions acutally use img_prep as input image
1.2 吐槽2
enableShow in PreProcessor.xml just to open another window titled with "Pre Processor", but still display the original input image - no shadow detection is actually done!
2. CDW-2014
网站上有计算各种指标的工具。在UTILITIES下。提供了Matlab和Python的版本。
只需要给出原数据和结果数据的根目录即可:
python processFolder C:\dataset C:\results
2.1 吐槽1: 自带的Comparator不能用
这个其实不算吐槽。是我一开始在bgslibrary中保存结果时少算了第一帧图片,导致GT和RLTS图片数不一致,comparator.exe自然出错
用 long VideoCapture::frameNumber 作为保存文件名的vector的索引,而不是真正的帧序号。