**Use Case: **
Analyze images with multiple subjects. In this use case I have a bookshelf and am extracting and verifying book titles/authors from a bookshelf photo.
**How it works: **
-
Webhook receives an image url from a front end in which a user can upload a picture.
- In this use case, it is an image of a book shelf.
-
Edit Field (Set): Saves image in a consistent location so AI can find it.
-
Analyze Image: Image is analyzed.
- Extracts titles from the book spines
-
Code: Splits extracted subjects to single item to be able to validate each item separately.
- Books are individualized to their own entity
- **HTTP Request **validates each subject.
- Queries Google Books to validate books in case only partial titles were found.
-
Edit Field (Set): Tidies the result.
-
Code: Aggregates and deduplicates
- Titles and authors are aggregate into a list
-
Respond to Webhook returns list to front end
How to use:
Use with a frontend that can capture images and receive back the result. For this use case Supabase was used to store images from which the image analyzer could reference.