ContentExtractionSettings
Settings for ContentExtraction. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.
Tags: Vision, Advanced
from nutrient_sdk import ContentExtractionSettingsConstruction
ContentExtractionSettings is accessed through a Document instance for per-document overrides, or via SdkSettings for SDK-wide defaults.
# Per-document overridewith Document.open("input.pdf") as doc: settings = doc.settings.content_extraction_settings settings.some_field = new_value # mutate fields directly
# SDK-wide default (applies to all documents)SdkSettings.content_extraction_settings.some_field = new_valueSettings are configured by writing to fields on the returned object. The settings property itself cannot be reassigned — doc.settings.content_extraction_settings = other_settings is rejected.
Properties
enable_full_page_ocr_fallback
@propertydef enable_full_page_ocr_fallback(self) -> bool
@enable_full_page_ocr_fallback.setterdef enable_full_page_ocr_fallback(self, value: bool) -> NoneIndicates whether to run full page OCR when no zones are detected. This provides a simple OCR-only pipeline without segmentation.
Type: bool
Default: true
enable_image_extraction
@propertydef enable_image_extraction(self) -> bool
@enable_image_extraction.setterdef enable_image_extraction(self, value: bool) -> NoneIndicates whether image metadata extraction is enabled for image zones.
Type: bool
Default: true
enable_ocr_extraction
@propertydef enable_ocr_extraction(self) -> bool
@enable_ocr_extraction.setterdef enable_ocr_extraction(self, value: bool) -> NoneIndicates whether OCR extraction is enabled for text zones.
Type: bool
Default: true
enable_table_extraction
@propertydef enable_table_extraction(self) -> bool
@enable_table_extraction.setterdef enable_table_extraction(self, value: bool) -> NoneIndicates whether table structure extraction is enabled for table zones.
Type: bool
Default: true
minimum_zone_confidence
@propertydef minimum_zone_confidence(self) -> float
@minimum_zone_confidence.setterdef minimum_zone_confidence(self, value: float) -> NoneMinimum confidence threshold to process a zone (0.0 - 1.0). Zones below this confidence will be skipped.
Type: float
Default: 0.5f