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, hashCodepublic Image(java.lang.String path)
path - path to image file.FaceException - if the image can't be read or the invalid path is provided.public Image(byte[] bytes)
bytes - content of image file.FaceException - if the image can't be read.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.FaceException - if the image can't be read.