Calculate the similarity between two pet pictures
Created as a proof of concept tool that might be used to help reunite pets with their humans during the January 2025 Southern California wildfires
Ensure you create your .env file and add your OPENAI_API_KEY.
Replace the image files with any two images you like.
- Passes 2 pet images to OpenAI API for GPT-4o (which includes vision capabilities)
- Uses the JSON Schema to perform an
analysisof the images for comparison and output a 0-100similarityscore


