libvot  0.1.3
A C++11 multithread library for image retrieval
Functions
oxford5k.cpp File Reference

a program to compute mAP of Oxford5k dataset (exe) More...

#include <fstream>
#include <iostream>
#include <set>
#include <string>
#include <vector>

Functions

vector< string > load_list (const string &fname)
 
template<class T >
set< T > vector_to_set (const vector< T > &vec)
 
float compute_ap (const set< string > &pos, const set< string > &amb, const vector< string > &ranked_list)
 
int main (int argc, char **argv)
 

Detailed Description

a program to compute mAP of Oxford5k dataset (exe)

Function Documentation

float compute_ap ( const set< string > &  pos,
const set< string > &  amb,
const vector< string > &  ranked_list 
)
vector<string> load_list ( const string &  fname)
int main ( int  argc,
char **  argv 
)
template<class T >
set<T> vector_to_set ( const vector< T > &  vec)