Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marksgraham authored Mar 28, 2023
1 parent 8527ce3 commit e6269cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6269cb

Please sign in to comment.