public static void main(String[] args) {
try{
com.aspose.barcode.License license = new com.aspose.barcode.License();
//license.setLicense("Aspose.BarCode.lic");
license.setLicense(new File("C:\\Users\\luleyong\\Desktop\\Aspose.BarCode.lic"));
BufferedImage img = ImageIO.read(new File("D:/IMG.jpg"));
BarCodeReader reader = new BarCodeReader(img,BarCodeReadType.VIN);
if (reader.read()) {
// Print the code text, if barcode found
System.out.println("CodeText: " + reader.getCodeText().toString());
}else{
System.out.println("not find barcode");
}
}catch(Exception e){
e.printStackTrace();
}
}
i use barcode api can't decode the follow image.