Updated Using a TensorFlow Pretrained Model to Detect Everyday Objects (markdown)
@ -24,8 +24,28 @@ If you do not know how to use the [Android Debug Bridge tool](https://developer.
|
||||
|
||||
If you are using an Android phone as your robot controller, then connect the phone to your laptop using a USB cable. Swipe down from the top of the phone's screen to display the menu. Look for an item that indicates the USB mode that the phone is currently in. By default, most phones will be in a charging mode.
|
||||
|
||||
Tap on the mode item in the menu to bring up an activity that will allow to switch the phone into file transfer mode.
|
||||
Tap on the Android System item in the menu to get details on the current USB mode.
|
||||
|
||||
Select the File transfer mode and the phone should now appear as a browsable storage device in your computer's Windows Explorer.
|
||||
<p align="center">[[/images/Using-a-TensorFlow-Pretrained-Model-to-Detect-Everyday-Objects/selectAndroidSystemItem.png]]<br/>Tap on the Android System item.<p>
|
||||
|
||||
Tap where it says "Tap for more options" display an activity that will allow you to switch the phone into file transfer mode.
|
||||
|
||||
<p align="center">[[/images/Using-a-TensorFlow-Pretrained-Model-to-Detect-Everyday-Objects/tapForMoreOptions.png]]<br/>Tap to display the USB mode options.<p>
|
||||
|
||||
Select the "Transfer files" mode and the phone should now appear as a browsable storage device in your computer's Windows Explorer.
|
||||
|
||||
<p align="center">[[/images/Using-a-TensorFlow-Pretrained-Model-to-Detect-Everyday-Objects/selectTransferFiles.png]]<br/>Select the "Transfer files" option.<p>
|
||||
|
||||
If you are using a REV Robotics Control Hub, you can connect the Control Hub (that is powered on by a fully charged 12V battery) to your laptop using a USB Type C cable and the Control Hub will automatically appear as a browsable storage device in your computer's Windows Explorer. You do not need to switch it to "Transfer file" mode since it is automatically always in this mode.
|
||||
|
||||
Use your Windows Explorer to locate and copy the "detect.tflite" and "labelmap.txt" files.
|
||||
|
||||
<p align="center">[[/images/Using-a-TensorFlow-Pretrained-Model-to-Detect-Everyday-Objects/copyFiles.png]]<br/>Copy the .tflite and .txt files.<p>
|
||||
|
||||
Use Windows Explorer to browse the internal shared storage of your Android device and navigate to the FIRST->tflitemodels directory. Paste the "detect.tflite" and "labelmap.txt" files to this directory.
|
||||
|
||||
<p align="center">[[/images/Using-a-TensorFlow-Pretrained-Model-to-Detect-Everyday-Objects/tfliteModelsFolder.png]]<br/>Navigate to FIRST->tflitemodels and paste the two files in this directory.<p>
|
||||
|
||||
Now the files are where we want them to be for this example.
|
||||
|
||||
|
||||
If you are using a REV Robotics Control Hub, you can connect the Control Hub (that is powered on by a fully charged 12V battery) to your laptop using a USB Type C cable and the Control Hub will appear in your file browser. Use the Windows File Explorer to copy the two files (detect.tflite and labelmap.txt) and past them to the "FIRST/tflitemodels" subdirectory.
|
||||
|
Reference in New Issue
Block a user