mirror of
https://github.com/TimeCrafters/FTC_2022
synced 2025-12-15 15:32:35 +00:00
Created a New Custom Object and implemented it inside of the External Example for the Tensor Flow lite model.
This commit is contained in:
@@ -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"
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
BIN
TeamCode/src/main/ml/22-23-Custom-Images-V2.tflite
Normal file
BIN
TeamCode/src/main/ml/22-23-Custom-Images-V2.tflite
Normal file
Binary file not shown.
Reference in New Issue
Block a user