Created a New Custom Object and implemented it inside of the External Example for the Tensor Flow lite model.

This commit is contained in:
SpencerPiha
2022-10-15 19:06:27 -05:00
parent 8f6902bcdc
commit edee7d5b90
2 changed files with 5 additions and 8 deletions

View File

@@ -60,16 +60,13 @@ public class ConceptTensorFlowObjectDetectionWebcam extends LinearOpMode {
* has been downloaded to the Robot Controller's SD FLASH memory, it must to be loaded using loadModelFromFile()
* Here we assume it's an Asset. Also see method initTfod() below .
*/
// private static final String TFOD_MODEL_ASSET = "model_20221009_154335.tflite";
private static final String TFOD_MODEL_ASSET = "PowerPlay.tflite";
// private static final String TFOD_MODEL_FILE = "/sdcard/FIRST/tflitemodels/CustomTeamModel.tflite";
// private static final String TFOD_MODEL_ASSET = "PowerPlay.tflite";
private static final String TFOD_MODEL_ASSET = "22-23-Custom-Images-V2.tflite";
private static final String[] LABELS = {
"1 Bolt",
"2 Bulb",
"3 Panel"
"Wrench 1",
"Screw 2",
"Screw Driver 3"
};
/*