-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
obs object in calibrationUtils.py throws an incorrect class type #1612
Comments
@Juniormunk did cal json format change over the summer? Either way I have a patched version floating around. |
Yes. We no longer store the images in the json. |
Hi, @mcm001 would it be possible for you to post the patch version, I cannot find it, Thanks! |
Maybe #1615 |
Sadly I still get the same error as above.
Platform: |
@PureRandomGit Sorry. I meant to fix this a while ago. I don't have a good way to test this code, but here are the changes. #1633 |
Thank you, it fixes that problem but I encountered two others so far.
At this point it was able to generate the corners.vnl but errors when trying to reshape the array due to some of the images not getting all the points, at least I think.
|
Describe the bug
When running calibrationUtils.py found in the latest version of the docs, I get this error:
AttributeError: 'Generic' object has no attribute 'snapshotData'. Did you mean: 'snapshotName'?
However, when printing the type of
obs
inobs.snapshotData.data
, it prints:<class '__main__.convert_photon_to_mrcal.<locals>.Generic'>
When hovering over
obs
in Visual Studios Code, it says that it is of typeObservation
To Reproduce
Steps to reproduce the behavior:
python3 /path/to/calibrationUtils.py path/to/photon_calibration.json /path/to/output/folder
(in my case WSL).Screenshots / Videos
Platform:
The text was updated successfully, but these errors were encountered: