Yolo V4Classifier
Wrapper for frozen detection models trained using the Tensorflow Object Detection API: - https://github.com/tensorflow/models/tree/master/research/object_detection where you can find the training code.
To use pretrained models in the API or convert to TF Lite models, please see docs for details: - https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md - https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/running_on_mobile_tensorflowlite.md#running-our-model-on-android
Functions
Link copied to clipboard
Link copied to clipboard
open fun create( assetManager: AssetManager, modelFile: File, labelFilename: String, isQuantized: Boolean): Classifier
Content copied to clipboard
open fun create( assetManager: AssetManager, modelFilename: String, labelFilename: String, isQuantized: Boolean): Classifier
Content copied to clipboard
Initializes a native TensorFlow session for classifying images.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun recognizeImage(bitmap: Bitmap): ArrayList<Classifier.Recognition>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard