|
1 | 1 | # Describe an image using OCI AI Vision Service and OCI Generative AI Service
|
2 | 2 |
|
3 |
| -## Introduction |
| 3 | +# Introduction |
4 | 4 | In this article, we'll explore how to describe an image using OCI AI Vision Service and OCI Generative AI Service.
|
5 |
| -The application is developed using Oracle VBCS, OIC , OCI AI Vision service and OCI Generative AI Service. |
6 |
| -This integrated approach combines the strength of OCI AI Vision and OCI Generative AI Service, allowing for an efficient and insightful summarization of image content. |
| 5 | +The application is developed using Oracle VBCS, OIC, OCI AI Vision service, and OCI Generative AI Service. |
| 6 | +This integrated approach combines the strength of OCI AI Vision and OCI Generative AI Service, allowing for efficient and insightful summarization of image content. |
7 | 7 |
|
8 |
| -<img src="./AIVisionApp.jpg> |
9 |
| -</img> |
| 8 | +Reviewed: 21.02.2024 |
10 | 9 |
|
11 |
| -## Prerequisites |
| 10 | +<img src="./AIVisionApp.jpg></img> |
12 | 11 |
|
13 |
| -Before getting started, make sure you have the access to these services: |
| 12 | +# Prerequisites |
| 13 | + |
| 14 | +Before getting started, make sure you have access to these services: |
14 | 15 |
|
15 | 16 | - Oracle Generative AI Service
|
16 | 17 | - Oracle Vision Service
|
17 | 18 | - Oracle Visual Builder Cloud Service
|
18 | 19 | - Oracle Integration Cloud
|
19 | 20 |
|
20 |
| -## AI Vision and OCI Generative AI Service Integration Architecture |
| 21 | +# AI Vision and OCI Generative AI Service Integration Architecture |
| 22 | + |
21 | 23 | 1. AI Vision App using VBCS
|
22 |
| - o Oracle Visual Builder Cloud Service (VBCS) is a hosted environment for your application development infrastructure. It provides an open-source standards-based development service to create, collaborate on, and deploy applications within Oracle Cloud. This application is developed in VBCS. |
23 |
| -2. Image Analysis with OCI AI Vision Service: |
24 |
| - o The AI Vision service is employed to analyse images. |
25 |
| - o It identifies objects within the image by using advanced computer vision algorithms. |
26 |
| -3. Integration with OCI Generative AI Service: |
27 |
| - o The extracted object keywords are sent to the OCI Generative AI Service |
28 |
| -4. Integration with OCI AI Vision and OCI Generative AI Service using OIC: |
29 |
| - o Oracle Integration Cloud is used to integrate VBCS app and OCI AI Services. |
30 |
| -5. Summarization Process: |
31 |
| - o OCI Generative AI Service generates text using the keywords received from OCI Vision service, to create a concise summary of the image. |
32 |
| - |
33 |
| - |
34 |
| -<img src="./AIVisionAppArch.svg> |
35 |
| -</img> |
36 |
| - |
37 |
| -## Application Flow in Detail (VBCS, OIC, OCI Vision, OCI Generative AI Service) |
| 24 | +- Oracle Visual Builder Cloud Service (VBCS) is a hosted environment for your application development infrastructure. It provides an open-source standards-based development service to create, collaborate on, and deploy applications within Oracle Cloud. This application is developed in VBCS. |
| 25 | + |
| 26 | +2. Image Analysis with OCI AI Vision Service: |
| 27 | +- The AI Vision service is employed to analyze images. |
| 28 | +- It identifies objects within the image by using advanced computer vision algorithms. |
| 29 | + |
| 30 | +3. Integration with OCI Generative AI Service: |
| 31 | +- The extracted object keywords are sent to the OCI Generative AI Service |
| 32 | + |
| 33 | +4. Integration with OCI AI Vision and OCI Generative AI Service using OIC: |
| 34 | +- Oracle Integration Cloud integrates the VBCS app and OCI AI Services. |
| 35 | + |
| 36 | +5. Summarization Process: |
| 37 | +- OCI Generative AI Service generates text using the keywords received from OCI Vision service, to create a concise summary of the image. |
| 38 | + |
| 39 | +<img src="./AIVisionAppArch.svg></img> |
| 40 | + |
| 41 | +# Application Flow in Detail (VBCS, OIC, OCI Vision, OCI Generative AI Service) |
38 | 42 | In this application,
|
39 | 43 | • The File Picker action in VBCS allows the user to select the image.
|
40 | 44 | • Create an integration process in Oracle Integration Cloud (OIC) to handle the communication between VBCS and OCI Vision Service.
|
41 |
| - • Pass the selected image from VBCS to OCI Vision Service to analyse the image. |
| 45 | + • Pass the selected image from VBCS to OCI Vision Service to analyze the image. |
42 | 46 | • OCI Vision Service analyzes the image and identifies objects within it.
|
43 | 47 | • The OCI Vision Service returns the detected objects (keywords) to the OIC integration process and returns the results to VBCS.
|
44 | 48 |
|
@@ -68,17 +72,16 @@ Before getting started, make sure you have the access to these services:
|
68 | 72 | <img src="./OIC_GenerateSummary.jpg">
|
69 | 73 | </img>
|
70 | 74 |
|
71 |
| -## Code |
| 75 | +# Code |
72 | 76 | VBCS app - ImageClassification-1.0.zip
|
73 | 77 | OIC Vision Integration - RESTVISION_01.00.0000.iar
|
74 | 78 | OIC Generate Summary - IMAGEDESCRIPTIONGENERATION_01.00.0000.iar
|
75 | 79 |
|
76 |
| -## Conclusion |
| 80 | +# Conclusion |
77 | 81 |
|
78 |
| -In this article, we've covered how to utilise Oracle AI Vision Service features to provide a summary of an image using Geneartive AI service . |
| 82 | +In this article, we've covered how to utilize Oracle AI Vision Service features to provide a summary of an image using Generative AI service. |
79 | 83 | Feel free to modify and expand upon this template according to your specific use case and preferences.
|
80 | 84 |
|
81 |
| - |
82 | 85 | # License
|
83 | 86 |
|
84 | 87 | Copyright (c) 2024 Oracle and/or its affiliates.
|
|
0 commit comments