Class: VivlioStarter::Pdf::Reader::OcrResult

Inherits:
Data
  • Object
show all
Defined in:
lib/vivlio_starter/cli/pdf/reader.rb

Overview

OCR 実行結果(テキスト・行・ブロック・画像情報を保持)

Instance Attribute Summary collapse

Instance Attribute Details

#blocksObject (readonly)

Returns the value of attribute blocks

Returns:

  • (Object)

    the current value of blocks



37
38
39
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37

def blocks
  @blocks
end

#image_heightObject (readonly)

Returns the value of attribute image_height

Returns:

  • (Object)

    the current value of image_height



37
38
39
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37

def image_height
  @image_height
end

#image_widthObject (readonly)

Returns the value of attribute image_width

Returns:

  • (Object)

    the current value of image_width



37
38
39
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37

def image_width
  @image_width
end

#linesObject (readonly)

Returns the value of attribute lines

Returns:

  • (Object)

    the current value of lines



37
38
39
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37

def lines
  @lines
end

#source_image_pathObject (readonly)

Returns the value of attribute source_image_path

Returns:

  • (Object)

    the current value of 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_dirObject (readonly)

Returns the value of attribute temp_dir

Returns:

  • (Object)

    the current value of temp_dir



37
38
39
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37

def temp_dir
  @temp_dir
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



37
38
39
# File 'lib/vivlio_starter/cli/pdf/reader.rb', line 37

def text
  @text
end