Skip to content
Media CloudDocs
Happy HolidaysSave 20% with codeValid through December 31Shop the sale
Vision Options
On this page

Vision Options

Configure label detection, moderation, faces, alt text and captions, and bulk-process the library with Amazon Rekognition or Google Cloud Vision.

4 min read·3 tags

Vision options control what Media Cloud does with the labels, moderation results, and faces returned by Amazon Rekognition or Google Cloud Vision.

Detection options

OptionProvidersDescription
Detect LabelsRekognition, Google VisionDetect objects, scenes, and concepts and apply them as taxonomy terms.
Detect Labels TaxonomyRekognition, Google VisionTaxonomy that receives the detected labels.
Detect Labels ConfidenceRekognition, Google VisionMinimum confidence (0–100) for applying a label. Default 70.
Detect Moderation LabelsRekognition, Google VisionDetect explicit or suggestive content.
Detect Moderation Labels TaxonomyRekognition, Google VisionTaxonomy that receives moderation labels.
Detect Moderation Labels ConfidenceRekognition, Google VisionMinimum confidence for moderation labels. Default 70.
Detect FacesRekognition, Google VisionStore detected face metadata. With Imgix, use it for face-centered crops.
Detect Celebrity FacesRekognitionDetect celebrity and non-celebrity faces. Do not enable both face options; they overwrite each other.
Detect Celebrity Faces TaxonomyRekognitionTaxonomy that receives celebrity face labels.
Ignored TagsRekognition, Google VisionComma-separated labels to discard.

Writing results into WordPress

OptionDescription
Save Taxonomy to Alt TextUse the detected labels as the attachment’s alt text.
Save Taxonomy to CaptionUse the detected labels as the attachment’s caption.
Save Taxonomy to DescriptionUse the detected labels as the attachment’s description.
Taxonomy Prefix TextText prefixed to labels written into alt text, caption, or description.
Force Term CountInclude attachments in term counts even when they are not attached to a post.

These options overwrite the corresponding fields on each processed attachment. Enable them only when you want Vision to own those fields.

Background processing

Always Process in Background queues Vision processing after upload instead of running it during the upload. This is slower to produce results but keeps uploads fast.

Bulk processing the library

Existing images are not processed when you enable Vision. Run Media Cloud → Tools → Process with Vision, or use WP-CLI:

wp mediacloud:vision process [--limit=<number>] [--offset=<number>] [--page=<number>] [--order-by=date|title|filename] [--order=asc|desc]
ArgumentDescription
limitMaximum number of attachments to process.
offsetStarting offset. Cannot be used with page.
pageStarting page, beginning at 1. Requires limit.
order-bySort by date, title, or filename.
orderasc or desc.

Processing writes a report to wp-content/mcloud-reports when reporting is enabled.

Provider notes

  • Amazon Rekognition requires the bucket to be in an AWS region where Rekognition is available. It uses the same credentials as the S3 storage provider.
  • Google Cloud Vision is available in the Pro version. It can be used with any storage provider, not just Google Cloud Storage.
  • Vision credentials are shared with the storage provider settings. Changing them in one place changes them for both tools.

Troubleshooting

ProblemLikely cause
No labels are appliedConfidence threshold is too high, the taxonomy does not exist, or the provider returned no labels.
Labels appear but no alt textThe Save Taxonomy options are off, or the attachment was processed before they were enabled.
Moderation terms are missingModeration detection is off, or the confidence threshold is too high.
Only some images were processedThe bulk task was limited or interrupted. Check the report and resume with --offset.
Face crops are wrongBoth face options are enabled, or the image has no detected face. Use one face option and re-process.

Need a hand with this guide?

Send support the exact step you’re stuck on and we’ll help you finish the setup.

Contact support
Start typing to search the docs

Escto close·⌘Kto open

View all results →