Updated Using a Custom TensorFlow Model with Java (markdown)

FTC Engineering
2020-10-28 18:36:45 -04:00
parent e00ce23b22
commit bf39192378

@ -30,10 +30,10 @@ Press the "Upload" button to upload the file to the Robot Controller. The words
<p align="center">[[/images/Using-a-Custom-TensorFlow-Model-with-Blocks/upload.png]]<br/>Press the "Upload" button to upload the file to the Robot Controller.<p>
### Creating the Op Mode
Note: the process for creating the op mode is identical (except for the name) to the process described in [this tutorial](Java-Sample-TensorFlow-Object-Detection-Op-Mode). The steps are repeated here for convenience.
You can use the sample "ConceptTensorFlowObjectDetection" as a template to create your own Java op mode that uses the TensorFlow technology to "look for" any game elements, and determine the relative location of any identified elements. We will then modify this sample to use the inference model we uploaded to the robot controller.
Note: the process for creating the op mode is identical (except for the name) to the process described in [this tutorial](Java-Sample-TensorFlow-Object-Detection-Op-Mode). The steps are repeated here for convenience.
* If you are using a REV Control Hub with an externally connected webcam as your Robot Controller, select "ConceptTensorFlowObjectDetectionWebcam" as the sample op mode from the dropdown list in the New File dialog box.
* If you are using an Android smartphone as your Robot Controller, select "ConceptTensorFlowObjectDetection" as the sample op mode from the dropdown list in the New File dialog box.