patch_predictions_as_qupath_json¶ tiatoolbox . utils . misc . patch_predictions_as_qupath_json patch_predictions_as_qupath_json(preds, class_dict, patch_coords, *, verbose=True)[source]¶ Helper function to generate QuPath JSON per patch predictions. Parameters: preds (list | ndarray) class_dict (dict) patch_coords (list | ndarray) verbose (bool) Return type: dict