-
Notifications
You must be signed in to change notification settings - Fork 18
/
Test_OpenABLE.cpp
45 lines (32 loc) · 1.09 KB
/
Test_OpenABLE.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*****************************************************************************/
/**
* @file Test_OpenABLE.cpp
* @brief Program for testing the OpenABLE toolbox
* @author Roberto Arroyo
* @date June 1, 2016
*/
/*****************************************************************************/
// Includes
#include <iostream>
#include "src/OpenABLE.h"
// Namespaces
using namespace std;
using namespace cv;
/*****************************************************************************/
// Test program
/**
* @brief This test program reads image or video sequences and detects loop
* closures by applying the functionalities of the OpenABLE toolbox. Finally,
* the program saves the similarity matrix scores into a file for subsequent
* analysis.
*/
int main( int argc, char *argv[] ){
if (argc==2){
OpenABLE openABLE(argv[1]);
openABLE.compute_OpenABLE();
openABLE.show_times();
}else{
cout << "You must pass the path of the configuration file." << endl;
}
}
/*****************************************************************************/