org.apache.clojure-mxnet.infer
AClassifier
protocol
members
classify
(classify wrapped-classifier inputs)(classify wrapped-classifier inputs topk)
classify-with-ndarray
(classify-with-ndarray wrapped-classifier inputs)(classify-with-ndarray wrapped-classifier inputs topk)
AImageClassifier
protocol
members
classify-image
(classify-image wrapped-image-classifier image)(classify-image wrapped-image-classifier image topk)(classify-image wrapped-image-classifier image topk dtype)
classify-image-batch
(classify-image-batch wrapped-image-classifier images)(classify-image-batch wrapped-image-classifier images topk)(classify-image-batch wrapped-image-classifier images topk dtype)
AInferenceFactory
protocol
members
create-classifier
(create-classifier factory)(create-classifier factory opts)
create-image-classifier
(create-image-classifier factory)(create-image-classifier factory opts)
create-object-detector
(create-object-detector factory)(create-object-detector factory opts)
create-predictor
(create-predictor factory)(create-predictor factory opts)
AObjectDetector
protocol
members
detect-objects
(detect-objects wrapped-detector image)(detect-objects wrapped-detector image topk)
detect-objects-batch
(detect-objects-batch wrapped-detector images)(detect-objects-batch wrapped-detector images topk)
detect-objects-with-ndarrays
(detect-objects-with-ndarrays wrapped-detector input-arrays)(detect-objects-with-ndarrays wrapped-detector input-arrays topk)
APredictor
protocol
members
predict
(predict wrapped-predictor inputs)
predict-with-ndarray
(predict-with-ndarray wrapped-predictor input-arrays)
buffered-image-to-pixels
(buffered-image-to-pixels image input-shape-vec)(buffered-image-to-pixels image input-shape-vec dtype)
Convert input BufferedImage to NDArray of input shape
convert-descriptors
(convert-descriptors descriptors)
load-image-from-file
(load-image-from-file image-path)
Loads an input image given a file name
load-image-paths
(load-image-paths image-paths)
Loads images from a list of file names
model-factory
(model-factory model-path-prefix input-descriptors)
Creates a factory that can be used to instantiate an image classifier
predictor or object detector
reshape-image
(reshape-image image width height)
Reshape an image to a new shape