Commit 53a86776 authored by Anguelos Nicolaou's avatar Anguelos Nicolaou

GSOC 2016 removed warnings from example

parent 7c7ecd71
......@@ -17,7 +17,7 @@
#include <iomanip>
#include <fstream>
std::string getHelpStr(std::string progFname){
inline std::string getHelpStr(std::string progFname){
std::stringstream out;
out << " Demo of wordspotting CNN for text recognition." << std::endl;
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[]){
std::ofstream out;
out.open(argv[1]);
for(int imgIdx=0;imgIdx<imageList.size();imgIdx++){
for(int imgIdx=0;imgIdx<int(imageList.size());imgIdx++){
out<<argv[imgIdx+2]<<","<<wordList[imgIdx]<<","<<outProbabillities[imgIdx]<<std::endl;
}
out.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment