Class: VivlioStarter::Pdf::Reader::OcrResult
- Inherits:
-
Data
- Object
- Data
- VivlioStarter::Pdf::Reader::OcrResult
- Defined in:
- lib/vivlio_starter/cli/pdf/reader.rb
Overview
OCR 実行結果(テキスト・行・ブロック・画像情報を保持)
Instance Attribute Summary collapse
-
#blocks ⇒ Object
readonly
Returns the value of attribute blocks.
-
#image_height ⇒ Object
readonly
Returns the value of attribute image_height.
-
#image_width ⇒ Object
readonly
Returns the value of attribute image_width.
-
#lines ⇒ Object
readonly
Returns the value of attribute lines.
-
#source_image_path ⇒ Object
readonly
Returns the value of attribute source_image_path.
-
#temp_dir ⇒ Object
readonly
Returns the value of attribute temp_dir.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Attribute Details
#blocks ⇒ Object (readonly)
Returns the value of attribute blocks
37 38 39 |
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37 def blocks @blocks end |
#image_height ⇒ Object (readonly)
Returns the value of attribute image_height
37 38 39 |
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37 def image_height @image_height end |
#image_width ⇒ Object (readonly)
Returns the value of attribute image_width
37 38 39 |
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37 def image_width @image_width end |
#lines ⇒ Object (readonly)
Returns the value of attribute lines
37 38 39 |
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37 def lines @lines end |
#source_image_path ⇒ Object (readonly)
Returns the value of attribute source_image_path
37 38 39 |
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37 def source_image_path @source_image_path end |
#temp_dir ⇒ Object (readonly)
Returns the value of attribute temp_dir
37 38 39 |
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37 def temp_dir @temp_dir end |
#text ⇒ Object (readonly)
Returns the value of attribute text
37 38 39 |
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37 def text @text end |