Convert input BufferedImage to NDArray of input shape Note: Caller is responsible to dispose the NDArray returned by this method after the use.
Convert input BufferedImage to NDArray of input shape Note: Caller is responsible to dispose the NDArray returned by this method after the use.
BufferedImage to get pixels from
Input shape; for example for resnet it is (3,224,224). Should be same as inputDescriptor shape.
NDArray pixels array with shape (3, 224, 224) in CHW format
Implicitly convert a Scala ObjectDetector to a Java ObjectDetector
Implicitly convert a Scala ObjectDetector to a Java ObjectDetector
The Scala ObjectDetector
The Java ObjectDetector
Loads an input images from file
Loads an input images from file
Path of single input image
BufferedImage Buffered image
Loads a batch of images from a folder
Loads a batch of images from a folder
Path to a folder of images
List of buffered images
Reshape the input image to a new shape
Reshape the input image to a new shape
Input image
New width for rescaling
New height for rescaling
Rescaled BufferedImage
Implicitly converts a Java ObjectDetector to a Scala ObjectDetector
Implicitly converts a Java ObjectDetector to a Scala ObjectDetector
The Java ObjectDetector
The Scala ObjectDetector