Skip to content

jameno/lost-pet-comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

About

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

Setup

Ensure you create your .env file and add your OPENAI_API_KEY. Replace the image files with any two images you like.

Examples

Screenshot 2025-01-16 at 7 27 17 PM Screenshot 2025-01-16 at 7 27 25 PM Screenshot 2025-01-16 at 7 27 32 PM

How it works

  1. Passes 2 pet images to OpenAI API for GPT-4o (which includes vision capabilities)
  2. Uses the JSON Schema to perform an analysis of the images for comparison and output a 0-100 similarity score

About

Help reunite pets with their humans during the January 2025 Southern California wildfires. Calculate the similarity between two pet pictures

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors