$search
00001 #include <cob_read_text/text_detect.h> 00002 #include <iostream> 00003 00004 int main(int argc, char* argv[]) 00005 { 00006 if (argc < 4) 00007 { 00008 cout << "not enought input: detect_text <image> <correlation> <dictionary>" 00009 << endl; 00010 return -1; 00011 } 00012 DetectText detector = DetectText(); 00013 detector.readLetterCorrelation(argv[2]); 00014 detector.readWordList(argv[3]); 00015 detector.detect(string(argv[1])); 00016 00017 return 0; 00018 }