linhcuem commited on
Commit
6954573
1 Parent(s): b3b8478

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -16,15 +16,15 @@ from ultralyticsplus import YOLO, render_result
16
  # import requests
17
  # import cv2
18
 
19
- image_path = [['test_images/2a998cfb0901db5f8210.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],['test_images/2ce19ce0191acb44920b.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],
20
- ['test_images/2daab6ea3310e14eb801.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45], ['test_images/4a137deefb14294a7005 (1).jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],
21
- ['test_images/7e77c596436c9132c87d.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45], ['test_images/170f914014bac6e49fab.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],
22
- ['test_images/3355ec3269c8bb96e2d9.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45], ['test_images/546306a88052520c0b43.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],
23
- ['test_images/33148464019ed3c08a8f.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45], ['test_images/a17a992a1cd0ce8e97c1.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],
24
- ['test_images/b5db5e42d8b80ae653a9 (1).jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],['test_images/b8ee1f5299a84bf612b9.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],
25
- ['test_images/b272fec7783daa63f32c.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],['test_images/bb202b3eaec47c9a25d5.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],
26
- ['test_images/bf1e22b0a44a76142f5b.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45], ['test_images/ea5473c5f53f27617e2e.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45],
27
- ['test_images/ee106392e56837366e79.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45], ['test_images/f88d2214a4ee76b02fff.jpg','linhcuem/chamdiemgianhang_yolov8_ver1', 640, 0.25, 0.45]]
28
 
29
  # Load YOLO model
30
  # model = YOLO('linhcuem/cham_diem_yolov8')
 
16
  # import requests
17
  # import cv2
18
 
19
+ image_path = [['test_images/2a998cfb0901db5f8210.jpg','cham_diem_yolov8', 640, 0.25, 0.45],['test_images/2ce19ce0191acb44920b.jpg','cham_diem_yolov8', 640, 0.25, 0.45],
20
+ ['test_images/2daab6ea3310e14eb801.jpg','cham_diem_yolov8', 640, 0.25, 0.45], ['test_images/4a137deefb14294a7005 (1).jpg','cham_diem_yolov8', 640, 0.25, 0.45],
21
+ ['test_images/7e77c596436c9132c87d.jpg','cham_diem_yolov8', 640, 0.25, 0.45], ['test_images/170f914014bac6e49fab.jpg','cham_diem_yolov8', 640, 0.25, 0.45],
22
+ ['test_images/3355ec3269c8bb96e2d9.jpg','cham_diem_yolov8', 640, 0.25, 0.45], ['test_images/546306a88052520c0b43.jpg','cham_diem_yolov8', 640, 0.25, 0.45],
23
+ ['test_images/33148464019ed3c08a8f.jpg','cham_diem_yolov8', 640, 0.25, 0.45], ['test_images/a17a992a1cd0ce8e97c1.jpg','cham_diem_yolov8', 640, 0.25, 0.45],
24
+ ['test_images/b5db5e42d8b80ae653a9 (1).jpg','cham_diem_yolov8', 640, 0.25, 0.45],['test_images/b8ee1f5299a84bf612b9.jpg','cham_diem_yolov8', 640, 0.25, 0.45],
25
+ ['test_images/b272fec7783daa63f32c.jpg','cham_diem_yolov8', 640, 0.25, 0.45],['test_images/bb202b3eaec47c9a25d5.jpg','cham_diem_yolov8', 640, 0.25, 0.45],
26
+ ['test_images/bf1e22b0a44a76142f5b.jpg','cham_diem_yolov8', 640, 0.25, 0.45], ['test_images/ea5473c5f53f27617e2e.jpg','cham_diem_yolov8', 640, 0.25, 0.45],
27
+ ['test_images/ee106392e56837366e79.jpg','cham_diem_yolov8', 640, 0.25, 0.45], ['test_images/f88d2214a4ee76b02fff.jpg','cham_diem_yolov8', 640, 0.25, 0.45]]
28
 
29
  # Load YOLO model
30
  # model = YOLO('linhcuem/cham_diem_yolov8')