Skip to content

๐Ÿ†2022๋…„ 1ํ•™๊ธฐ ์†Œํ”„ํŠธ์›จ์–ด ์บก์Šคํ†ค๋””์ž์ธ ์ตœ์šฐ์ˆ˜์ƒ 1์œ„

Notifications You must be signed in to change notification settings

Sehee-Lee-01/capstone-2022-10

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

์บก์Šคํ†ค๋””์ž์ธ 10ํŒ€ README.md

๏ผŠ ์ฝ”๋“œ๋Š” ์œ„์ชฝ branch๋ฅผ ์ฐธ๊ณ ํ•ด์ฃผ์„ธ์š”!

Image

๐Ÿ“ ํ”„๋กœ์ ํŠธ ์†Œ๊ฐœ

How Cook : ์žฌ๋ฃŒ ์ด๋ฏธ์ง€ ์ธ์‹์„ ํ†ตํ•œ ๋ ˆ์‹œํ”ผ ์ถ”์ฒœ ์„œ๋น„์Šค

์ตœ๊ทผ ์ฝ”๋กœ๋‚˜19 ํŽœ๋ฐ๋ฏน ์ดํ›„๋กœ ์‚ฌ๋žŒ๋“ค์€ ๊ฐ€์ • ๋‚ด์—์„œ ์ง์ ‘ ์š”๋ฆฌ๋ฅผ ํ•˜๊ณ  ์‹ถ์–ดํ•˜๋Š” ์š•๊ตฌ๊ฐ€ ๋Š˜์–ด๋‚˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ํ•˜์ง€๋งŒ 1์ธ๊ฐ€๊ตฌ๋Š” ๋ณดํ†ต ๊ฐ€์ • ๋‚ด์—์„œ ํ˜ผ์ž ๋จธ๋ฌด๋ฅด๋Š” ๊ฒฝ์šฐ๊ฐ€ ๋งŽ๊ธฐ ๋•Œ๋ฌธ์— ๊ฑด๊ฐ•ํ•œ ์‹๋ฌธํ™”์— ๋Œ€ํ•œ ๊ต๋ฅ˜ ๋ฐ ์ ‘๊ทผ์„ฑ์ด ๋‚ฎ์€ ์ƒํ™ฉ์ž…๋‹ˆ๋‹ค. ์ด์— ๋Œ€ํ•œ ๋ฌธ์ œ๋ฅผ ์˜์‹ํ•˜๊ฒŒ ๋˜์–ด ๋ณธ ํ”„๋กœ์ ํŠธ๋Š” ์˜ˆ์ƒ ์ˆ˜์š”์ธต์ธ 1์ธ ๊ฐ€๊ตฌ๊ฐ€ ์ข€ ๋” ์‰ฝ๊ฒŒ ๊ฑด๊ฐ•ํ•œ ์‹๋ฌธํ™”์— ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ๋„๋ก ๋„์™€์ฃผ๋Š” ํ”Œ๋žซํผ์„ ๊ธฐํšํ•˜๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด๋ฏธ์ง€ ์† ์žฌ๋ฃŒ ์ธ์‹์„ ๊ธฐ๋ฐ˜์œผ๋กœ ๋ ˆ์‹œํ”ผ๋ฅผ ๊ฒ€์ƒ‰ํ•ด์ฃผ๋Š” ๊ธฐ๋Šฅ๊ณผ ๋ ˆ์‹œํ”ผ๋ฅผ ์ถ”์ฒœํ•ด์ฃผ๋Š” ๊ธฐ๋Šฅ์„ ๊ตฌํ˜„ํ•˜๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค. ๋˜ํ•œ ์ด๋Ÿฌํ•œ ๋ ˆ์‹œํ”ผ๋ฅผ ๊ณต์œ ํ•  ์ˆ˜ ์žˆ๋„๋ก ๊ณต์œ  ์ปค๋ฎค๋‹ˆํ‹ฐ๋ฅผ ๊ตฌํ˜„ํ•˜๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ด ์„œ๋น„์Šค๋ฅผ ํ†ตํ•ด 1์ธ ๊ฐ€๊ตฌ ๋ฐ ๊ฐ€์ • ๋‚ด์—์„œ ์‚ฌ์ง„ ์ดฌ์˜ ํ•œ ๋ฒˆ์œผ๋กœ ๊ฑด๊ฐ•ํ•œ ์‹๋ฌธํ™”์— ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ๋Š” ํ™˜๊ฒฝ์„ ๊ตฌํ˜„ํ•˜๊ณ ์ž ํ•ฉ๋‹ˆ๋‹ค.

๐Ÿ“ Project Abstract

How Cook : Recipe recommendation service through material image recognition

Since the recent COVID-19 pandemic, people have a growing desire to cook at home. However, since single-person households usually stay alone in the home, exchanges and access to healthy food culture are low. Being conscious of this problem, this project came to plan a platform that helps single-person households, the expected demand group, to more easily access healthy food culture. We want to implement a function that searches for a recipe based on the recognition of ingredients in an image and a function that recommends a recipe. We've also implemented a sharing community to help you share these recipes. Through this service, we want to create an environment where single-person households and other households can access healthy food culture with just one photo shoot.

๐Ÿ’ป ์†Œ๊ฐœ ์ž๋ฃŒ

๐ŸŽฅํ”„๋กœ์ ํŠธ ์†Œ๊ฐœ ๋™์˜์ƒ

10-.-.mp4

๐ŸŽฅํ”„๋กœ์ ํŠธ ์‹œ์—ฐ ๋™์˜์ƒ

10-.mp4

๐Ÿ‘จโ€๐Ÿณ ํŒ€ ์†Œ๊ฐœ ๋ฐ ์—ญํ• 

  1. ๐Ÿ‘ฉ ๊ฐ•์ง€์ˆ˜

    • Role: ์žฌ๋ฃŒ ์ด๋ฏธ์ง€, ๋ ˆ์‹œํ”ผ ํฌ๋กค๋ง ๋ฐ ๋ผ๋ฒจ๋ง, Frontend
    • Student ID: ****3460
    • Email: [email protected]
    • Github: @kjsoo-1010
  2. ๐Ÿ‘จ ๋ฐ•์ค€์šฉ

    • Role: ์žฌ๋ฃŒ ์ด๋ฏธ์ง€ ๋ฐ์ดํ„ฐ ๊ตฌ์ถ•, ์ด๋ฏธ์ง€, ๋ฌธ์ž ์ธ์‹ ๋ชจ๋ธ ํ•™์Šต ๋ฐ ์ด๋ฏธ์ง€ ์ „์ฒ˜๋ฆฌ
    • Student ID: ****5298
    • Email: [email protected]
    • Github:@junyong1111
  3. ๐Ÿ‘จ ์ด์›์ฃผ

  4. ๐Ÿ‘ฉ ์ด์„ธํฌ

    • Role: Frontend, Backend, ์ธ๊ณต์ง€๋Šฅ ๋ชจ๋ธ ์„œ๋ฒ„ ๊ตฌ์ถ•
    • Student ID: ****1987
    • Email: [email protected]
    • Github: @Sehee-Lee-01

๐Ÿ”Ž ์‚ฌ์šฉ ํ™˜๊ฒฝ ์„ค์ • ๋ฐ ์‹œ์ž‘ํ•˜๊ธฐ

๐Ÿ›  Frontend

yarn package ์„ค์น˜

  • yarn ์„ค์น˜ ํ›„ ์ง„ํ–‰
  • package.json ํŒจํ‚ค์ง€ ์„ค์น˜
yarn install

๋กœ์ปฌ ํ™˜๊ฒฝ ์‹คํ–‰

yarn start
๐Ÿ›  Backend

yarn package ์„ค์น˜

  • yarn ์„ค์น˜ ํ›„ ์ง„ํ–‰
  • package.json ํŒจํ‚ค์ง€ ์„ค์น˜
yarn install

API ํ…Œ์ŠคํŠธ ํ™˜๊ฒฝ ์„ค์ •

### ์œ ์ € ์ •๋ณด ํ™•์ธ  
POST http://localhost:4000/users HTTP/1.1
Content-Type: application/json

{
    "userId": 1,
    ...
}

DB(MySQL) ์—ฐ๋™ ์„ค์ • ๋ฐฉ๋ฒ•

  • MySQL ์„ค์น˜ ํ›„ ์„œ๋ฒ„ ์—ฐ๋™
  • root์— .env ํ™˜๊ฒฝ๋ณ€์ˆ˜ ํŒŒ์ผ ์ƒ์„ฑ ํ›„ ์ž‘์„ฑ
DB_LOCAL_HOST = localhost # IP address
DB_LOCAL_PORT = 3306 # Port number
DB_LOCAL_USERNAME = root # Username
DB_LOCAL_PASSWORD = 0000 # Password of DB
DB_LOCAL_DATABASENAME = capstone # DB name

๋กœ์ปฌ ํ™˜๊ฒฝ ์‹คํ–‰

yarn local
๐Ÿ›  Data Modeling

ํ•„์ˆ˜ ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์„ค์น˜

1. YOLO ์„ค์น˜

pip install opencv-python
pip install numpy as np
pip install cmake
pip install dlib
https://drive.google.com/file/d/1ol3yLt2zao2ZQB_t4DSbmOU-BWUag6LV/view?usp=sharing  
	<ํ•ด๋‹น ๋‹ค์šด๋กœ๋“œ ํŒŒ์ผ์„ YOLO/weights/ ๊ฒฝ๋กœ์— ๋„ฃ์–ด์ฃผ์„ธ์š”>

2. OCR ์„ค์น˜

sudo apt install tesseract-ocr 
sudo apt-get install tesseract-ocr-kor
pip install opencv-python
pip install pytesseract

3. ๋กœ์ปฌ ํ™˜๊ฒฝ ์‹คํ–‰

python3 OCR.py  -> OCR ๋ชจ๋ธ ์‹คํ–‰
python3 YOLOv3.py -> YOLO ๋ชจ๋ธ ์‹คํ–‰

About

๐Ÿ†2022๋…„ 1ํ•™๊ธฐ ์†Œํ”„ํŠธ์›จ์–ด ์บก์Šคํ†ค๋””์ž์ธ ์ตœ์šฐ์ˆ˜์ƒ 1์œ„

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published