davidcaron / pye57

Read and write e57 point clouds from Python
MIT License
68 stars 42 forks source link

E57_ERROR_PATH_UNDEFINED #27

Closed loicroybon closed 7 months ago

loicroybon commented 2 years ago

I try to extract images from E57 with

    for image_idx, image2D in enumerate(root['images2D']):
[...]
        pinhole = image2D['pinholeRepresentation']

but I'm getting this error :

Traceback (most recent call last):
  File "extract.py", line 56, in <module>
    pinhole = image2D['pinholeRepresentation']
    pye57.libe57.E57Exception: E57 element path well formed but not defined (E57_ERROR_PATH_UNDEFINED)

Any idea about why ?

natecdr commented 2 years ago

The image2D objects likely do not have 'pinholeRepresentation' attributes.