java-data-image
Package provides java implementation of some common api of image manipulation in the form of data frame
Install
Add the following dependency to your POM file:
<dependency>
<groupId>com.github.chen0040</groupId>
<artifactId>java-data-image</artifactId>
<version>1.0.2</version>
</dependency>
Usage
The sample code below shows how to convert an image to a data frame (Please refers to this link on how to use a data frame):
BufferedImage img= ImageIO.read(new FileInputStream("1.jpg"));
DataFrame batch = ImageDataFrameFactory.dataFrame(img);
System.out.println(batch.head(10));