]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commit
Fix incorrect order of train() arguments
authorMichal Sojka <michal.sojka@cvut.cz>
Sun, 23 Sep 2018 09:27:22 +0000 (11:27 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Sun, 23 Sep 2018 09:27:22 +0000 (11:27 +0200)
commit467f4dd7519fb03896e3dbbd5c1522e27d3e832d
tree40493aadc53f807c47d3180185e6ac765994bc78
parent77d78599b00caf50d8dc2b4d4306a4d9d8537eef
Fix incorrect order of train() arguments

train() is called two time. Before this change, it was once called as
train(input_gray, input_rgb, ...) and once as
train(input_rgb, input_gray, ...)

This unifies the call sites and changes the order of arguments to match
get_features().

Fixes #28.
src/kcf.cpp
src/kcf.h