Created
November 24, 2019 04:22
-
-
Save Lavanyagaur22/d63ddee0805d8ad9536e19f8649cd270 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var predictor: FritzVisionLabelPredictor? = null | |
val managedModel = ImageLabelManagedModelFast() | |
FritzVision.ImageLabeling.loadPredictor( | |
managedModel, | |
object : PredictorStatusListener<FritzVisionLabelPredictor> { | |
override fun onPredictorReady(p0: FritzVisionLabelPredictor?) { | |
Log.d(TAG, "Image Labeling predictor is ready") | |
predictor = p0 | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment