stevfoy commited on
Commit
be31560
·
1 Parent(s): 000790b
images/Grass_divot1.jpg CHANGED

Git LFS Details

  • SHA256: 5acdbf6a2cc6c2931470aba96218fe7816a8bd0d726ac80d371026ebee17f3a0
  • Pointer size: 132 Bytes
  • Size of remote file: 2.15 MB

Git LFS Details

  • SHA256: 616a9898302c641d91f62150d6e195136881b07e7db01907cad7b2d8bf1d1c9a
  • Pointer size: 132 Bytes
  • Size of remote file: 2.44 MB
images/Grass_divot2.jpg CHANGED

Git LFS Details

  • SHA256: 2dc2e946bc179f0ca2db93266754e9e62dda040b0678b552c14234060a49c107
  • Pointer size: 132 Bytes
  • Size of remote file: 2.34 MB

Git LFS Details

  • SHA256: 79ffb3f5612d0e68e8c3875bb01eaf7d5ab08d952626e2d632c8294ec6ee566a
  • Pointer size: 132 Bytes
  • Size of remote file: 2.68 MB
images/Grass_divot3.jpg CHANGED

Git LFS Details

  • SHA256: 5031fee10e3d5e6070506b64bf11202ae83166ef9ee5f8577461d8072a4884b9
  • Pointer size: 132 Bytes
  • Size of remote file: 1.22 MB

Git LFS Details

  • SHA256: df52c17551059a7016d4c55b3bd550ea8c911dd570726705e0a1b07e80897df0
  • Pointer size: 132 Bytes
  • Size of remote file: 1.3 MB
images/Grass_divot4.jpg CHANGED

Git LFS Details

  • SHA256: 4958d0a887a86d3516f8d591c43d2b20bf0b83ed75e4fba0b5c68a5e82b34b75
  • Pointer size: 132 Bytes
  • Size of remote file: 1.67 MB

Git LFS Details

  • SHA256: ca95c654c0e59601d5833f83c088c5edf06bef2be904d933622d58dfc1eb0852
  • Pointer size: 132 Bytes
  • Size of remote file: 1.83 MB
utils_for_app.py CHANGED
@@ -165,7 +165,7 @@ def plot_image(image, boxes):
165
  for box in boxes:
166
  assert len(box) == 6, "box should contain class pred, confidence, x, y, width, height"
167
  class_pred = box[-1]
168
- box = box[2:]
169
  upper_left_x = box[0] - box[2] / 2
170
  upper_left_y = box[1] - box[3] / 2
171
  rect = patches.Rectangle(
 
165
  for box in boxes:
166
  assert len(box) == 6, "box should contain class pred, confidence, x, y, width, height"
167
  class_pred = box[-1]
168
+ # box = box[2:]
169
  upper_left_x = box[0] - box[2] / 2
170
  upper_left_y = box[1] - box[3] / 2
171
  rect = patches.Rectangle(