You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: 1-getting-started/lessons/1-introduction-to-iot/virtual-device.md
+5-4
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ One of the powerful features of Python is the ability to install [pip packages](
34
34
35
35
By default when you install a package it is available everywhere on your computer, and this can lead to problems with package versions - such as one application depending on one version of a package that breaks when you install a new version for a different application. To work around this problem, you can use a [Python virtual environment](https://docs.python.org/3/library/venv.html), essentially a copy of Python in a dedicated folder, and when you install pip packages they get installed just to that folder.
36
36
37
-
#### Task
37
+
#### Task - configure a Python virtual environment
38
38
39
39
Configure a Python virtual environment and install the pip packages for CounterFit.
40
40
@@ -96,7 +96,7 @@ Configure a Python virtual environment and install the pip packages for CounterF
96
96
97
97
Once the Python virtual environment is ready, you can write the code for the 'Hello World' application
98
98
99
-
#### Task
99
+
#### Task - write the code
100
100
101
101
Create a Python application to print `"Hello World"` to the console.
102
102
@@ -119,7 +119,8 @@ Create a Python application to print `"Hello World"` to the console.
119
119
```sh
120
120
code .
121
121
```
122
-
> 💁 If your terminal returns `command not found` on macOS it means VS Code has not been added to PATH, you can [add VS Code to PATH](https://code.visualstudio.com/docs/setup/mac#_launching-from-the-command-line) and run the command afterwards. VS Code is installed to PATH by default on Windows and Linux.
122
+
123
+
> 💁 If your terminal returns `command not found` on macOS it means VS Code has not been added to PATH, you can add VS Code to PATH by following the instructions in the [Launching from the command line section of the VS Code documentation](https://code.visualstudio.com/docs/setup/mac?WT.mc_id=academic-17441-jabenn#_launching-from-the-command-line) and run the command afterwards. VS Code is installed to PATH by default on Windows and Linux.
123
124
124
125
1. When VS Code launches, it will activate the Python virtual environment. You will see this in the bottom status bar:
125
126
@@ -171,7 +172,7 @@ Create a Python application to print `"Hello World"` to the console.
171
172
172
173
As a second 'Hello World' step, you will run the CounterFit app and connect your code to it. This is the virtual equivalent of plugging in some IoT hardware to a dev kit.
173
174
174
-
#### Task
175
+
#### Task - connect the 'hardware'
175
176
176
177
1. From the VS Code terminal, launch the CounterFit app with the following command:
Copy file name to clipboardexpand all lines: 3-transport/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ IoT can help with this supply chain by tracking the food in transit - ensuring d
10
10
11
11
In these 4 lessons, you'll learn how to apply the Internet of Things to improve the supply chain by monitoring food as it is loaded onto a (virtual) truck, which is tracked as it moves to it's destination. You will learn about GPS tracking, how to store and visualize GPS data, and how to be alerted when a truck arrives at its destination.
12
12
13
-
> 💁 These lessons will use some cloud resources. If you don't complete all the lessons in this project, make sure you follow the [Clean up your project](lessons/4-keep-your-plant-secure/README.md#clean-up-your-project) step in [lesson 4](lessons/6-keep-your-plant-secure/README.md).
13
+
> 💁 These lessons will use some cloud resources. If you don't complete all the lessons in this project, make sure you [Clean up your project](../clean-up.md).
# Manufacturing and processing - using IoT to improve the processing of food
2
+
3
+
Once food reaches a central hub or processing plant, it isn't always just shipped out to supermarkets. A lot of the time the food goes through a number of processing steps, such as sorting by quality. This is a process that used to be manual - it would start in the field when pickers would only pick ripe fruit, then at the factory the fruit would be ride a conveyer belt and employees would manually remove any bruised or rotten fruit. Having picked and sorted strawberries myself as a summer job during school, I can testify that this isn't a fun job.
4
+
5
+
More modern setups rely on IoT for sorting. Some of the earliest devices like the sorters from [Weco](https://wecotek.com) use optical sensors to detect the quality of produce, rejecting green tomatoes for example. These can be deployed in harvesters on the farm itself, or in processing plants.
6
+
7
+
As advances happen in Artificial Intelligence (AI) and Machine Learning (ML), these machines can become more advanced, using ML models trained to distinguish between fruit and foreign objects such as rocks, dirt or insects. These models can also be trained to detect fruit quality, not just bruised fruit but early detection of disease or other crop problems.
8
+
9
+
> 🎓 The term *ML model* refers to the output of training machine learning software on a set of data. For example, you can train a ML model to distinguish between ripe and unripe tomatoes, then use the model on new images to see if the tomatoes are ripe or not.
10
+
11
+
In these 4 lessons you'll learn how to train image-based AI models to detect fruit quality, how to use these from an IoT device, and how to run these on the edge - that is on an IoT device rather than in the cloud.
12
+
13
+
> 💁 These lessons will use some cloud resources. If you don't complete all the lessons in this project, make sure you [Clean up your project](../clean-up.md).
14
+
15
+
## Topics
16
+
17
+
1.[Train a fruit quality detector](./4-manufacturing/lessons/1-train-fruit-detector/README.md)
18
+
1.[Check fruit quality from an IoT device](./4-manufacturing/lessons/2-check-fruit-from-device/README.md)
19
+
1.[Run your fruit detector on the edge](./4-manufacturing/lessons/3-run-fruit-detector-edge/README.md)
20
+
1.[Trigger fruit quality detection from a sensor](./4-manufacturing/lessons/4-trigger-fruit-detector/README.md)
21
+
22
+
## Credits
23
+
24
+
All the lessons were written with ♥️ by [Jim Bennett](https://GitHub.com/JimBobBennett)
0 commit comments