Hello,
I need to verify my uploaded image like if I am selecting wall from the dropdown and upload sky image then it should throw error .The content of the uploaded image is related to wall only . and I don't want to compare any images I need to verify that uploaded image is correct or not
Thanks,
Shivani More
Hello Shivani,
What you have asked is not available out of box from OutSystems.
However, you can achieve this functionality by integrating an image recognition or computer vision API that supports content classification. APIs provided by major cloud providers like AWS Rekognition, Google Cloud Vision, or Microsoft Azure Computer Vision can analyze images and return labels describing the content of the image. After receiving the category from the user (e.g., "wall"), when an image is uploaded, you would send this image to the chosen image recognition API. The API will analyze the image content and return labels or tags indicating what the image contains. Compare the API's returned labels with the expected category. If the labels match the selected category (or closely related categories you define as acceptable), proceed with the upload. If not, return an error message to the user indicating the mismatch.
OutSystems forge has component that integrate with these providers.
1. https://www.outsystems.com/forge/component-overview/11672/amazon-rekognition-connector-o11
2. https://www.outsystems.com/forge/component-overview/1572/google-cloud-vision-ocr-o11
3. https://www.outsystems.com/forge/component-overview/1428/azure-cognitive-services-connector-o11
Hi,
you can refer this post to compare images.
https://www.outsystems.com/forums/discussion/75481/image-verification/
Regards,Wasimkhan S
Hi Shivani,
Since your question involves understanding an image and providing an answer, you can very well try leveraging the OpenAI Vision APIs. Please refer to the URL
https://platform.openai.com/docs/guides/vision
Mr. Siya's response seem to be more elaborate. Guess that can definitely help you.
Regards,
Krishnnambal S