Guest User

Untitled

a guest
Apr 2nd, 2017
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.01 KB | None | 0 0
  1. lstmrecognizer.cpp: In member function ‘bool tesseract::LSTMRecognizer::RecognizeLine(const tesseract::ImageData&, bool, bool, bool, float, float*, tesseract::NetworkIO*, tesseract::NetworkIO*)’:
  2. lstmrecognizer.cpp:283:11: warning: unused variable ‘inv_scale’ [-Wunused-variable]
  3. float inv_scale;
  4. ^
  5. lstmrecognizer.cpp: In member function ‘void tesseract::LSTMRecognizer::DisplayForward(const tesseract::NetworkIO&, const GenericVector<int>&, const GenericVector<int>&, const char*, ScrollView**)’:
  6. lstmrecognizer.cpp:463:7: warning: unused variable ‘x_scale’ [-Wunused-variable]
  7. int x_scale = network_->XScaleFactor();
  8. ^
  9. In file included from ../ccutil/lsterr.h:20:0,
  10. from ../ccutil/elst.h:26,
  11. from ../ccutil/ambigs.h:24,
  12. from ../ccutil/ccutil.h:22,
  13. from lstmrecognizer.h:22,
  14. from lstmrecognizer.cpp:19:
  15. lstmrecognizer.cpp: In member function ‘void tesseract::LSTMRecognizer::LabelsViaThreshold(const tesseract::NetworkIO&, float, GenericVector<int>*, GenericVector<int>*)’:
  16. lstmrecognizer.cpp:603:47: error: ‘isnan’ was not declared in this scope
  17. ASSERT_HOST(!isnan(output.f(t)[null_char_]));
  18. ^
  19. ../ccutil/errcode.h:84:30: note: in definition of macro ‘ASSERT_HOST’
  20. #define ASSERT_HOST(x) if (!(x)) \
  21. ^
  22. lstmrecognizer.cpp:603:47: note: suggested alternative:
  23. ASSERT_HOST(!isnan(output.f(t)[null_char_]));
  24. ^
  25. ../ccutil/errcode.h:84:30: note: in definition of macro ‘ASSERT_HOST’
  26. #define ASSERT_HOST(x) if (!(x)) \
  27. ^
  28. In file included from network.h:23:0,
  29. from lstmrecognizer.h:26,
  30. from lstmrecognizer.cpp:19:
  31. /usr/include/c++/5/cmath:641:5: note: ‘std::isnan’
  32. isnan(_Tp __x)
  33. ^
  34. lstmrecognizer.cpp:598:7: warning: unused variable ‘label’ [-Wunused-variable]
  35. int label = null_char_;
  36. ^
  37. lstmrecognizer.cpp: In member function ‘BLOB_CHOICE_LIST* tesseract::LSTMRecognizer::GetBlobChoices(int, int, bool, const tesseract::NetworkIO&, const UNICHARSET*, int, int, float)’:
  38. lstmrecognizer.cpp:691:7: warning: unused variable ‘width’ [-Wunused-variable]
  39. int width = x_end - x_start;
  40. ^
  41. Makefile:554: recipe for target 'lstmrecognizer.lo' failed
  42. make[3]: *** [lstmrecognizer.lo] Error 1
  43. make[3]: Leaving directory '/home/ubuntu/Desktop/dd/tesseract-4.00.00alpha/lstm'
  44. Makefile:595: recipe for target 'all-recursive' failed
  45. make[2]: *** [all-recursive] Error 1
  46. make[2]: Leaving directory '/home/ubuntu/Desktop/dd/tesseract-4.00.00alpha/lstm'
  47. Makefile:485: recipe for target 'all-recursive' failed
  48. make[1]: *** [all-recursive] Error 1
  49. make[1]: Leaving directory '/home/ubuntu/Desktop/dd/tesseract-4.00.00alpha'
  50. Makefile:394: recipe for target 'all' failed
  51. make: *** [all] Error 2
Add Comment
Please, Sign In to add comment