From e6269cb32aa36fd065ebdf9956e3e49b2b7fa4fe Mon Sep 17 00:00:00 2001 From: Mark Graham <markgraham539@gmail.com> Date: Tue, 28 Mar 2023 13:28:00 -0600 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 0080a98..6a19349 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,11 @@ oct_volume.save_projection('projection.png') # save 2D projection fundus_image = fds.read_fundus_image() # returns a Fundus image with additional metadata if available fundus_image.save('fds_testing_fundus.jpg') + +# extract all other metadata +metadata = fds.read_all_metadata(verbose=True) +with open("fds_metadata.json", "w") as outfile: + outfile.write(json.dumps(metadata, indent=4)) ``` ## Contributions