I need to find letters in a image. I need a help to write an algorithm to decode the image.
I got the image an there is converted in a ByteArrayOutputStream
but I don´t know what I do with it.
There is my java code:
URL url = new URL(urlImg);
WebClient webClient = new WebClient(BrowserVersion.getDefault());
WebRequest reqImg = new WebRequest(url);
reqImg.setHttpMethod(HttpMethod.GET);
InputStream imgStream = webClient.getPage(reqImg).getWebResponse().getContentAsStream();
BufferedImage img = ImageIO.read(imgStream);
ByteArrayOutputStream out = new ByteArrayOutputStream();
ImageIO.write(img, "png", out);
Dependencies: net.sourceforge.htmlunit htmlunit 2.15
JDK 1.6.0_43