https://github.com/lenisha/oai-image-data-validate
OpenAI GPT 4V image
https://github.com/lenisha/oai-image-data-validate
Last synced: 3 months ago
JSON representation
OpenAI GPT 4V image
- Host: GitHub
- URL: https://github.com/lenisha/oai-image-data-validate
- Owner: lenisha
- Created: 2024-04-18T18:13:06.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-12T19:18:13.000Z (10 months ago)
- Last Synced: 2024-10-18T06:16:00.972Z (8 months ago)
- Language: Python
- Size: 463 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Count Cars
This workflow is designed to automate the counting of red cars in two separate images. The primary use of this flow is to accurately identify and tally the number of red cars present in each image and then compute the total count across both images.## Tools Utilized in the Flow
- **LLM tool**
- **Python tool**## Prerequisites for Executing the Flow
- **Image*: Images containing various claims to be analyzed.
- **Azure OpenAI Access**: Necessary credentials and access rights to Azure OpenAI GPT-4 Turbo with Vision.## Process Overview
- **Image Analysis**: Each image is independently analyzed by Azure OpenAI GPT-4 Turbo with Vision to count the number of red cars.
- **JSON Output**: The counts are output in JSON format, with a structure like: `{"red cars": }`.
- **Total Count Calculation**: The custom script reads the JSON outputs from both images and calculates the total number of red cars.## Knowledge Acquired from This Flow
- Integrating Azure OpenAI GPT-4 Turbo with Vision for specific image analysis tasks.
- Handling and parsing JSON data.
- Scripting to aggregate data from multiple sources.How to do tools/functions calling:
https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/function-calling?tabs=python-new
https://learn.microsoft.com/en-us/azure/machine-learning/prompt-flow/tools-reference/azure-open-ai-gpt-4v-tool?view=azureml-api-2https://learn.microsoft.com/en-us/azure/ai-studio/how-to/flow-process-image