Skip to content

Commit

Permalink
Adjust layout
Browse files Browse the repository at this point in the history
  • Loading branch information
yihong1120 committed Jul 8, 2024
1 parent 2ea619e commit 5244eea
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 19 deletions.
29 changes: 20 additions & 9 deletions README-zh-tw.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
🇬🇧 [English](./README.md) | 🇹🇼 [繁體中文](./README-zh-tw.md)

<img src="./assets/images/project_graphics/banner.gif" alt="AI-Driven Construction Safety Banner" style="width: 100%;">

<br>
<img width="100%" src="./assets/images/project_graphics/banner.gif" alt="AI-Driven Construction Safety Banner">

<div align="center">
<a href="examples/YOLOv8_server_api">模型伺服器</a> | <a href="examples/streaming_web">串流網頁</a> | <a href="examples/user_management">用戶管理</a> | <a href="examples/YOLOv8_data_augmentation">YOLOv8 數據增強</a> | <a href="examples/YOLOv8_evaluation">YOLOv8 評估</a> | <a href="examples/YOLOv8_train">YOLOv8 訓練</a>
</div>

<br>

<div align="center">
<a href="https://github.com/pre-commit/pre-commit"><img src="https://img.shields.io/badge/pre--commit-3.7.1-blue?logo=pre-commit" alt="Pre-commit 3.7.1"></a>
<a href="https://www.python.org/downloads/release/python-3124/"><img src="https://img.shields.io/badge/python-3.12.4-blue?logo=python" alt="Python 3.12.4"></a>
<a href="https://github.com/ultralytics/yolov8"><img src="https://img.shields.io/badge/YOLOv8-ultralytics-blue?logo=yolo" alt="YOLOv8"></a>
<a href="https://flask.palletsprojects.com/en/3.0.x/"><img src="https://img.shields.io/badge/flask-3.0.3-blue?logo=flask" alt="Flask 3.0.3"></a>
<a href="https://github.com/pre-commit/pre-commit">
<img src="https://img.shields.io/badge/pre--commit-3.7.1-blue?logo=pre-commit" alt="Pre-commit 3.7.1">
</a>
<a href="https://www.python.org/downloads/release/python-3124/">
<img src="https://img.shields.io/badge/python-3.12.4-blue?logo=python" alt="Python 3.12.4">
</a>
<a href="https://github.com/ultralytics/ultralytics">
<img src="https://img.shields.io/badge/YOLOv8-ultralytics-blue?logo=yolo" alt="YOLOv8">
</a>
<a href="https://flask.palletsprojects.com/en/3.0.x/">
<img src="https://img.shields.io/badge/flask-3.0.3-blue?logo=flask" alt="Flask 3.0.3">
</a>
<a href="https://docs.pytest.org/en/8.2.x/">
<img src="https://img.shields.io/badge/pytest-8.2.2-blue?logo=pytest" alt="pytest 8.2.2">
</a>
</div>

<br>
Expand All @@ -28,13 +39,13 @@
- video_url: "rtsp://example1.com/stream" # URL of the video
image_name: "cam1" # Name of the image
label: "label1" # Label of the video
model_key: "yolov8x" # Model key for the video
model_key: "yolov8n" # Model key for the video
line_token: "token1" # Line token for notification
run_local: True # Run objection detection locally
- video_url: "rtsp://example2.com/stream"
image_name: "cam2"
label: "label2"
model_key: "yolov8x"
model_key: "yolov8n"
line_token: "token2"
run_local: True
```
Expand Down
27 changes: 19 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

<img width="100%" src="./assets/images/project_graphics/banner.gif" alt="AI-Driven Construction Safety Banner">

<br>

<div align="center">
<a href="examples
/YOLOv8_server_api">Server-API</a> | <a href="examples
Expand All @@ -14,11 +12,24 @@
/YOLOv8_train">Train</a>
</div>

<br>

<div align="center">
<a href="https://github.com/pre-commit/pre-commit"><img src="https://img.shields.io/badge/pre--commit-3.7.1-blue?logo=pre-commit" alt="Pre-commit 3.7.1"></a>
<a href="https://www.python.org/downloads/release/python-3124/"><img src="https://img.shields.io/badge/python-3.12.4-blue?logo=python" alt="Python 3.12.4"></a>
<a href="https://github.com/ultralytics/ultralytics"><img src="https://img.shields.io/badge/YOLOv8-ultralytics-blue?logo=yolo" alt="YOLOv8"></a>
<a href="https://flask.palletsprojects.com/en/3.0.x/"><img src="https://img.shields.io/badge/flask-3.0.3-blue?logo=flask" alt="Flask 3.0.3"></a>
<a href="https://github.com/pre-commit/pre-commit">
<img src="https://img.shields.io/badge/pre--commit-3.7.1-blue?logo=pre-commit" alt="Pre-commit 3.7.1">
</a>
<a href="https://www.python.org/downloads/release/python-3124/">
<img src="https://img.shields.io/badge/python-3.12.4-blue?logo=python" alt="Python 3.12.4">
</a>
<a href="https://github.com/ultralytics/ultralytics">
<img src="https://img.shields.io/badge/YOLOv8-ultralytics-blue?logo=yolo" alt="YOLOv8">
</a>
<a href="https://flask.palletsprojects.com/en/3.0.x/">
<img src="https://img.shields.io/badge/flask-3.0.3-blue?logo=flask" alt="Flask 3.0.3">
</a>
<a href="https://docs.pytest.org/en/8.2.x/">
<img src="https://img.shields.io/badge/pytest-8.2.2-blue?logo=pytest" alt="pytest 8.2.2">
</a>
</div>

<br>
Expand All @@ -34,13 +45,13 @@ Before running the application, you need to configure the system by specifying t
- video_url: "rtsp://example1.com/stream" # URL of the video
image_name: "cam1" # Name of the image
label: "label1" # Label of the video
model_key: "yolov8x" # Model key for the video
model_key: "yolov8n" # Model key for the video
line_token: "token1" # Line token for notification
run_local: True # Run objection detection locally
- video_url: "rtsp://example2.com/stream"
image_name: "cam2"
label: "label2"
model_key: "yolov8x"
model_key: "yolov8n"
line_token: "token2"
run_local: True
```
Expand Down
4 changes: 2 additions & 2 deletions config/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
- video_url: "rtsp://example1.com/stream" # URL of the video
image_name: "cam1" # Name of the image
label: "label1" # Label of the video
model_key: "yolov8x" # Model key for the video
model_key: "yolov8n" # Model key for the video
line_token: "token1" # Line token for notification
run_local: True # Run objection detection locally
- video_url: "rtsp://example2.com/stream"
image_name: "cam2"
label: "label2"
model_key: "yolov8x"
model_key: "yolov8n"
line_token: "token2"
run_local: True

0 comments on commit 5244eea

Please sign in to comment.