Created
January 27, 2022 12:04
-
-
Save nurcinozer/87f6cc5f0bba91896423e73bd974f1ab to your computer and use it in GitHub Desktop.
This file contains 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
private MLImageClassificationAnalyzer createImageAnalyzer() { | |
MLLocalClassificationAnalyzerSetting setting = | |
new MLLocalClassificationAnalyzerSetting.Factory() | |
.setMinAcceptablePossibility(0.8f) // Higher min acceptable possibility results in higher accuracy in classification results. | |
.create(); | |
return MLAnalyzerFactory.getInstance().getLocalImageClassificationAnalyzer(setting); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment