DevashishPrasad / CascadeTabNet

This repository contains the code and implementation details of the CascadeTabNet paper "CascadeTabNet: An approach for end to end table detection and structure recognition from image-based documents"
MIT License
1.5k stars 429 forks source link

ICDAR 2013 Measurement Tool #162

Open rudra0713 opened 2 years ago

rudra0713 commented 2 years ago

Hi, I am running into errors when I try to run to ICDAR 2013 measurement tool. I have downloaded jar files from the "Required Jar Files" Directory and placed them inside /lib/ext directory. I am testing the tool on Windows 10, and here is the log I am getting:

WARN No appenders could be found for logger (org.apache.pdfbox.util.PDFStreamEngine).\r\nlog4j:WARN 
Please initialize the log4j system properly.\r
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fontbox/afm/AFMParser\rat org.apache.pdfbox.pdmodel.font.PDFont.addAdobeFontMetric(PDFont.java:145)\r
\n\tat org.apache.pdfbox.pdmodel.font.PDFont.getAdobeFontMetrics(PDFont.java:114)\r
\n\tat org.apache.pdfbox.pdmodel.font.PDFont.<clinit>(PDFont.java:106)\r\n\
tat org.apache.pdfbox.pdmodel.font.PDFontFactory.createFont(PDFontFactory.java:108)\r\n\
tat org.apache.pdfbox.pdmodel.PDResources.getFonts(PDResources.java:203)\r\n\
tat org.apache.pdfbox.util.PDFStreamEngine.getFonts(PDFStreamEngine.java:604)\r\n
\tat org.apache.pdfbox.util.operator.SetTextFont.process(SetTextFont.java:54)\r\n
\tat org.apache.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:554)\r\n
\tat at.ac.tuwien.dbai.pdfwrap.pdfread.PDFObjectExtractor.processOperator(PDFObjectExtractor.java:282)\r\n
\tat org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:268)\r\n
\tat org.apache.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:235)\r\n
\tat org.apache.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:215)\r\n
\tat at.ac.tuwien.dbai.pdfwrap.pdfread.PDFObjectExtractor.processPage(PDFObjectExtractor.java:1696)\r\n
\tat at.ac.tuwien.dbai.pdfwrap.pdfread.PDFObjectExtractor.processPages(PDFObjectExtractor.java:1553)\r\n
\tat at.ac.tuwien.dbai.pdfwrap.pdfread.PDFObjectExtractor.findObjects(PDFObjectExtractor.java:1413)\r\n
\tat at.ac.tuwien.dbai.pdfwrap.ProcessFile.processPDF(ProcessFile.java:188)\r\n
\tat at.ac.tuwien.dbai.pdfwrap.MeasureRecognitionPerformance.main(MeasureRecognitionPerformance.java:291)\r\n
Caused by: java.lang.ClassNotFoundException: org.apache.fontbox.afm.AFMParser\r\n
\tat java.net.URLClassLoader.findClass(Unknown Source)\r
\n\tat java.lang.ClassLoader.loadClass(Unknown Source)\r
\n\tat java.lang.ClassLoader.loadClass(Unknown Source)

Any idea on how to solve this?

Thanks in advance.