Filter: classifai_ocr_tag_confidence

apply_filters( 'classifai_ocr_tag_confidence', $confidence, $attachment_id, $scan ) → {int}

Filters the tag confidence level for OCR processing

Parameters:
Name Type Description
$confidence int

The minimum confidence level. Default 90.

$attachment_id int

The attachment ID.

$scan bool | object

Previously run scan.

Since:
  • 1.6.0
Source:
Returns:

Confidence level.

Type
int