Skip to main content

Filter: classifai_should_ocr_scan_image

Filters whether to run OCR scanning on the current image.

Parameters

NameTypeDescription
$should_scanboolWhether to run OCR scanning. Defaults to feature being enabled.
$image_urlstringURL of image to process.
$attachment_idintThe attachment ID.

Since

  • 1.6.0

Source

Defined in includes/Classifai/Providers/Azure/ComputerVision.php at line 423

Returns

Whether to run OCR scanning.

Ready to Get Started?

ClassifAI is a Free WordPress plugin that connects to your choice of AI platforms.