MCPcopy Create free account
hub / github.com/SHAILAB-IPEC/OpenFly-Platform / save_image

Method save_image

scripts/sim/airsim_bridge.py:90–91  ·  view source on GitHub ↗
(self, image_data, file_path)

Source from the content-addressed store, hash-verified

88 return img_data
89
90 def save_image(self, image_data, file_path):
91 cv2.imwrite(file_path, image_data)
92
93 def process_camera_data(self, file_path, camera_type='color'):
94 img = self.get_camera_data(camera_type)

Callers 1

process_camera_dataMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected