I try to use your ORC lib in java to provide an OCR Applet and I have some questions :
- Is someone have done the JNI bridge with your lib ?
- Is there a brigde between Java BufferedImage and your own image structure ?
- what is the method to export in the interface ?
Best regards
David
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think, that java bindings would be very useful. I don't think that it is very hard to create them. Maybe GOCR developers could do this? Can we ask them somehow? :-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello All,
I try to use your ORC lib in java to provide an OCR Applet and I have some questions :
- Is someone have done the JNI bridge with your lib ?
- Is there a brigde between Java BufferedImage and your own image structure ?
- what is the method to export in the interface ?
Best regards
David
to provide something like
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import javax.imageio.ImageIO;
import net.gorc.OCR;
public class Demo {
public static void main(String[] args) throws IOException {
BufferedImage image = ImageIO.read(new File("C:/ocr.jpg));
String s = new OCR().recognizeEverything(image);
System.out.println("\n---- RESULTS: ------- \n" + s);
}
}
I think, that java bindings would be very useful. I don't think that it is very hard to create them. Maybe GOCR developers could do this? Can we ask them somehow? :-)
I dont have time to think about java.
But I am looking foward to get such bindings from you. :)
Joerg