Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lstmrecognizer.cpp: In member function ‘bool tesseract::LSTMRecognizer::RecognizeLine(const tesseract::ImageData&, bool, bool, bool, float, float*, tesseract::NetworkIO*, tesseract::NetworkIO*)’:
- lstmrecognizer.cpp:283:11: warning: unused variable ‘inv_scale’ [-Wunused-variable]
- float inv_scale;
- ^
- lstmrecognizer.cpp: In member function ‘void tesseract::LSTMRecognizer::DisplayForward(const tesseract::NetworkIO&, const GenericVector<int>&, const GenericVector<int>&, const char*, ScrollView**)’:
- lstmrecognizer.cpp:463:7: warning: unused variable ‘x_scale’ [-Wunused-variable]
- int x_scale = network_->XScaleFactor();
- ^
- In file included from ../ccutil/lsterr.h:20:0,
- from ../ccutil/elst.h:26,
- from ../ccutil/ambigs.h:24,
- from ../ccutil/ccutil.h:22,
- from lstmrecognizer.h:22,
- from lstmrecognizer.cpp:19:
- lstmrecognizer.cpp: In member function ‘void tesseract::LSTMRecognizer::LabelsViaThreshold(const tesseract::NetworkIO&, float, GenericVector<int>*, GenericVector<int>*)’:
- lstmrecognizer.cpp:603:47: error: ‘isnan’ was not declared in this scope
- ASSERT_HOST(!isnan(output.f(t)[null_char_]));
- ^
- ../ccutil/errcode.h:84:30: note: in definition of macro ‘ASSERT_HOST’
- #define ASSERT_HOST(x) if (!(x)) \
- ^
- lstmrecognizer.cpp:603:47: note: suggested alternative:
- ASSERT_HOST(!isnan(output.f(t)[null_char_]));
- ^
- ../ccutil/errcode.h:84:30: note: in definition of macro ‘ASSERT_HOST’
- #define ASSERT_HOST(x) if (!(x)) \
- ^
- In file included from network.h:23:0,
- from lstmrecognizer.h:26,
- from lstmrecognizer.cpp:19:
- /usr/include/c++/5/cmath:641:5: note: ‘std::isnan’
- isnan(_Tp __x)
- ^
- lstmrecognizer.cpp:598:7: warning: unused variable ‘label’ [-Wunused-variable]
- int label = null_char_;
- ^
- lstmrecognizer.cpp: In member function ‘BLOB_CHOICE_LIST* tesseract::LSTMRecognizer::GetBlobChoices(int, int, bool, const tesseract::NetworkIO&, const UNICHARSET*, int, int, float)’:
- lstmrecognizer.cpp:691:7: warning: unused variable ‘width’ [-Wunused-variable]
- int width = x_end - x_start;
- ^
- Makefile:554: recipe for target 'lstmrecognizer.lo' failed
- make[3]: *** [lstmrecognizer.lo] Error 1
- make[3]: Leaving directory '/home/ubuntu/Desktop/dd/tesseract-4.00.00alpha/lstm'
- Makefile:595: recipe for target 'all-recursive' failed
- make[2]: *** [all-recursive] Error 1
- make[2]: Leaving directory '/home/ubuntu/Desktop/dd/tesseract-4.00.00alpha/lstm'
- Makefile:485: recipe for target 'all-recursive' failed
- make[1]: *** [all-recursive] Error 1
- make[1]: Leaving directory '/home/ubuntu/Desktop/dd/tesseract-4.00.00alpha'
- Makefile:394: recipe for target 'all' failed
- make: *** [all] Error 2
Add Comment
Please, Sign In to add comment