Vision Options
Configure label detection, moderation, faces, alt text and captions, and bulk-process the library with Amazon Rekognition or Google Cloud Vision.
Vision options control what Media Cloud does with the labels, moderation results, and faces returned by Amazon Rekognition or Google Cloud Vision.
Detection options
| Option | Providers | Description |
|---|---|---|
| Detect Labels | Rekognition, Google Vision | Detect objects, scenes, and concepts and apply them as taxonomy terms. |
| Detect Labels Taxonomy | Rekognition, Google Vision | Taxonomy that receives the detected labels. |
| Detect Labels Confidence | Rekognition, Google Vision | Minimum confidence (0–100) for applying a label. Default 70. |
| Detect Moderation Labels | Rekognition, Google Vision | Detect explicit or suggestive content. |
| Detect Moderation Labels Taxonomy | Rekognition, Google Vision | Taxonomy that receives moderation labels. |
| Detect Moderation Labels Confidence | Rekognition, Google Vision | Minimum confidence for moderation labels. Default 70. |
| Detect Faces | Rekognition, Google Vision | Store detected face metadata. With Imgix, use it for face-centered crops. |
| Detect Celebrity Faces | Rekognition | Detect celebrity and non-celebrity faces. Do not enable both face options; they overwrite each other. |
| Detect Celebrity Faces Taxonomy | Rekognition | Taxonomy that receives celebrity face labels. |
| Ignored Tags | Rekognition, Google Vision | Comma-separated labels to discard. |
Writing results into WordPress
| Option | Description |
|---|---|
| Save Taxonomy to Alt Text | Use the detected labels as the attachment’s alt text. |
| Save Taxonomy to Caption | Use the detected labels as the attachment’s caption. |
| Save Taxonomy to Description | Use the detected labels as the attachment’s description. |
| Taxonomy Prefix Text | Text prefixed to labels written into alt text, caption, or description. |
| Force Term Count | Include 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]
| Argument | Description |
|---|---|
limit | Maximum number of attachments to process. |
offset | Starting offset. Cannot be used with page. |
page | Starting page, beginning at 1. Requires limit. |
order-by | Sort by date, title, or filename. |
order | asc 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
| Problem | Likely cause |
|---|---|
| No labels are applied | Confidence threshold is too high, the taxonomy does not exist, or the provider returned no labels. |
| Labels appear but no alt text | The Save Taxonomy options are off, or the attachment was processed before they were enabled. |
| Moderation terms are missing | Moderation detection is off, or the confidence threshold is too high. |
| Only some images were processed | The bulk task was limited or interrupted. Check the report and resume with --offset. |
| Face crops are wrong | Both 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.