From 6e5bf0e69abb0612a6a4bcf56433c3043b40d7d7 Mon Sep 17 00:00:00 2001 From: raushan-skyflow Date: Mon, 9 Jun 2025 23:10:05 +0530 Subject: [PATCH] SK-2116 update masking method readme and sample --- README.md | 2 +- samples/detect_api/deidentify_file.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 738d0cc4..39a58429 100644 --- a/README.md +++ b/README.md @@ -1929,7 +1929,7 @@ try: # Image-specific options # output_processed_image=True, # Include processed image # output_ocr_text=True, # Include OCR text - # masking_method=MaskingMethod.BLACKOUT, # Masking method + # masking_method=MaskingMethod.BLACKBOX, # Masking method # PDF-specific options # pixel_density=1.5, # PDF processing density diff --git a/samples/detect_api/deidentify_file.py b/samples/detect_api/deidentify_file.py index ed13bfda..c9877d58 100644 --- a/samples/detect_api/deidentify_file.py +++ b/samples/detect_api/deidentify_file.py @@ -65,7 +65,7 @@ def perform_file_deidentification(): # Image-specific options output_processed_image=True, # Include processed image in output output_ocr_text=True, # Include OCR text in response - masking_method=MaskingMethod.BLACKOUT, # Masking method for images + masking_method=MaskingMethod.BLACKBOX, # Masking method for images # PDF-specific options pixel_density=15, # Pixel density for PDF processing