public class Image extends FaceSdkNativePeer
Constructor and Description |
---|
Image(byte[] bytes)
Constructor.
|
Image(byte[] bytes,
long rows,
long cols,
long encoding)
Constructor.
|
Image(java.lang.String path)
Constructor.
|
close, equals, hashCode
public Image(java.lang.String path)
path
- path to image file.public Image(byte[] bytes)
bytes
- content of image file.public Image(byte[] bytes, long rows, long cols, long encoding)
bytes
- content of image file.rows
- number of image rows.cols
- number of image cols.encoding
- color encoding format of input array.