C# Face Structures

OneML.Face.Image : public global.SystemIDisposable

The Image class is used as a representation of an input image.

Public Functions

inline void Dispose()

Gracefully destroy the object and free memory.

inline void SetWidth(ushort value)

Set Image width.

Parameters
  • value: an integer value.

inline void SetHeight(ushort value)

Set Image height.

Parameters
  • value: an integer value.

inline void SetDepth(ushort value)

Set Image depth.

Parameters
  • value: an integer value.

inline ushort GetWidth()

Get Image width.

Return

an integer value.

inline ushort GetHeight()

Get Image height.

Return

an integer value.

inline ushort GetDepth()

Get Image depth.

Return

a short value.

inline void SetBuffer (byte[] data_in)

Set Image data as a buffer.

Parameters
  • data_in: a byte array.

inline Image (int w, int h, short d, byte[] data_in)

Create an Image instance from a byte array.

Parameters
  • w: image width.

  • h: image height.

  • d: image depth.

  • data_in: pointer to image data.

inline byte[] GetBuffer ()

Get Image data as a byte array.

Return

a byte array.

inline byte[] GetArray ()

Get Image data as a byte array.

Return

a byte array.

OneML.Face.ImageBatch : public global.SystemIDisposable , public global.SystemCollections.IEnumerable , public global::SystemCollections::Generic::IEnumerable< Image >

The ImageBatch class is used as a container for Image class.

ImageBatchEnumerator : public global.SystemCollections.IEnumerator , public global::SystemCollections::Generic::IEnumerator< Image >

Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified.

This has been done for changes in the size of the collection but not when one of the elements of the collection is modified as it is a bit tricky to detect unmanaged code that modifies the collection under our feet.

namespace OneML
namespace Face
BBox : public global.SystemIDisposable
top: y coordinate of the top of the bounding box
left: x coordinate of the left of the bounding box
bottom: y coordinate of the bottom of the bounding box
right: x coordinate of the right of the bounding box
OneML.Face.BBoxList : public global.SystemIDisposable , public global.SystemCollections.IEnumerable , public global::SystemCollections::Generic::IEnumerable< BBox >

Public Functions

inline void Dispose()

Gracefully destroy the object and free memory.

BBoxListEnumerator : public global.SystemCollections.IEnumerator , public global::SystemCollections::Generic::IEnumerator< BBox >

Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified.

This has been done for changes in the size of the collection but not when one of the elements of the collection is modified as it is a bit tricky to detect unmanaged code that modifies the collection under our feet.

List of BBox objects.
namespace OneML
namespace Face
Landmark5Array : public global.SystemIDisposable , public global.SystemCollections.IEnumerable , public global::SystemCollections::Generic::IEnumerable< float >
Landmark5ArrayEnumerator : public global.SystemCollections.IEnumerator , public global::SystemCollections::Generic::IEnumerator< float >
Array containing 5 floating point numbers.
namespace OneML
namespace Face
Landmark5 : public global.SystemIDisposable
Struct of landmarks containing a Landmark5Array of 5 x points and a Landmark5Array of 5 y points.
namespace OneML
namespace Face
Landmark5List : public global.SystemIDisposable , public global.SystemCollections.IEnumerable , public global::SystemCollections::Generic::IEnumerable< Landmark5 >
Landmark5ListEnumerator : public global.SystemCollections.IEnumerator , public global::SystemCollections::Generic::IEnumerator< Landmark5 >
List of Landmark5 objects.

Warning

doxygenfile: Cannot find file “face/oneml/Landmark106Array.cs

Array containing 106 floating point numbers.

Warning

doxygenfile: Cannot find file “face/oneml/Landmark106.cs

Struct of landmarks containing a Landmark106Array of 106 x points and a Landmark106Array of 106 y points.
namespace OneML
namespace Face
namespace OneML
namespace Face
FacePoseList : public global.SystemIDisposable , public global.SystemCollections.IEnumerable , public global::SystemCollections::Generic::IEnumerable< FacePose >
FacePoseListEnumerator : public global.SystemCollections.IEnumerator , public global::SystemCollections::Generic::IEnumerator< FacePose >
List of FacePose objects.
OneML.Face.Embedding : public global.SystemIDisposable , public global.SystemCollections.IEnumerable , public global::SystemCollections::Generic::IEnumerable< float >

Public Functions

inline void Dispose()

Gracefully destroy the object and free memory.

EmbeddingEnumerator : public global.SystemCollections.IEnumerator , public global::SystemCollections::Generic::IEnumerator< float >

Note that the IEnumerator documentation requires an InvalidOperationException to be thrown whenever the collection is modified.

This has been done for changes in the size of the collection but not when one of the elements of the collection is modified as it is a bit tricky to detect unmanaged code that modifies the collection under our feet.

namespace OneML
namespace Face
FloatList : public global.SystemIDisposable , public global.SystemCollections.IEnumerable , public global::SystemCollections::Generic::IList< float >
FloatListEnumerator : public global.SystemCollections.IEnumerator , public global::SystemCollections::Generic::IEnumerator< float >
List of float as detection scores.