- Team : Open Minder
- Members : Heyju Jun, Juyeon Lee, Haram Lee, Minhye Shin
- You can see demo video on YOUTUBE : Everyone's Meal | Google DSC Solution Challenge 2021
git clone https://github.com/dsc-sookmyung/2021-OpenMinder.git
cd /path/to/2021-OpenMinder/object_detection_api/
- In anaconda prompt
conda create -n "test" python=3.7
conda activate test
- or in local environment
python -m venv myproject
cd /venvs/myproject/Scripts
activate
- Download using requirements.txt
pip install -r requirements.txt
- or download one by one
pip install flask
pip install flask-restful
pip install tensorflow==2.3.1
pip install pandas
pip install jsonify
pip install werkzeug
pip install pillow
- Receive the food nutrition DB API key and enter it into the file
- The Food Nutrition DB Link
{
"accesskey": [YOUR API KEY]
}
python api.py
cd /path/to/2021-OpenMinder/emeal
# in emeal/src/main/resources/application.yml
# Make GCP SQL instance and enter the following items
spring:
datasource:
hikari:
jdbc-url: [YOUR DB URL]
username: [YOUR DB USERNAME]
password: [YOUR DB PASSWORD]
driver-class-name: com.mysql.cj.jdbc.Driver
servlet:
multipart:
enabled: true
file-size-threshold: 2KB
max-file-size: 200MB
max-request-size: 215MB
location: C:/Temp
mybatis:
type-aliases-package: openminder.emeal.mapper
mapper-locations: mybatis/mapper/**/*.xml
file:
upload_dir: ./static/upload/avatar
upload_picture_dir: ./static/upload/picture
cd /path/to/2021-OpenMinder/emeal/src/main/frontend/
export const LOCAL = 'http://[YOUR IP ADDRESS]:8080';
- If you don't have NDK version
21.0.6113669
in Android Studio SDK Tools, install it.
yarn install
yarn android
react-native run-android
Frontend - React Native, Redux
Backend - SpringBoot, Flask