Datasets:

Modalities:
Image
Video
Formats:
parquet
Size:
< 1K
Libraries:
Datasets
pandas
License:
MohamedTEV commited on
Commit
5614665
·
verified ·
1 Parent(s): 06526c0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -5
README.md CHANGED
@@ -62,16 +62,13 @@ import matplotlib.pyplot as plt
62
  class ARC:
63
  def __init__(self):
64
  bag = r'Class_A_austral.bag' # path of the bag file
65
-
66
  self.start_frame = 0 # start from the this frame to allow the sensor to adjust
67
  # ROI coordinates are determined from the depth images (checked visually and fixed)
68
  self.x1_roi, self.x2_roi = 250, 1280
69
  self.y1_roi, self.y2_roi = 0, 470
70
  self.delta = 5 # to discard steaks occluded along the borders of the image
71
  self.area_tresh = 80
72
-
73
  self.bag = bag
74
-
75
  self.device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
76
 
77
  # load and run model
@@ -194,11 +191,11 @@ class ARC:
194
 
195
  dist = math.sqrt(math.pow(point1[0] - point2[0], 2) + math.pow(point1[1] - point2[1],2) + math.pow(point1[2] - point2[2], 2))
196
  return round(dist*100, 2) # multiply by 100 to convert m to cm
197
- ```
198
 
199
-
200
  if __name__ == '__main__':
201
  ARC().video()
 
 
202
 
203
  ## 🗂️ Data Instances
204
  <figure style="display:flex; gap:10px; flex-wrap:wrap; justify-content:center;">
 
62
  class ARC:
63
  def __init__(self):
64
  bag = r'Class_A_austral.bag' # path of the bag file
 
65
  self.start_frame = 0 # start from the this frame to allow the sensor to adjust
66
  # ROI coordinates are determined from the depth images (checked visually and fixed)
67
  self.x1_roi, self.x2_roi = 250, 1280
68
  self.y1_roi, self.y2_roi = 0, 470
69
  self.delta = 5 # to discard steaks occluded along the borders of the image
70
  self.area_tresh = 80
 
71
  self.bag = bag
 
72
  self.device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu")
73
 
74
  # load and run model
 
191
 
192
  dist = math.sqrt(math.pow(point1[0] - point2[0], 2) + math.pow(point1[1] - point2[1],2) + math.pow(point1[2] - point2[2], 2))
193
  return round(dist*100, 2) # multiply by 100 to convert m to cm
 
194
 
 
195
  if __name__ == '__main__':
196
  ARC().video()
197
+ ```
198
+
199
 
200
  ## 🗂️ Data Instances
201
  <figure style="display:flex; gap:10px; flex-wrap:wrap; justify-content:center;">