Updated Using a Custom TensorFlow Model with Java (markdown)

FTC Engineering
2020-10-28 18:51:48 -04:00
parent 5900a5b8d3
commit 2ab8ca0f11

@ -53,7 +53,7 @@ Before you can run your op mode, you must first make sure you have a valid Vufor
" -- YOUR NEW VUFORIA KEY GOES HERE --- ";
```
If you have completed the previous Java TensorFlow tutorial, then you probably already have an existing op mode that is based on the "ConceptTensorFlowObjectDetection" sample. You should change the name of your current op mode to avoid a "collision" with this other op mode.
If you have completed the [previous Java TensorFlow tutorial](Java-Sample-TensorFlow-Object-Detection-Op-Mode), then you probably already have an existing op mode that is based on the "ConceptTensorFlowObjectDetection" sample. You should change the name of your current op mode to avoid a "collision" with this other op mode.
Also, by default the op mode is disabled. You should comment out the "@Disabled" annotation to enable your newly created op mode.
Locate the @TeleOp and @Disabled annotations in your op mode and modify the code so it looks like the following,