(self,response_d)
| 54 | # os.makedirs(os.path.join(self.dataset_path, data_type)) |
| 55 | |
| 56 | def getDepthImage(self,response_d): |
| 57 | img_depth = np.array(response_d.image_data_float, dtype=np.float32) |
| 58 | img_depth = img_depth.reshape(response_d.height, response_d.width) |
| 59 | if not self.img_height: |
| 60 | self.img_height = response_d.height |
| 61 | self.img_width = response_d.width |
| 62 | return img_depth |
| 63 | |
| 64 | def getRGBImage(self,response_rgb): |
| 65 | img1d = np.fromstring(response_rgb.image_data_uint8, dtype=np.uint8) |
no outgoing calls
no test coverage detected