Skip to content

Instantly share code, notes, and snippets.

@shahdghorsi
Last active September 14, 2019 13:37
Show Gist options
  • Save shahdghorsi/f32acf84351fb2623fcc4317a2fcb7f5 to your computer and use it in GitHub Desktop.
Save shahdghorsi/f32acf84351fb2623fcc4317a2fcb7f5 to your computer and use it in GitHub Desktop.
The Detector Activity
// Configuration values for the prepackaged SSD model.
private static final int TF_OD_API_INPUT_SIZE = 300;
private static final boolean TF_OD_API_IS_QUANTIZED = false;
private static final String TF_OD_API_MODEL_FILE = "detect.tflite";
private static final String TF_OD_API_LABELS_FILE = "file:///android_asset/labelmap.txt";
private static final DetectorMode MODE = DetectorMode.TF_OD_API;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment