Skip to content

Commit ac72da9

Browse files
authored
Update README.md
1 parent eab296c commit ac72da9

File tree

1 file changed

+25
-16
lines changed
  • ai/generative-ai-service/Video-Image-Analysis-using-Langchain

1 file changed

+25
-16
lines changed

ai/generative-ai-service/Video-Image-Analysis-using-Langchain/README.md

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ This is a Generative AI-powered application that analyzes frames from uploaded v
99
- Highlight frames flagged as inappropriate with detailed reasons and timecodes.
1010
- Adjust AI confidence threshold and frame extraction interval. (Effects the prompt for confidence)
1111

12-
## Prerequisites
13-
Before running the application, ensure you have:
14-
- Python 3.8 or later installed
15-
- An active Oracle Cloud Infrastructure (OCI) account
16-
- Required Python dependencies installed
17-
- OCI Generative AI model name and compartment ID
18-
19-
## How It Works
12+
## Getting Started
2013
1. **Upload Media:**
2114
- Users upload a video or image file for analysis.
2215
2. **Frame Extraction:**
@@ -28,14 +21,12 @@ Before running the application, ensure you have:
2821
- Inappropriate frames (based on confidence threshold) are displayed along with the reason and timecode.
2922
- A final PG-rating verdict is shown at the end.
3023

31-
## Example Output
32-
```json
33-
{
34-
"AgeAppropriate": "not-appropriate",
35-
"response": "Shows intense violence and blood spatter.",
36-
"ConfidenceLevel": 0.97
37-
}
38-
```
24+
## Prerequisites
25+
Before running the application, ensure you have:
26+
- Python 3.8 or later installed
27+
- An active Oracle Cloud Infrastructure (OCI) account
28+
- Required Python dependencies installed
29+
- OCI Generative AI model name and compartment ID
3930

4031
## Installation
4132
Clone this repository and navigate to the project directory:
@@ -68,3 +59,21 @@ streamlit run <script-name>.py
6859
```
6960

7061
Replace `<script-name>.py` with the filename of your main script (e.g., `video_analyzer.py`).
62+
63+
## Example Output
64+
```json
65+
{
66+
"AgeAppropriate": "not-appropriate",
67+
"response": "Shows intense violence and blood spatter.",
68+
"ConfidenceLevel": 0.97
69+
}
70+
```
71+
72+
## License
73+
Copyright (c) 2024 Oracle and/or its affiliates.
74+
75+
Licensed under the Universal Permissive License (UPL), Version 1.0.
76+
77+
See [LICENSE](LICENSE.txt) for more details.
78+
79+
ORACLE AND ITS AFFILIATES DO NOT PROVIDE ANY WARRANTY WHATSOEVER, EXPRESS OR IMPLIED, FOR ANY SOFTWARE, MATERIAL OR CONTENT OF ANY KIND CONTAINED OR PRODUCED WITHIN THIS REPOSITORY, AND IN PARTICULAR SPECIFICALLY DISCLAIM ANY AND ALL IMPLIED WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. FURTHERMORE, ORACLE AND ITS AFFILIATES DO NOT REPRESENT THAT ANY CUSTOMARY SECURITY REVIEW HAS BEEN PERFORMED WITH RESPECT TO ANY SOFTWARE, MATERIAL OR CONTENT CONTAINED OR PRODUCED WITHIN THIS REPOSITORY. IN ADDITION, AND WITHOUT LIMITING THE FOREGOING, THIRD PARTIES MAY HAVE POSTED SOFTWARE, MATERIAL OR CONTENT TO THIS REPOSITORY WITHOUT ANY REVIEW. USE AT YOUR OWN RISK.

0 commit comments

Comments
 (0)