sparkocr.tests.ocr.utils#

Module Contents#

Functions#

dicom_to_disk(save_path, result)

generate_all_dicom_dt_examples()

generate_test_dicom(spark_session, photometric, ...)

intersection_over_union(boxA, boxB)

is_private_tag(tag_hex)

matchCoordinates(boxA, boxB[, atolIoU, atolScore])

dicom_to_disk(save_path, result)#
generate_all_dicom_dt_examples()#
generate_test_dicom(spark_session, photometric, compression)#
intersection_over_union(boxA, boxB)#
is_private_tag(tag_hex)#
matchCoordinates(boxA, boxB, atolIoU=0.1, atolScore=0.1)#