choosehappy/QuPathGeoJSONImportExport

Export result is empty

Closed this issue · 4 comments

Hi Andy,

Thanks for sharing this. I copied your script to QuPath Script Editor, but got empty list in my exported json file. I don't have much experience with QuPath. I assume these annotations on the left should be included in object annotationMeasurements but they are not.

Please kindly give me some suggestions. Thank you in advance.

Screen Shot 2021-07-23 at 12 19 41 PM

Sorry for missing such handy notes! Thanks

Hi Andy,

An additional question, do you by any chance know how to export a batch of annotations files? I have a list of whole slide images with annotations and want to export them in jsons for deep learning labelling. However, opening them in QuPath GUI manually is quite time-consuming.

Thanks

if you create a project and put all your files into it, you will be able to click run for project:

image

this will run the code once per file

if you're interested in taking a pure python approach, you can check out paquo: https://github.com/bayer-science-for-a-better-life/paquo