Java Face Structures¶
-
class
org::sertiscorp::oneml::face
::
Image
¶ The Image class is used as a representation of an input image.
Public Functions
-
inline synchronized void delete ()
Gracefully destroy the object and free memory.
-
inline void setBuffer (java.nio.ByteBuffer data)
Set Image data as a buffer.
- Parameters
data
: an instance of java.nio.ByteBuffer.
-
inline Image (int w, int h, short d, java.nio.ByteBuffer data)
Create an Image instance from a java.nio.ByteBuffer.
- Parameters
w
: image width.h
: image height.d
: image depth.data
: pointer to image data.
-
inline Image (int w, int h, short d, byte[] array)
Create an Image instance from a byte array.
- Parameters
w
: image width.h
: image height.d
: image depth.array
: pointer to image data.
-
inline java.nio.ByteBuffer getBuffer ()
Get Image data as a buffer.
- Return
an instance of ByteBuffer.
-
inline byte[] getArray ()
Get Image data as a byte array.
- Return
a byte array.
-
-
org::sertiscorp::oneml::face::ImageBatch : public java::util::AbstractList< Image > , public java.util.RandomAccess
The ImageBatch class is used as a container for Image class.
Public Functions
-
inline ImageBatch add (byte[] byteArray, int width, int height, short depth)
Creates and adds an instance of Image from
byte[]
,height
,width
anddepth
.For this method, image byte array is expected to be in RGB format.
- Return
an instance of ImageBatch.
- Parameters
byteArray
: byte array representing an image.height
: image height.width
: image width.depth
: image depth.
-
inline ImageBatch add (java.awt.image.BufferedImage in)
Adds an instance of java.awt.image.BufferedImage to ImageBatch.
- Return
an instance of Image.
- Parameters
in
: an instance of java.awt.image.BufferedImage.
-
inline ImageBatch add (java.util.List< java.awt.image.BufferedImage > in)
Adds a list of java.awt.image.BufferedImage instances to ImageBatch.
- Return
an instance of Image.
- Parameters
in
: an instance of java.util.List<java.awt.image.BufferedImage>.
-
The bounding box object used for object detection.
-
inline float
org::sertiscorp::oneml::face::BBox
::
getTop
()¶
Get the top coordinate of the BBox.
-
inline float
org::sertiscorp::oneml::face::BBox
::
getBottom
()¶
Get the bottom coordinate of the BBox.
-
inline float
org::sertiscorp::oneml::face::BBox
::
getRight
()¶
Get the right coordinate of the BBox.
-
inline float
org::sertiscorp::oneml::face::BBox
::
getLeft
()¶
Get the left coordinate of the BBox.
-
inline void
org::sertiscorp::oneml::face::BBox
::
setTop
(float value)¶
Set the top coordinate of the BBox.
-
inline void
org::sertiscorp::oneml::face::BBox
::
setBottom
(float value)¶
Set the bottom coordinate of the BBox.
-
inline void
org::sertiscorp::oneml::face::BBox
::
setLeft
(float value)¶
Set left top coordinate of the BBox.
-
inline void
org::sertiscorp::oneml::face::BBox
::
setRight
(float value)¶
Set the right coordinate of the BBox.
-
org::sertiscorp::oneml::face::BBoxList : public java::util::AbstractList< BBox > , public java.util.RandomAccess
Public Functions
-
inline synchronized void delete ()
Gracefully destroy the object and free memory.
-
List of BBox objects.
-
namespace
org::sertiscorp::oneml
::
face
-
class
Landmark5Array
¶
-
class
Array containing 5 floating point numbers.
-
namespace
org::sertiscorp::oneml
::
face
-
class
Landmark5
¶
-
class
Struct of landmarks containing a Landmark5Array of 5 x points and a Landmark5Array of 5 y points.
-
namespace
org::sertiscorp::oneml
::
face
-
Landmark5List : public java::util::AbstractList< Landmark5 > , public java.util.RandomAccess
-
List of Landmark5 objects.
Warning
doxygenfile: Cannot find file “face/oneml/Landmark106Array.java
Array containing 106 floating point numbers.
Warning
doxygenfile: Cannot find file “face/oneml/Landmark106.java
Struct of landmarks containing a Landmark106Array of 106 x points and a Landmark106Array of 106 y points.
-
namespace
org::sertiscorp::oneml
::
face
-
enum
FacePose
¶ Public Members
-
Front =(FaceJNI.FacePose_Front_get())
-
Left
-
Right
-
Up
-
Down
-
Undefined
-
-
enum
-
namespace
org::sertiscorp::oneml
::
face
-
FacePoseList : public java::util::AbstractList< FacePose > , public java.util.RandomAccess
-
List of FacePose objects.
-
class
org::sertiscorp::oneml::face
::
Embedding
¶ Public Functions
-
inline synchronized void delete ()
Gracefully destroy the object and free memory.
-
inline float[] toArray ()
Returns an embedding.
- Return
an embedding.
-
-
namespace
org::sertiscorp::oneml
::
face
-
FloatList : public java::util::AbstractList< Float > , public java.util.RandomAccess
-
List of float as detection scores.