User Activity

  • Posted a comment on discussion Open Discussion on Tess4J

    I'm seeing an error in the ImageDeskew routine. The below sample code shows a rotation of -6.8 (the unredacted version shows -10) on the attached file even though it should be 0. Any idea why it’s not calculating correctly? It seems to happen on somewhat sparse images like this, which understably makes it harder to figure out the orientation. I'm wondering if anything can be done to make it more accurate public class GetAngle { private static double getAngle(Path sourceFile) throws IOException {...

  • Modified a comment on ticket #4 on Tess4J

    I see TessBaseAPIAllWordConfidences, which says that it returns the same number of values as that returned by GetUTF8. But TessBaseAPIGetUTF8Text returns a single string, not an array. Can you provide an example? I've read the Javadoc, but it's not always clear without an example. Is there an efficient way to process multiple images, but one at a time, without sending them all in as an array. TessBaseAPIAllWordConfidences() doesn't seem to work with doOCR(), because doOCR() closes everything down...

  • Posted a comment on ticket #4 on Tess4J

    I see TessBaseAPIAllWordConfidences, which says that it returns the same number of values as that returned by GetUTF8. But TessBaseAPIGetUTF8Text returns a single string, not an array. Can you provide an example? I've read the Javadoc, but it's not always clear without an example. Is there an efficient way to process multiple images, but one at a time, without sending them all in as an array

  • Posted a comment on ticket #4 on Tess4J

    I just entered that last post, but I wasn't logged in.

  • Posted a comment on discussion Sphinx4 Help on CMU Sphinx

    So is jsapi dead? I should just run Sphinx directly?

  • Posted a comment on discussion Sphinx4 Help on CMU Sphinx

    Is this project still being supported? I'm not sure how to run the demos. The Install file says that the RTP demos are based on jlibrtp (http://jlibrtp.org), but that website doesn't exist anymore. There don't seem to be any other instructions to run the demos. I understand that I have to download Sphinx. I assume it goes with org.jvoicexml.jsapi2.sphoinx4.jar, but it's not clear where to go from there.

  • Posted a comment on discussion Speech Recognition Theory on CMU Sphinx

    I'm having trouble understand the output from the sample program at https://github.com/cmusphinx/sphinx4/blob/master/sphinx4-samples/src/main/java/edu/cmu/sphinx/demo/transcriber/TranscriberDemo.java (using my own input file) I expected to get a transcript of the speech of my file, but instead I get something like the following. Not sure how to interpret it. Am I doing something wrong? 17:10:18.734 INFO unitManager CI Unit: Z 17:10:18.735 INFO unitManager CI Unit: ZH ... 17:10:20.536 INFO lexTreeLinguist...

View All

Personal Data

Username:
pakronenberg
Joined:
2021-01-19 22:14:39

Projects

  • No projects to display.

Personal Tools