Changes between Version 20 and Version 21 of TPU
- Timestamp:
- 06/26/2020 05:40:58 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TPU
v20 v21 51 51 52 52 53 = Getting started with the Coral Edge TPU 53 = Getting started with the Coral Edge TPU on Gateworks SBCs 54 54 55 55 To begin you will need: 56 56 * A workstation with Linux natively installed. 57 * A Newport SBC— Coral requires AARCH64.57 * A [https://www.gateworks.com/products/ Gateworks Newport SBC] — Coral requires AARCH64. 58 58 * A Coral EDGE TPU, our testing was done with the mPCI-e form factor model. 59 59 * !Network/Internet connection. … … 71 71 72 72 == Building and installing the Gasket and Apex modules 73 Video: https://youtu.be/PcrGUiuNBcg73 Gateworks Video detailing the process: https://youtu.be/PcrGUiuNBcg 74 74 75 75 The source code for the modules can be downloaded here as a tar.gz file: … … 135 135 == Installing the TPU runtime 136 136 137 Install Curl137 Install the util curl 138 138 {{{#!bash 139 139 apt-get install curl -y … … 172 172 173 173 174 == Download Classification example, test an inference operation174 == Standard Demo: Downloading Classification example & Testing an Inference 175 175 176 176 Create a place for the Coral examples to reside. … … 187 187 bash install_requirements.sh 188 188 }}} 189 Run the classif cation demo.189 Run the classification demo, passing in a image of a parrot, as shown with the last argument. 190 190 {{{#!bash 191 191 python3 classify_image.py \ … … 195 195 }}} 196 196 197 == Gstreamer example197 == Advanced Demo: Video Webcam Detection with GStreamer Example 198 198 199 199 This example will use a USB webcam and the TPU to identify objects presented to the webcam. The video output and overlay will be streamed to a location on the network for viewing. … … 227 227 * The workstation being used in this example has an IP address of 172.24.24.93, the SBC is using an IP which is on the same subnet. 228 228 229 Launch Gstreamer on your workstation .229 Launch Gstreamer on your workstation to receive the video from the Gateworks SBC: 230 230 {{{#!bash 231 231 gst-launch-1.0 tcpserversrc host=0.0.0.0 port=9001 ! jpegdec ! videoconvert ! autovideosink sync=false