Giter Club home page Giter Club logo

mathocr's People

Contributors

chungkwong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mathocr's Issues

图片识别报错,请教这是什么问题

十月 08, 2018 8:47:00 下午 com.github.chungkwong.mathocr.character.ModelManager getCharacterList
严重: null
java.nio.file.NoSuchFileException: C:\Users\Administrator.mathocr\default_small\index
at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source)
at java.nio.file.Files.newByteChannel(Unknown Source)
at java.nio.file.Files.newByteChannel(Unknown Source)
at java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source)
at java.nio.file.Files.newInputStream(Unknown Source)
at java.nio.file.Files.newBufferedReader(Unknown Source)
at java.nio.file.Files.lines(Unknown Source)
at java.nio.file.Files.lines(Unknown Source)
at com.github.chungkwong.mathocr.character.CharacterList.read(CharacterList.java:67)
at com.github.chungkwong.mathocr.character.ModelManager.getCharacterList(ModelManager.java:38)
at com.github.chungkwong.mathocr.character.ModelManager.loadDefault(ModelManager.java:78)
at com.github.chungkwong.mathocr.character.ModelManager.getCharacterList(ModelManager.java:33)
at com.github.chungkwong.mathocr.text.SptialCharacterSegmenter.segment(SptialCharacterSegmenter.java:34)
at com.github.chungkwong.mathocr.text.BuiltinLineRecognizer.recognize(BuiltinLineRecognizer.java:31)
at com.github.chungkwong.mathocr.PipeLine.recognizeLatexFormula(PipeLine.java:238)
at com.github.chungkwong.mathocr.ui.MathInspector.inspect(MathInspector.java:44)
at com.github.chungkwong.mathocr.ui.MathInspector.lambda$new$0(MathInspector.java:38)
at javax.swing.JFileChooser.fireActionPerformed(Unknown Source)
at javax.swing.JFileChooser.approveSelection(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI$Handler.mouseClicked(Unknown Source)
at sun.swing.FilePane$Handler.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

十月 08, 2018 8:47:00 下午 com.github.chungkwong.mathocr.character.ModelManager getModel
严重: null
java.io.FileNotFoundException: C:\Users\Administrator.mathocr\default_small\LINEAR (系统找不到指定的路径。)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at de.bwaldvogel.liblinear.Linear.loadModel(Linear.java:451)
at com.github.chungkwong.mathocr.character.classifier.LinearModelType.read(LinearModelType.java:80)
at com.github.chungkwong.mathocr.character.classifier.LinearModelType.read(LinearModelType.java:32)
at com.github.chungkwong.mathocr.character.ModelManager.getModel(ModelManager.java:98)
at com.github.chungkwong.mathocr.character.ModelManager.getSmallModel(ModelManager.java:87)
at com.github.chungkwong.mathocr.text.SptialCharacterSegmenter.segment(SptialCharacterSegmenter.java:37)
at com.github.chungkwong.mathocr.text.BuiltinLineRecognizer.recognize(BuiltinLineRecognizer.java:31)
at com.github.chungkwong.mathocr.PipeLine.recognizeLatexFormula(PipeLine.java:238)
at com.github.chungkwong.mathocr.ui.MathInspector.inspect(MathInspector.java:44)
at com.github.chungkwong.mathocr.ui.MathInspector.lambda$new$0(MathInspector.java:38)
at javax.swing.JFileChooser.fireActionPerformed(Unknown Source)
at javax.swing.JFileChooser.approveSelection(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI$Handler.mouseClicked(Unknown Source)
at sun.swing.FilePane$Handler.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.github.chungkwong.mathocr.character.classifier.LinearClassifier.recognize(LinearClassifier.java:43)
at com.github.chungkwong.mathocr.text.SptialCharacterSegmenter.segment(SptialCharacterSegmenter.java:46)
at com.github.chungkwong.mathocr.text.BuiltinLineRecognizer.recognize(BuiltinLineRecognizer.java:31)
at com.github.chungkwong.mathocr.PipeLine.recognizeLatexFormula(PipeLine.java:238)
at com.github.chungkwong.mathocr.ui.MathInspector.inspect(MathInspector.java:44)
at com.github.chungkwong.mathocr.ui.MathInspector.lambda$new$0(MathInspector.java:38)
at javax.swing.JFileChooser.fireActionPerformed(Unknown Source)
at javax.swing.JFileChooser.approveSelection(Unknown Source)
at javax.swing.plaf.basic.BasicFileChooserUI$Handler.mouseClicked(Unknown Source)
at sun.swing.FilePane$Handler.mouseClicked(Unknown Source)
at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

datasets

hello, i have questions about the datasets. where could i get the datasets in the project? thank you very much.

how to run it

when I use command like java -jar original-mathocr-1.0-SNAPSHOT.jar , It doesn't work and return original-mathocr-1.0-SNAPSHOT.jar 中没有主清单属性 , how can I use it with GUI?

contact

Is there a way to contact the developer?

win10 64位无法运行

java -jar C:\Users\XXX\Desktop\mathocr-1.0-20181008.132439-3.jar

Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread "main"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.