References:
https://github.com/tesseract-ocr/tesseract/wiki/Compiling
http://stackoverflow.com/questions/33588262/tesseract-ocr-on-aws-lambda-via-virtualenv
| # Install dependencies: | |
| # | |
| # posix-spawn (check all benefits at https://github.com/rtomayko/posix-spawn) | |
| # gem install posix-spawn | |
| # | |
| # Poppler utils (http://poppler.freedesktop.org/) | |
| # apt-get install poppler-utils | |
| # | |
| require 'posix/spawn' |
Estágio em Programação: https://infosimples.github.io/estagio-em-programacao/
| # gem install multi_json json yajl-ruby oj benchmark-memory | |
| require 'multi_json' | |
| require 'json' | |
| require 'yajl' | |
| require 'oj' | |
| require 'benchmark' | |
| require 'benchmark-memory' | |
| hash1 = { |
| # gem install benchmark-memory activesupport builder nokogiri rabl ox libxml-ruby | |
| require 'benchmark' | |
| require 'benchmark-memory' | |
| require 'builder' | |
| require 'active_support/core_ext/hash/conversions' | |
| require 'rabl' | |
| require 'nokogiri' | |
| require 'libxml' | |
| require 'ox' |
| class Renderer::Post | |
| def self.create_doc_xml(root) | |
| doc = LibXML::XML::Document.new | |
| doc.encoding = LibXML::XML::Encoding::UTF_8 | |
| doc.root = LibXML::XML::Node.new(root) | |
| doc | |
| end | |
| def self.create_node(name, value=nil, type=nil) | |
| node = LibXML::XML::Node.new(name) |
| diff --git a/accessible/base/NotificationController.h b/accessible/base/NotificationController.h | |
| index bc1a692c23d8599512a5ce956d99998640347c46..4e77897aa4a84ce88445ba45f1ba3b5b2dde9e23 100644 | |
| --- a/accessible/base/NotificationController.h | |
| +++ b/accessible/base/NotificationController.h | |
| @@ -244,6 +244,8 @@ class NotificationController final : public EventQueue, | |
| } | |
| #endif | |
| + bool IsUpdatePendingForJugglerAccessibility() { return IsUpdatePending(); } | |
| + |