File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 17
17
#include < iomanip>
18
18
#include < fstream>
19
19
20
- std::string getHelpStr (std::string progFname){
20
+ inline std::string getHelpStr (std::string progFname){
21
21
std::stringstream out;
22
22
out << " Demo of wordspotting CNN for text recognition." << std::endl;
23
23
out << " Max Jaderberg et al.: Reading Text in the Wild with Convolutional Neural Networks, IJCV 2015" <<std::endl<<std::endl;
@@ -83,7 +83,7 @@ int main(int argc, const char * argv[]){
83
83
84
84
std::ofstream out;
85
85
out.open (argv[1 ]);
86
- for (int imgIdx=0 ;imgIdx<imageList.size ();imgIdx++){
86
+ for (int imgIdx=0 ;imgIdx<int ( imageList.size () );imgIdx++){
87
87
out<<argv[imgIdx+2 ]<<" ," <<wordList[imgIdx]<<" ," <<outProbabillities[imgIdx]<<std::endl;
88
88
}
89
89
out.close ();
You can’t perform that action at this time.
0 commit comments