# Calculate Perception Encoder Embeddings in Workflows

<figure><img src="https://2667452268-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMR3m936tBXGm5QsAcPwe%2Fuploads%2Fwsjr7cbUOJYl4D1TRtjE%2FScreenshot%202025-06-23%20at%2010.44.21.png?alt=media&#x26;token=bb70519e-62ea-42b2-84d9-36e262213eb6" alt=""><figcaption></figcaption></figure>

You can now calculate text and image embeddings with [Meta AI's Perception Encoder model](https://ai.meta.com/research/publications/perception-encoder-the-best-visual-embeddings-are-not-at-the-output-of-the-network/).

To use this feature, go to Roboflow Workflows and add a "Perception Encoder Embedding Model" block to your Workflow.

You can compare two embeddings using the Cosine Similarity block.
