(file_name)
| 839 | |
| 840 | |
| 841 | def load_ply(file_name): |
| 842 | plydata = PlyData.read(file_name) |
| 843 | x = plydata['vertex']['x'] |
| 844 | y = plydata['vertex']['y'] |
| 845 | z = plydata['vertex']['z'] |
| 846 | v = np.stack((x, y, z), 1) |
| 847 | return v |
| 848 | |
| 849 | def resize_bbox(bbox, scale=1.2): |
| 850 | if isinstance(bbox, list): |
nothing calls this directly
no outgoing calls
no test coverage detected