pirahansiah commited on
Commit
c4f15fb
·
1 Parent(s): 6f3703b

computer vision 1

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -6,7 +6,7 @@ import os
6
  from ultralytics import YOLO
7
 
8
  file_urls = [
9
- 'https://lh3.googleusercontent.com/a2iyhpYl4Jgzc0r7MYgXQI1BGwkutp3rKuauNpkEbD3Z_HP-gf29M-wugKebKJQdl8ILtKWN-vOZAS9r1qMsI88=w16383',
10
  'https://www.dropbox.com/s/7sjfwncffg8xej2/video_7.mp4?dl=1'
11
  ]
12
 
@@ -25,11 +25,11 @@ for i, url in enumerate(file_urls):
25
  else:
26
  download_file(
27
  file_urls[i],
28
- f"image_{i}.jpg"
29
  )
30
 
31
 
32
- path = [['image_0.jpg']]
33
 
34
 
35
  def show_preds_image(image_path):
 
6
  from ultralytics import YOLO
7
 
8
  file_urls = [
9
+ 'https://github.com/pirahansiah/farshid/blob/eda35793771c298696dba7eadc0fbc74931ef8fd/OpenCV_book/5/AIoT.png',
10
  'https://www.dropbox.com/s/7sjfwncffg8xej2/video_7.mp4?dl=1'
11
  ]
12
 
 
25
  else:
26
  download_file(
27
  file_urls[i],
28
+ f"image_{i}.png"
29
  )
30
 
31
 
32
+ path = [['image_0.png']]
33
 
34
 
35
  def show_preds_image(image_path):