Filter: classifai_should_ocr_scan_image

apply_filters( 'classifai_should_ocr_scan_image', bool, array, int )

Filters whether to run OCR scanning on the current image.

Parameters:
Name Type Description
bool

$should_ocr_scan Whether to run OCR scanning. The default value is set in ComputerVision settings.

array

$metadata Image metadata.

int

$attachment_id The attachment ID.

Since:
  • 1.6.0
Source:
Returns:

bool Whether to run OCR scanning.