Update README.md
Browse files
README.md
CHANGED
|
@@ -7,44 +7,6 @@ YOLOv11-pose trained for rotating images to their correct orientation.
|
|
| 7 |
|
| 8 |
It puts image on a white card, rotates it correctly and crops.
|
| 9 |
|
| 10 |
-
<html>
|
| 11 |
-
<head>
|
| 12 |
-
<style>
|
| 13 |
-
.training-widget-card { background: #FF8C00; border-radius: 16px; padding: 24px; width: 100%; max-width: 700px; box-shadow: 0 6px 12px rgba(0,0,0,0.2); color: #fff; box-sizing: border-box; margin: 20px 0; font-family: Arial, sans-serif; }
|
| 14 |
-
.training-widget-card .header { display: flex; align-items: center; margin-bottom: 16px; }
|
| 15 |
-
.training-widget-card .spinner { width: 24px; height: 24px; margin-right: 12px; border: 4px solid rgba(255,255,255,0.5); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; }
|
| 16 |
-
.training-widget-card .header h2 { font-size: 1.2rem; margin: 0; }
|
| 17 |
-
.training-widget-card .info-blocks { display: flex; flex-wrap: nowrap; border: 1px solid rgba(255,255,255,0.5); border-radius: 12px; overflow: hidden; margin-bottom: 16px; } /* MODIFIED: flex-wrap */
|
| 18 |
-
.training-widget-card .info-block { flex-grow: 1; flex-shrink: 1; flex-basis: 0; min-width: 0; padding: 8px 12px; font-size: 0.85rem; text-align: center; box-sizing: border-box; } /* MODIFIED: flex properties and min-width */
|
| 19 |
-
.training-widget-card .info-block + .info-block { border-left: 1px solid rgba(255,255,255,0.5); }
|
| 20 |
-
.training-widget-card .info-block strong { display: block; margin-bottom: 4px; font-weight: 600; text-transform: uppercase; } /* Kept as per your original for label/value on separate lines */
|
| 21 |
-
.training-widget-card .progress-container { background: rgba(255,255,255,0.3); border-radius: 12px; overflow: hidden; height: 14px; margin-bottom: 8px; }
|
| 22 |
-
.training-widget-card .progress-bar { width: 0%; height: 100%; background: #fff; transition: width 0.5s ease-out; }
|
| 23 |
-
.training-widget-card .status-text { font-size: 0.9rem; text-align: center; }
|
| 24 |
-
@keyframes spin { to { transform: rotate(360deg); } }
|
| 25 |
-
</style>
|
| 26 |
-
</head>
|
| 27 |
-
<body>
|
| 28 |
-
<!-- WIDGET_START -->
|
| 29 |
-
<div class="training-widget-card">
|
| 30 |
-
<div class="header">
|
| 31 |
-
<div class="spinner" style="display: none;"></div>
|
| 32 |
-
<h2>image-corner-rotation training</h2>
|
| 33 |
-
</div>
|
| 34 |
-
<div class="info-blocks">
|
| 35 |
-
<div class="info-block"><strong>START DATE:</strong> N/A</div>
|
| 36 |
-
<div class="info-block"><strong>LAST UPDATE:</strong> N/A</div>
|
| 37 |
-
<div class="info-block"><strong>DATASET SIZE:</strong> N/A</div>
|
| 38 |
-
<div class="info-block"><strong>EQUIPMENT:</strong> N/A</div>
|
| 39 |
-
<div class="info-block"><strong>TRAINING TIME:</strong> N/A</div>
|
| 40 |
-
</div>
|
| 41 |
-
<div class="progress-container"><div class="progress-bar" style="width: 0%;"></div></div>
|
| 42 |
-
<div class="status-text">Initializing... 0%</div>
|
| 43 |
-
</div>
|
| 44 |
-
<!-- WIDGET_END -->
|
| 45 |
-
</body>
|
| 46 |
-
</html>
|
| 47 |
-
|
| 48 |
```text
|
| 49 |
python inference.py -h
|
| 50 |
usage: inference.py [-h] [--save_dir SAVE_DIR] [--verbose {0,1,2}] [--model MODEL] input_dir
|
|
|
|
| 7 |
|
| 8 |
It puts image on a white card, rotates it correctly and crops.
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
```text
|
| 11 |
python inference.py -h
|
| 12 |
usage: inference.py [-h] [--save_dir SAVE_DIR] [--verbose {0,1,2}] [--model MODEL] input_dir
|