Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
aruco-2.0.10
tests
create_aruco_dict.cpp
Go to the documentation of this file.
1
#include <iostream>
2
#include <fstream>
3
#include <sstream>
4
#include <stdint.h>
5
#include <vector>
6
#include <bitset>
7
//#include "markerlabelers/arucofidmarkers.h"
8
#include "
dictionary.h
"
9
using namespace
std
;
10
int
main
(
int
argc,
char
**argv){
11
12
// if (argc!=2){cerr<<"Usage out "<<endl;return -1;}
13
15
16
// for(int i=0;i<1024;i++){
17
// cv::Mat marker=aruco::FiducidalMarkers::getMarkerMat(i);
18
// //get the equivalent id
19
// bitset<64> mid;int mi=0;
20
// for(int i=0;i<marker.rows;i++)
21
// for(int j=0;j<marker.cols;j++)
22
// mid[mi++]=marker.at<uchar>(i,j);
23
// }
24
25
// cout<<"={";
26
// int i=0;
27
// for(auto d:aruco_dict.getMapCode()){
28
// cout<<"std::pair<uint64_t,int>("<<d.first<<","<<d.second<<")";
29
// i++;
30
// if (i<aruco_dict.size())cout<<",";
31
// }
32
// cout<<"}";
33
34
}
35
std
main
int main(int argc, char **argv)
Definition:
create_aruco_dict.cpp:10
dictionary.h
tuw_aruco
Author(s): Lukas Pfeifhofer
autogenerated on Mon Jun 10 2019 15:40:47