adirik commited on
Commit
dff85a2
1 Parent(s): fbfcc0e
Files changed (6) hide show
  1. .DS_Store +0 -0
  2. .gitattributes +1 -0
  3. app.py +1 -1
  4. assets/.DS_Store +0 -0
  5. assets/Helvatica.ttc +0 -3
  6. assets/Helvetica.ttf +0 -0
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
.gitattributes CHANGED
@@ -30,3 +30,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
  *.zstandard filter=lfs diff=lfs merge=lfs -text
31
  *tfevents* filter=lfs diff=lfs merge=lfs -text
32
  assets/Helvatica.ttc filter=lfs diff=lfs merge=lfs -text
 
 
30
  *.zstandard filter=lfs diff=lfs merge=lfs -text
31
  *tfevents* filter=lfs diff=lfs merge=lfs -text
32
  assets/Helvatica.ttc filter=lfs diff=lfs merge=lfs -text
33
+ assets/Helvatica.ttf filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -20,7 +20,7 @@ def query_image(img, text_queries):
20
  boxes, scores, labels = results[0]["boxes"], results[0]["scores"], results[0]["labels"]
21
 
22
  draw = ImageDraw.Draw(img)
23
- font = ImageFont.truetype("assets/Helvetica.ttc", size=22)
24
 
25
  score_threshold = 0.1
26
  for box, score, label in zip(boxes, scores, labels):
 
20
  boxes, scores, labels = results[0]["boxes"], results[0]["scores"], results[0]["labels"]
21
 
22
  draw = ImageDraw.Draw(img)
23
+ font = ImageFont.truetype("assets/Helvetica.ttf", size=22)
24
 
25
  score_threshold = 0.1
26
  for box, score, label in zip(boxes, scores, labels):
assets/.DS_Store CHANGED
Binary files a/assets/.DS_Store and b/assets/.DS_Store differ
 
assets/Helvatica.ttc DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c4cb0b7e8b3e53b29d356bfae0663075fdd20e45ad94b56e1b77cca117e415e0
3
- size 2356684
 
 
 
 
assets/Helvetica.ttf ADDED
Binary file (318 kB). View file