9-25-2023 minor edits

Westside Robotics
2023-09-25 17:26:47 -07:00
parent 5133309307
commit 81ff3401b9

@ -126,7 +126,7 @@ to this:
private static final String TFOD_MODEL_FILE = "/sdcard/FIRST/tflitemodels/CenterStage.tflite"; private static final String TFOD_MODEL_FILE = "/sdcard/FIRST/tflitemodels/CenterStage.tflite";
``` ```
Later, you can change this filename to the actual name of your custom TFOD model such as `myCustomModel.tflite`. Here we are using the default (white Pixel) model just downloaded. Later, you can change this filename to the actual name of your custom TFOD model. Here we are using the default (white Pixel) model just downloaded.
========= =========
@ -178,10 +178,10 @@ Uncomment two Builder lines, circled above in green:
These Builder settings tell the TFOD Processor which model and labels to use for evaluating camera frames. These Builder settings tell the TFOD Processor which model and labels to use for evaluating camera frames.
<i>**That's it!**</i> You are ready to test this Sample OpMode.
<i>**Android Studio** users should instead uncomment the line `.setModelAssetName(TFOD_MODEL_ASSET)`.</i> <i>**Android Studio** users should instead uncomment the line `.setModelAssetName(TFOD_MODEL_ASSET)`.</i>
<i>**That's it!**</i> You are ready to test this Sample OpMode.
<p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/TFOD-Sample-OpMode-with-Java-Builder]]</i><p> <p align="right"><i>[[Return to Top|https://github.com/FIRST-Tech-Challenge/FtcRobotController/wiki/TFOD-Sample-OpMode-with-Java-Builder]]</i><p>
## Preliminary Testing ## Preliminary Testing
@ -226,7 +226,7 @@ For a larger view, right-click the image to open in a new browser tab.
During the INIT stage (before DS START is touched), this OpMode calls a **method to initialize** the TFOD Processor and the FTC VisionPortal. After DS START is touched, the OpMode runs a continuous loop, calling a **method to display telemetry** about any TFOD recognitions. The OpMode also contains three optional features to remind teams about **CPU resource management**, useful in vision processing. During the INIT stage (before DS START is touched), this OpMode calls a **method to initialize** the TFOD Processor and the FTC VisionPortal. After DS START is touched, the OpMode runs a continuous loop, calling a **method to display telemetry** about any TFOD recognitions. The OpMode also contains three optional features to remind teams about **CPU resource management**, useful in vision processing.
You've already seen the first part of the method `initTfod()` which uses a streamlined, or "chained", sequence of builder commands to create the TFOD Processor. You've already seen the first part of the method `initTfod()` which uses a streamlined, or "chained", sequence of Builder commands to create the TFOD Processor.
The second part of that method uses regular, non-chained, Builder commands to create the VisionPortal. The second part of that method uses regular, non-chained, Builder commands to create the VisionPortal.