20. 顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
系統架構圖
20
or
Image Processing
YOLOv5
Image Processing
OpenCV2 words
Google
Cloud Vision API
(OCR)
顏色辨識- YOLO
21. 顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
透過 Gemini 獲取單字詳細意思 / 生成文章
(實際商用應串接語言字典,此專案為練習才串接 Gemini 用)
words
word details
system instruction
A. 設計 Gemini output 單字詳細說明的結
構
B. 設計 Gemini output 單字組合的簡短文
章
word article
A
B
21
後端與資料庫
22. 顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
系統架構圖
22
or
Image
Processing
YOLOv5
Image
Processing
OpenCV2
words
Google
Cloud Vision
API (OCR)
後端與資料庫
23. 顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
23
words table
🔑 word_id
unique word
pos
pronunciation
definition_en
definition_zh
synonyms_en
synonyms_zh
example_en
example_zh
prefixes
roots
suffixes
user_words table
fk 🔑 user_id
fk 🔑 word_id
fk difficulty_id
update_difficulty_time
create_time
query_count
last_query_time
user table
🔑 user_id
user_name
unique account
password
create_time
difficulty table
🔑 difficulty_id
difficulty_level
資料庫 Table 設計
使用 建置資料
庫
後端與資料庫
24. 顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
系統架構圖
or
Image
Processing
YOLOv5
Image
Processing
OpenCV2
24
Google
Cloud
Vision API
(OCR)
Agent
後端與資料庫
25. 顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
系統架構圖
or
Image
Processing
YOLOv5
Image
Processing
OpenCV2
25
Google
Cloud
Vision API
(OCR)
Agent
Server 與 ngrok
26. 速速單字書 Quickly Collect Words
顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
前端與後端的串聯方式
26
ngrok 與 Flask
https://2c11-125-229-69-35.ngrok-free.app http://localhost:5000
Server 與 ngrok
27. 顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
系統架構圖
H
T
T
P
S
or
Image
Processing
YOLOv5
Image
Processing
OpenCV2
27
Google
Cloud
Vision API
(OCR)
Agent
Server 與 ngrok
28. 顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
1. 使用 Figma 設計良好的使用者體驗 UX/UI
2. WEB 建置
28
Web Design
Homepage
拍照新增單字 登入 / 註冊
關於我們
確認單字
查看詳細單字
前端設計
38. 顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
系統架構圖
H
T
T
P
S
or
Image
Processing
YOLOv5
Image
Processing
OpenCV2
38
LINE Bot
Google
Cloud
Vision API
(OCR)
Agent
39. 速速單字書 Quickly Collect Words
顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
LINE Bot 互動實現方法
1. LINE Bot 透過 LINE Messaging API 串接
2. Flask 依據 LINE 訊息處理邏輯
3. Flask WebhookHandler 監聽需求
4. Flask 透過 LineBotApi reply or push
message
5. Flask 與資料庫互動,更新單字書內容
WebhookHandle
r
LINE Messaging
API
Webhook
Request/Response
LINE Bot
40. 顏色辨識- OpenCV 後端與資料庫 前端設計
Server 與 ngrok LINE Bot
顏色辨識方法 顏色辨識- YOLO
40
LINE Bot
上傳圖片辨識單字 隨選難字複習 隨選短文複習
44. A B C
速速單字書 Quickly Collect Words
1. 自動擷取圖片中用戶不會的單字
2. AI 辦別用戶程度,提供新單字
3. 客製化英文考試
客製化學習里程
1. 抓取原始單字上下文幫助回憶
2. 判斷用戶領域提供常見單字
了解各地區域、年齡層在什麼時
間點需要學會什麼單字等
展望 Product Outlook
依據 DATA 分析用戶弱點 收集 DATA 訓練 AI 預測
需求
44