Updated Using a Custom TensorFlow Model with Blocks (markdown)
@ -29,5 +29,11 @@ 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>
|
<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
|
||||||
|
Click on the "Blocks" tab at the top of the screen to navigate to the Blocks Programming page. Click on the Create New Op Mode Button to display the Create New Op Mode dialog box. Specify a name for your new op mode. Select "ConceptTensorFlowObjectDetectionCustomModel" as the sample op mode that will be used as a template for your new op mode. Note that if you do not have a webcam configured for your Robot Controller, the dialog box might display a warning message. You can ignore this warning message. Press "OK" to create your new op mode.
|
||||||
|
|
||||||
|
<p align="center">[[/images/Using-a-Custom-TensorFlow-Model-with-Blocks/createNewOpMode.png]]<br/>Use "ConceptTensorFlowObjectDetectionCustomModel" as the template for your new op mode.<p>
|
||||||
|
|
||||||
|
The new op mode should appear in edit mode in your browser. By default, the sample op mode assumes that you are using the smartphone camera with your robot controller. If you are using a webcam, disable the phone-specific initialization block and enable the webcam-specific block.
|
||||||
|
|
||||||
|
<p align="center">[[/images/Using-a-Custom-TensorFlow-Model-with-Blocks/initialize.png]]<br/>Use the appropriate initialization block for the type of camera used on your robot.<p>
|
||||||
|
Reference in New Issue
Block a user