Java Alpr Structures¶
-
class
org::sertiscorp::oneml::alpr::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::alpr::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,widthanddepth.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::alpr::BBox::getTop()¶
Get the top coordinate of the BBox.
-
inline float
org::sertiscorp::oneml::alpr::BBox::getBottom()¶
Get the bottom coordinate of the BBox.
-
inline float
org::sertiscorp::oneml::alpr::BBox::getRight()¶
Get the right coordinate of the BBox.
-
inline float
org::sertiscorp::oneml::alpr::BBox::getLeft()¶
Get the left coordinate of the BBox.
-
inline void
org::sertiscorp::oneml::alpr::BBox::setTop(float value)¶
Set the top coordinate of the BBox.
-
inline void
org::sertiscorp::oneml::alpr::BBox::setBottom(float value)¶
Set the bottom coordinate of the BBox.
-
inline void
org::sertiscorp::oneml::alpr::BBox::setLeft(float value)¶
Set left top coordinate of the BBox.
-
inline void
org::sertiscorp::oneml::alpr::BBox::setRight(float value)¶
Set the right coordinate of the BBox.
-
org::sertiscorp::oneml::alpr::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.