change folder structure
This commit is contained in:
@@ -119,8 +119,8 @@ class DetectNode(Node):
|
||||
pose_dict = defaultdict(list)
|
||||
|
||||
img_h, img_w = rgb_img.shape[:2]
|
||||
border_x = img_w * 0.10
|
||||
border_y = img_h * 0.08
|
||||
border_x = img_w * 0.12
|
||||
border_y = img_h * 0.10
|
||||
|
||||
results = self.model(rgb_img)
|
||||
result = results[0]
|
||||
@@ -198,7 +198,7 @@ class DetectNode(Node):
|
||||
return x, y, z
|
||||
|
||||
def _get_nine_patch_samples(self, depth_img, u, v, width, height):
|
||||
ws = [int(round(random.uniform(-0.05*width, 0.05*width)-width/4)), 0, int(random.uniform(-0.05*width, 0.05*width)+round(width/4))]
|
||||
ws = [int(round(random.uniform(-0.05*width, 0.05*width)-width/4)), 0, int(round(random.uniform(-0.05*width, 0.05*width)+width/4))]
|
||||
hs = [int(round(random.uniform(-0.05*height, 0.05*height)-height/4)), 0, int(round(random.uniform(-0.05*height, 0.05*height)+height/4))]
|
||||
|
||||
window_size = 25
|
||||
|
Before Width: | Height: | Size: 134 KiB After Width: | Height: | Size: 134 KiB |
|
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user