Skip to content

Instantly share code, notes, and snippets.

@jason9075
Created June 12, 2022 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jason9075/cf38f069a5f37395597600175c499ff0 to your computer and use it in GitHub Desktop.
Save jason9075/cf38f069a5f37395597600175c499ff0 to your computer and use it in GitHub Desktop.
package com.jason9075.myopencv;
public class ImageInfo {
private final int width;
private final int height;
public ImageInfo(int width, int height) {
this.width = width;
this.height = height;
}
public int getWidth() {
return width;
}
public int getHeight() {
return height;
}
@Override
public String toString() {
return "ImageInfo{" +
"width=" + width +
", height=" + height +
'}';
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment