Skip to content

Commit 6c5de9b

Browse files
Updated documentation
Signed-off-by: sharmapulkit04 <[email protected]>
1 parent 3729c78 commit 6c5de9b

File tree

3 files changed

+22
-14
lines changed

3 files changed

+22
-14
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,12 @@ IOT releated examples need extra devices, like Raspberry and so on.
1010
|Name | Description |
1111
|---|---|
1212
| [LED-RaspBerry-Pi](led-raspberrypi/README.md) |Controlling a LED light with Raspberry Pi using KubeEdge platform
13-
|[Data Analysis @ Edge](KE-Apache-Beam-Analysis/README.md) | Analyzing data at edge by using Apache Beam and KubeEdge
13+
|[Data Analysis @ Edge](apache-beam-analysis/README.md) | Analyzing data at edge by using Apache Beam and KubeEdge
1414
| [Security@Edge](security-demo/README.md) | Security at edge using SPIRE for identity management
1515
[Bluetooth-CC2650-demo](bluetooth-CC2650-demo/README.md) |Controlling a CC2650 SensorTag bluetooth device using KubeEdge platform
16-
| [Play Music @Edge through WeChat](kubeedge-wechat-demo/README.md) | Play music at edge based on WeChat and KubeEdge
17-
| [Play Music @Edge through Web](kubeedge-web-demo/README.md) | Play music at edge based on Web and KubeEdge
18-
| [Collecting temperature @Edge](kubeedge-temperature-demo/README.md) | Collecting temperature at edge based KubeEdge
16+
| [Play Music @Edge through WeChat](wechat-demo/README.md) | Play music at edge based on WeChat and KubeEdge
17+
| [Play Music @Edge through Web](web-demo/README.md) | Play music at edge based on Web and KubeEdge
18+
| [Collecting temperature @Edge](temperature-demo/README.md) | Collecting temperature at edge based KubeEdge
1919
| [Control pseudo device counter and collect data](kubeedge-counter-demo/README.md) | Control pseudo device counter and collect data based KubeEdge
20+
[Play Music @Edge through Twitter](ke-twitter-demo/README.md)| Play music at edge based on Twitter and KubeEdge.
21+
[Control Zigbee @Edge through cloud](kubeedge-edge-ai-application/README.md) | Face detection at cloud using OpenCV and using it to control zigbee on edge using Kubeedge.

kubeedge-edge-ai-application/README.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This demo contains two general modules: AI algorithm module and a zigbee device module.
44
## Prerequisites
55
### Hardware Prerequisites
6-
1. CC2531 USB sniffer with firmware has been refreshe
6+
1. CC2531 USB sniffer with firmware been refreshed
77
<img src="./image/cc2531.jpg" width=256 height=256 />
88
2. Xiao Mi zigbee power plug ZNCZ02LM
99
<img src="./image/switch.jpg" width=256 height=256 />
@@ -15,19 +15,21 @@ This demo contains two general modules: AI algorithm module and a zigbee device
1515
## Steps to reproduce
1616
1. Clone the project
1717
2. Run KubeEdge
18-
### AI algorithm moudel
18+
### AI algorithm module
1919
#### Face recognition
20-
``` $ cd face-recong
20+
```
21+
$ cd face-recong
2122
$ docker build -t face-recon:dev
2223
$ cd ..
23-
$ kubectl apply -f faceReconDeplloyment.yaml
24+
$ kubectl apply -f faceReconDeployment.yaml
2425
```
2526
1. Calling the camera defaults to a local camera, and you can change the IP address of the camera by using `-- camera = ip:port`
2627
2. You can add the `--show` parameter to determine whether the recognition results are displayed on the display.
2728
3. When adding the `--show` parameter, you can pass in face data via the S key on the keyboard
2829
4. Copy the model to the local `/model/facenet` directory before running it
2930
#### Moving object detection
30-
``` $ cd motion detection
31+
```
32+
$ cd motion detection
3133
$ docker build -t motion-detection:dev
3234
$ cd ..
3335
$ kubectl apply -f motionDetectionDeployment.yaml
@@ -36,22 +38,26 @@ This demo contains two general modules: AI algorithm module and a zigbee device
3638
2. When a moving object appears in front of the camera, the program will record the video and save the result to the local directory /data/video
3739
### Device module
3840
#### Device & DeviceModel
39-
``` $ cd crds
41+
```
42+
$ cd crds
4043
$ kubectl apply -f devicemodel.yaml
4144
$ kubectl apply -f device.yaml
4245
```
4346
When the device is connected, you can view the results of the cloud device synchronization through the following command
44-
``` $ kubectl get device switch -oyaml -w
45-
```
47+
```
48+
$ kubectl get device switch -oyaml -w
49+
```
4650
#### zigbee2mqtt
47-
``` $ cd zigbee2mqtt
51+
```
52+
$ cd zigbee2mqtt
4853
$ docker build -t zigbee2mqtt:v1 .
4954
$ cd ..
5055
$ kubectl apply -f deployzigbee2mqtt.yaml
5156
```
5257
1. Make sure cc2531 USB Sniffer is connected to your device and there is a directory `/dev/ttyacm0`
5358
#### mapper
54-
``` $ cd mapper
59+
```
60+
$ cd mapper
5561
$ docker build -t mapper:v1 .
5662
$ kubectl apply -f deployMapper.yaml
5763
```

0 commit comments

Comments
 (0)