the two "transform" method do not get the same fbow::fBow
OldAAAA opened this issue · 1 comments
OldAAAA commented
`fbow::Vocabulary vocab;
vocab.readFromFile("my.fbow");
Mat descriptor1;
getdescriptor("mydescriptor",descriptor1);
fbow::fBow fbow1;
fbow::fBow2 bow1;
vocab.transform(descriptor1 , 5 , fbow1 , bow1);
fbow::fBow fbow2;
fbow2 = vocab.transform(descriptor1);`
i find that fbow1 and fbow2 is not the same result.And if i use feature2.score() method to any other fbow,it will always return 1.
i can't find the problem,could you help me?