Updated Using a TensorFlow Pretrained Model to Detect Everyday Objects (markdown)

FTC Engineering
2020-10-29 21:00:55 -04:00
parent 2567883ce0
commit c3f3528aa1

@ -209,10 +209,12 @@ Modify the initTfod() method to load the inference model from a file (rather tha
```
### Running the Op Mode
Once you have made the changes to the sample op mode, rebuild the OnBot Java op modes and run the op mode to test it. The robot controller should now be able to detect everyday objects such as a cell phone, a teddy bear, a clock, a computer mouse, and a keyboard and will draw boundary boxes around recognized objects on the robot controller and display label information on the driver station (using telemetry).
Once you have made the changes to the sample op mode, rebuild the OnBot Java op modes and run the op mode to test it. The robot controller should now be able to detect everyday objects such as a cell phone, a teddy bear, a clock, a computer mouse, and a keyboard and will draw boundary boxes around recognized objects on the robot controller.
<p align="center">[[/images/Using-a-TensorFlow-Pretrained-Model-to-Detect-Everyday-Objects/tfodRC.png]]<br/>TensorFlow will recognize everyday objects like a cell phone.<p>
The op mode will also display label information on the driver station (using telemetry) for the objects that it recognizes in its field of view.
<p align="center">[[/images/Using-a-TensorFlow-Pretrained-Model-to-Detect-Everyday-Objects/tfodDS.png]]<br/>The op mode will display label information for recognized objects on the driver station using telemetry.<p>
The example op mode (except for the Vuforia license key) is included below for reference: