GithubHelp home page GithubHelp logo

Comments (16)

Shreeshrii avatar Shreeshrii commented on July 20, 2024

The image you have shared seems to show the kannada output. Can you explain the problem being faced?

from vietocr3.

Shreeshrii avatar Shreeshrii commented on July 20, 2024

kannada

To me the output looks fine. For me, the default font is showing up as `Arial Unicode MS' on Windows 10.

from vietocr3.

omshivaprakash avatar omshivaprakash commented on July 20, 2024

I’m using it on Mac. I shall check on the font but it has not worked on various kannada fonts.

from vietocr3.

Shreeshrii avatar Shreeshrii commented on July 20, 2024

Are you able to use kannada fonts in other applications on your Mac?

from vietocr3.

omshivaprakash avatar omshivaprakash commented on July 20, 2024

Yes, If I copy paste the text to text editor, notes, mail etc it displays fine. Tried with Arial Unicode MS. No luck

from vietocr3.

Shreeshrii avatar Shreeshrii commented on July 20, 2024

work around to read the OCRéd unicode text for Kannada and other languages on the right handside panel.

Does English work?

from vietocr3.

Shreeshrii avatar Shreeshrii commented on July 20, 2024

What is the Mac OS version? Java version?

from vietocr3.

omshivaprakash avatar omshivaprakash commented on July 20, 2024

% java -version
java version "1.8.0_102"
Java(TM) SE Runtime Environment (build 1.8.0_102-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

Mac OS - Catalina - 10.15 beta - had same issue with Mojave and earlier versions too.

English Works.

Screenshot 2019-09-28 at 22 33 32

from vietocr3.

Shreeshrii avatar Shreeshrii commented on July 20, 2024

What about Hindi/Sanskrit?

Quan, are there any Mac users who can help?

See https://stackoverflow.com/questions/5994815/rendering-devanagari-ligatures-unicode-in-java-swing-jcomponent-on-mac-os-x/6376670#6376670

from vietocr3.

omshivaprakash avatar omshivaprakash commented on July 20, 2024

Screenshot 2019-09-28 at 23 13 22

Hindi Works fine.

from vietocr3.

nguyenq avatar nguyenq commented on July 20, 2024

The program uses Java's native text component to display the output text. We have no Mac to test this issue. Based on the suggestions from SO posts, can you try to use Quartz renderer?

javaw -Xms128m -Xmx2048m -Dapple.awt.graphics.UseQuartz="true" -jar VietOCR.jar

from vietocr3.

omshivaprakash avatar omshivaprakash commented on July 20, 2024

javaw didn't work. Tried the above command with java - no luck.

Screenshot 2019-09-29 at 00 07 03

from vietocr3.

nguyenq avatar nguyenq commented on July 20, 2024

Sorry, copy&paste error; it was meant to be java command. It seems to be a OSX-Java-Kannada rendering issue. We're not sure if the issue is fixed in latest Java 13 -- you may want to try it out. Otherwise, we suggest that you use another editor for viewing or editing Kannada script.

from vietocr3.

Shreeshrii avatar Shreeshrii commented on July 20, 2024

Hindi Works fine.

Actually even that has some errors related to the glyphs for compound letters eg. check
क्यूं
ब्लॉग
दर्जा

Seems to be a rendering problem on Mac + Java for complex script.

from vietocr3.

omshivaprakash avatar omshivaprakash commented on July 20, 2024

@Shreeshrii Thats correct. Could only OCR last two words

Screenshot 2019-09-29 at 11 05 27

from vietocr3.

omshivaprakash avatar omshivaprakash commented on July 20, 2024

% java -version
java version "13" 2019-09-17
Java(TM) SE Runtime Environment (build 13+33)
Java HotSpot(TM) 64-Bit Server VM (build 13+33, mixed mode, sharing)
Seem to have resolved the issue.

Thank you for pointing this out. @nguyenq

Screenshot 2019-09-29 at 15 06 46

from vietocr3.

Related Issues (17)

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.