9 #include <utils/logger.hpp>
12 int main(
int argc,
char *argv[]) {
24 std::shared_ptr<VocabTree::TrainParams> train_params = std::make_shared<VocabTree::TrainParams>();
25 train_params->depth = 4;
26 train_params->
split = 4;
38 for (uint32_t i = 0; i<256; i++) {
39 std::shared_ptr<VocabTree::MatchResults> matches =
42 printf(
"Matches for image %d: ", i);
43 for (uint64_t
id : matches->matches)
47 html_output.
add_match(i, matches->matches, simple_dataset);
51 html_output.
write(simple_dataset.
location() +
"/results/matches/");