There is vicious circle at cafeteria
Overordering -> Over-food production -> A lot of leftover -> Excessive Food Waste Disposal Costs
The number of people who eat dinner on weekends is greatly reduced, while food production remains unchanged.
This leads to a lot of leftovers.
However, the chef cooked according to the number of people scheduled for the official dinner.
To solve this problem, let's find out how many people are actually going to eat dinner using DeepLearning.
Predictions will be effective if only certain patterns are found in cafeteria
This program consists of several services that interact each other
- Docker Engine version >= 19.03
- Docker Compose version >= 1.27.4
- Install docker follow below posts depends on your os
- Docker Compose Installation (Don't need at already installed)
$ cd scripts
$ ./install_docker-compse.sh
- Support HTML5 MediaDevices API
- common
- Flask
- SQLAlchemy
- attendance_check
- JsQRScanner : qr scanner on website
- Mysql ( >= 8.0)
- HA Proxy
- Read / Write Splitting : Before query switch uri that binds SQLAlchemy Object
- with adhorn's script
1-1. Compose Database ( at INFRA_FRIDAY )
IF you use wsl or codespace, checkout branch to wsl or codespace
$ cd database
$ docker-compose up -d --build
1-2. Compose Database ( at Web_FRIDAY )
$ cd scripts
$ ./run_infra.sh
- Run Attendance Check app ( at Web_FRIDAY )
$ cd attendance_check
$ docker-compose up -d --build
Check the actual number of people who ate.
First, We need to give them a QR Code that include there id
and then bring device that has camera and follow below steps
This service auto check time on device, so you have to check the device time is correct
-
go to Endpoint (
url/qr/scan
) at Web Browser -
Show QR at rear camera
-
wait 5~10 sec, check your id on screen
- Pyo Sehun ([email protected]), Github Id: kimpyo9357
- Jeong Deokho ([email protected]), Github Id: l0vey0u
This software is licensed under the Apache 2 license, quoted below.
Copyright 2020. Team IRIS
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
JsQRScanner
https://github.com/jbialobr/JsQRScanner
Apache License 2.0