(file_name)
| 537 | |
| 538 | |
| 539 | def load_ply(file_name): |
| 540 | plydata = PlyData.read(file_name) |
| 541 | x = plydata['vertex']['x'] |
| 542 | y = plydata['vertex']['y'] |
| 543 | z = plydata['vertex']['z'] |
| 544 | v = np.stack((x, y, z), 1) |
| 545 | return v |
| 546 | |
| 547 | def resize_bbox(bbox, scale=1.2): |
| 548 | if isinstance(bbox, list): |
nothing calls this directly
no outgoing calls
no test coverage detected