Get Image Similarity Percentage
This is pre-built Action located under the @Generic Element Name. It instructs the Avo Assure Client to retrieve the similarity of the two Images in Percentage whose image path is provided in the input field and save the result in the given output variable.
Syntax
Input: <image1path>; <image2path>
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

Usecase/Example

Scenario: Comparing Images for Similarity
When you are testing an image recognition system that identifies similar images based on content. It’s crucial to verify how accurately the system can determine image similarity.
Input
Reference Image: An image of a cat.
Test Image: A different picture of a similar-looking cat.
Using the Action: By using the" Get Image Similarity Percentage " Action in this testing scenario, Avo Assure ensures that the image recognition system accurately assesses image similarity, which is vital for applications like image search and content management.
Expected Result
This Action needs to retrieve similarity of the two Images in Percentage and store it in Output Variable.
Output
The resulting Percentage is stored in the {result} output variable as 83.86927659874589, which can be utilized for display or other purposes.
Last updated
Was this helpful?