Showing
1 changed file
with
42 additions
and
9 deletions
| ... | @@ -2,6 +2,14 @@ | ... | @@ -2,6 +2,14 @@ |
| 2 | 2 | ||
| 3 | 얼굴인식 API를 이용하여 사용자의 감정, 성별에 적합한 맛집을 추천해주는 챗봇 서비스입니다. | 3 | 얼굴인식 API를 이용하여 사용자의 감정, 성별에 적합한 맛집을 추천해주는 챗봇 서비스입니다. |
| 4 | 4 | ||
| 5 | +### Bulit with | ||
| 6 | +* [Node.js](https://nodejs.org/ko/) | ||
| 7 | +* [Express](https://expressjs.com/) | ||
| 8 | +* [Line Messaging API](https://developers.line.biz/en/services/messaging-api/) | ||
| 9 | +* [CLOVA Face Recognition API](https://developers.naver.com/products/clova/face/) | ||
| 10 | +* [Naver Search Local API](https://developers.line.biz/en/services/messaging-api/) | ||
| 11 | + | ||
| 12 | + | ||
| 5 | ## How to use chatbot | 13 | ## How to use chatbot |
| 6 | <img src="image/LINE_APP.png" width="20%" height="20%"alt="line"></img> | 14 | <img src="image/LINE_APP.png" width="20%" height="20%"alt="line"></img> |
| 7 | <img src="image/QR_code.png" width="20%" height="20%"alt="line"></img> | 15 | <img src="image/QR_code.png" width="20%" height="20%"alt="line"></img> |
| ... | @@ -20,23 +28,43 @@ | ... | @@ -20,23 +28,43 @@ |
| 20 | <br> | 28 | <br> |
| 21 | ⭕ 얼굴인식을 사용하는 경우 ⭕ | 29 | ⭕ 얼굴인식을 사용하는 경우 ⭕ |
| 22 | 1. 얼굴을 인식할 사진을 업로드해주세요. | 30 | 1. 얼굴을 인식할 사진을 업로드해주세요. |
| 23 | -2. 사진에서 얼굴 유무를 인식하여 인식되지 않으면 얼굴인식을 이용하지 않는 경우로 돌아갑니다. | 31 | +2. 사진에서 얼굴 유무를 인식하여 인식되지 않으면 얼굴인식을 이용하지 않는 위치기반 추천으로 돌아갑니다. |
| 24 | 3. 얼굴을 인식하여 사용자의 감정과 성별을 파악합니다. | 32 | 3. 얼굴을 인식하여 사용자의 감정과 성별을 파악합니다. |
| 25 | 4. 사용자 위치를 입력해주세요. 원하는 위치의 맛집을 검색할 수 있어요! | 33 | 4. 사용자 위치를 입력해주세요. 원하는 위치의 맛집을 검색할 수 있어요! |
| 26 | 5. 사용자 감정과 성별, 위치를 기반으로 한 맛집이 제공됩니다. 🥘 | 34 | 5. 사용자 감정과 성별, 위치를 기반으로 한 맛집이 제공됩니다. 🥘 |
| 27 | 35 | ||
| 28 | <br> | 36 | <br> |
| 29 | <h4 align="center">📜한눈에 살펴보는 챗봇 사용법📜</h4> | 37 | <h4 align="center">📜한눈에 살펴보는 챗봇 사용법📜</h4> |
| 30 | -<p align="center"><img src="image/chatbot_algorithm.png"></img></p> | 38 | +<p align="center"><img src="image/chabotAlgorithm .png"></img></p> |
| 31 | 39 | ||
| 32 | ## How to develop | 40 | ## How to develop |
| 41 | +1. 필요한 API Key들을 발급받아 주세요. | ||
| 42 | +<br> | ||
| 43 | +[Line Messaging API](https://developers.line.biz/en/services/messaging-api/)<br> | ||
| 44 | +[CLOVA Face Recognition API](https://developers.naver.com/products/clova/face/)<br> | ||
| 45 | +[Naver Search Local API](https://developers.line.biz/en/services/messaging-api/)<br> | ||
| 46 | +<br> | ||
| 33 | 47 | ||
| 34 | -### Bulit with | 48 | +2. 이 Repository를 clone해 주세요. |
| 35 | -* Node.js | 49 | +``` |
| 36 | -* Express | 50 | +git clone http://khuhub.khu.ac.kr/2018102237/cfr-chatbot.git |
| 37 | -* Line messenger API | 51 | +``` |
| 38 | -* CLOVA Face Recognition API | 52 | +3. 필요한 npm module을 설치해 주세요. |
| 39 | -* Naver Search Local API | 53 | +``` |
| 54 | +npm install | ||
| 55 | +``` | ||
| 56 | +4. chatbot.js 파일을 수정해주세요. | ||
| 57 | +```javascript | ||
| 58 | +var client_id = 'your cfr client id';//cfr api client id를 입력하세요 | ||
| 59 | +var client_secret = 'your cfr client secret';//cfr api client secret을 입력하세요 | ||
| 60 | +const TOKEN = 'your chatbot token' //line chatbot api token을 입력하세요 | ||
| 61 | +const SECRET = 'your chatbot secret' //line chatbot api secret을 입력하세요 | ||
| 62 | +const domain = "your domain" //도메인을 입력하세요 | ||
| 63 | +var search_client_id = 'your search client id';//naver search local api client id를 입력하세요 | ||
| 64 | +var search_client_secret = 'your search client secret';//naver search local api client secret 입력하세요 | ||
| 65 | +``` | ||
| 66 | +5. chatbot.js를 실행한 후, 정상적으로 작동되는지 확인하세요. | ||
| 67 | +<br> | ||
| 40 | 68 | ||
| 41 | ### 참여하기 | 69 | ### 참여하기 |
| 42 | 이 프로젝트는 오픈소스입니다. CFR Chatbot을 발전시켜주세요! 👩💻 | 70 | 이 프로젝트는 오픈소스입니다. CFR Chatbot을 발전시켜주세요! 👩💻 |
| ... | @@ -48,5 +76,10 @@ | ... | @@ -48,5 +76,10 @@ |
| 48 | 5. merge request를 요청해주세요. 당신도 이 프로젝트에 기여할 수 있습니다! | 76 | 5. merge request를 요청해주세요. 당신도 이 프로젝트에 기여할 수 있습니다! |
| 49 | 77 | ||
| 50 | 78 | ||
| 79 | +## License | ||
| 80 | +이 프로젝트는 MIT License를 따르고 있습니다. 자세한 내용은 [License](http://khuhub.khu.ac.kr/2018102237/cfr-chatbot/blob/master/LICENSE)를 확인해 주세요. | ||
| 81 | + | ||
| 51 | ## Contact | 82 | ## Contact |
| 52 | -wish@khu.ac.kr | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 83 | +장소원 wish@khu.ac.kr<br> | ||
| 84 | +조아혜 whdkgp97@khu.ac.kr<br> | ||
| 85 | +이다은 | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment