 (ns tax-extractor.core
+  (:require [clojure.java.shell :refer [sh]])
   (:import [net.sourceforge.tess4j Tesseract]
            [org.ghost4j.document PDFDocument]
            [org.ghost4j.renderer SimpleRenderer]

        :reportable-external-comp (parse-comp (doocr (reportable-external-comp y-off)))
        :other-comp (parse-comp (doocr (other-comp y-off)))))))


(defn read-pdf [pdf]
  (let [doc (doto (PDFDocument.)

        file-two (File. "two.png")]
    (ImageIO/write page-one "png" file-one)
    (ImageIO/write page-two "png" file-two)
    (threshold "one.png")
    (threshold "two.png")
    (loop [idx 0
           records []]
      (if-let [record (try
