Activity for arpit tandon

  • arpit tandon arpit tandon posted a comment on discussion Open Discussion

    Got it. I had to use tessInst.setPageSegMode(3);

  • arpit tandon arpit tandon modified a comment on discussion Open Discussion

    I am using the following example to convert the pdf (ocr) to text org.apache.log4j.PropertyConfigurator.configure("C://Projects//Library//Tess4J//log4j.properties.txt"); // sets // properties // file // for // log4j File image = new File("C://Users//arpit.tandon//Documents//My Received Files//SomePapers//Chamberlain-1979-Thalidomide and lack of terat.pdf") Tesseract tessInst = new Tesseract(); tessInst.setDatapath("C://Projects//Library//Tess4J"); try { String result = tessInst.doOCR(image); FileWriter...

  • arpit tandon arpit tandon modified a comment on discussion Open Discussion

    I am using the following example to convert the pdf (ocr) to text org.apache.log4j.PropertyConfigurator.configure("C://Projects//Library//Tess4J//log4j.properties.txt"); // sets // properties // file // for // log4j File image = new File("C://Users//arpit.tandon//Documents//My Received Files//SomePapers//Chamberlain-1979-Thalidomide and lack of terat.pdf") Tesseract tessInst = new Tesseract(); tessInst.setDatapath("C://Projects//Library//Tess4J"); try { String result = tessInst.doOCR(image); FileWriter...

  • arpit tandon arpit tandon posted a comment on discussion Open Discussion

    I am using the following example to convert the pdf (ocr) to text org.apache.log4j.PropertyConfigurator.configure("C://Projects//Library//Tess4J//log4j.properties.txt"); // sets // properties // file // for // log4j File image = new File("C://Users//arpit.tandon//Documents//My Received Files//SomePapers//Chamberlain-1979-Thalidomide and lack of terat.pdf"); // File image = new File("C://Users//arpit.tandon//Documents//My Received // Files//SomePapers//out.tiff"); // recognizeTextBlocks(image.toPath());...

1