Edge Computing System for smart shopping cart system
For each device, only need to download the corresponding directory
Outline:
├── src
│ ├── cloud
│ │ ├── log
│ │ ├── data
│ │ └── Cloud_server.py
│ │ └── requirements.txt
│ └── fog
│ │ ├── log
│ │ ├── Fog.py
│ │ └── requirements.txt
│ └── edge
│ ├── rpi1
│ │ ├── log
│ │ ├── main.py
│ │ ├── requirements.txt
│ ├── rpi2
│ ├── log
│ ├── Edge_Client_RP2.py
│ └── requirements.txt
└── README.md
Process:
-
start cloud
python3 Cloud_server.py
-
start fog
python3 fog.py
-
start edge device
-
RP1
- Detect Person to activate system
- User inputs ID and Password and
- Cloud confirms and returns price & region info for price
- provide interactions
python3 main.py
-
RP2
- [responsible for check-out]
- wait cloud's signal
- scan shopping cart
- return list of items and count for each item
python3 Edge_Client_RP2.py
-
+++++++++++++++++++++++++ ﹞6.7 Version for submission