molvec icon indicating copy to clipboard operation
molvec copied to clipboard

ArrayIndexOutOfBoundsException when recognizing hand-drawn image

Open biotech7 opened this issue 3 years ago • 0 comments

when trying to recognize example image(url: https://github.com/ncats/molvec/blob/master/test/hand-drawn.png), rising exception of ArrayIndexOutOfBoundsException. It's more likely related to Raster but failed to trace back. codes to reproduce: BufferedImage image = ImageIO.read(....); String molFileStr = Molvec.ocr(image);

biotech7 avatar Nov 20 '22 10:11 biotech7