Packages

package pdf

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class HocrLine(boundingBox: Rectangle, words: Seq[HocrWord]) extends Product with Serializable
  2. class HocrParser extends Traversable[HocrLine]

    Reads hOCR output from Tesseract.

    Reads hOCR output from Tesseract.

    This doesn't handle hOCR in general. It only handles Tesseract's hOCR output.

    Usage:

    val parser = new HocrParser(input) parser.foreach { line => line.foreach { word => System.out.println(s"Word ${word.text} at (${word.boundingBox.x}, ${word.boundingBox.y})") } }

  3. case class HocrWord(boundingBox: Rectangle, text: String) extends Product with Serializable
  4. class PdfDocument extends AnyRef

    A PDF document.

    A PDF document.

    This class is intended to be created via PdfDocument.load(...), and its asynchronous methods use the ExecutionContext passed to PdfDocument.load(...).

    You must call PdfDocument.close when finished.

  5. class PdfPage extends AnyRef

    A page of a PDF document.

    A page of a PDF document.

    A PDF document can throw a PdfInvalidException at any time during reading.

    A PdfPage will only be valid so long as its parent PdfDocument's close method has not been called.

Value Members

  1. object HocrParser
  2. object PdfDocument
  3. object PdfPage

Ungrouped