generated from oracle-devrel/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ORDS-update-Jan2025-I
Showing
152 changed files
with
2,275 additions
and
558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Reporting security vulnerabilities | ||
|
||
Oracle values the independent security research community and believes that | ||
responsible disclosure of security vulnerabilities helps us ensure the security | ||
and privacy of all our users. | ||
|
||
Please do NOT raise a GitHub Issue to report a security vulnerability. If you | ||
believe you have found a security vulnerability, please submit a report to | ||
[secalert_us@oracle.com][1] preferably with a proof of concept. Please review | ||
some additional information on [how to report security vulnerabilities to Oracle][2]. | ||
We encourage people who contact Oracle Security to use email encryption using | ||
[our encryption key][3]. | ||
|
||
We ask that you do not use other channels or contact the project maintainers | ||
directly. | ||
|
||
Non-vulnerability related security issues including ideas for new or improved | ||
security features are welcome on GitHub Issues. | ||
|
||
## Security updates, alerts and bulletins | ||
|
||
Security updates will be released on a regular cadence. Many of our projects | ||
will typically release security fixes in conjunction with the | ||
Oracle Critical Patch Update program. Additional | ||
information, including past advisories, is available on our [security alerts][4] | ||
page. | ||
|
||
## Security-related information | ||
|
||
We will provide security related information such as a threat model, considerations | ||
for secure use, or any known security issues in our documentation. Please note | ||
that labs and sample code are intended to demonstrate a concept and may not be | ||
sufficiently hardened for production use. | ||
|
||
[1]: mailto:secalert_us@oracle.com | ||
[2]: https://www.oracle.com/corporate/security-practices/assurance/vulnerability/reporting.html | ||
[3]: https://www.oracle.com/security-alerts/encryptionkey.html | ||
[4]: https://www.oracle.com/security-alerts/ |
Binary file renamed
BIN
+1.32 MB
...or/files/vbcs_project/podcast_1_0-1.0.zip → ...generator/VBCS Project/podcast_ai-1.0.zip
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
98 changes: 98 additions & 0 deletions
98
ai/generative-ai-service/decode-Images-and-Videos-with-OCI-GenAI/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
|
||
# Decode Images and Videos with OCI GenAI | ||
|
||
This is an AI-powered application designed to unlock insights hidden within media files using the Oracle Cloud Infrastructure (OCI) Generative AI services. This application enables users to analyze images and videos, generating detailed summaries in multiple languages. Whether you are a content creator, researcher, or media enthusiast, this app helps you interpret visual content with ease. | ||
|
||
<img src="./image.png"> | ||
</img> | ||
--- | ||
|
||
## Features | ||
|
||
### 🌍 **Multi-Language Support** | ||
- Receive summaries in your preferred language, including: | ||
- English, French, Arabic, Spanish, Italian, German, Portuguese, Japanese, Korean, and Chinese. | ||
|
||
### 🎥 **Customizable Frame Processing for Videos** | ||
- Extract video frames at user-defined intervals. | ||
- Analyze specific frame ranges to tailor your results for precision. | ||
|
||
### ⚡ **Parallel Processing** | ||
- Uses efficient parallel computation for quick and accurate frame analysis. | ||
|
||
### 🖼️ **Image Analysis** | ||
- Upload images to generate detailed summaries based on your input prompt. | ||
|
||
### 🧠 **Cohesive Summaries** | ||
- Combines individual frame insights to create a seamless, cohesive summary of the video’s overall theme, events, and key details. | ||
|
||
--- | ||
|
||
## Technologies Used | ||
- **[Streamlit](https://streamlit.io/):** For building an interactive user interface. | ||
- **[Oracle Cloud Infrastructure (OCI) Generative AI](https://docs.oracle.com/en-us/iaas/Content/generative-ai/home.htm):** For powerful image and video content analysis. | ||
- **[OpenCV](https://opencv.org/):** For video frame extraction and processing. | ||
- **[Pillow (PIL)](https://pillow.readthedocs.io/):** For image handling and processing. | ||
- **[tqdm](https://tqdm.github.io/):** For progress visualization in parallel processing. | ||
|
||
--- | ||
|
||
## Installation | ||
|
||
1. **Clone the repository:** | ||
|
||
|
||
2. **Install dependencies:** | ||
Make sure you have Python 3.8+ installed. Then, install the required libraries: | ||
```bash | ||
pip install -r requirements.txt | ||
``` | ||
|
||
3. **Configure OCI:** | ||
- Set up your OCI configuration by creating or updating the `~/.oci/config` file with your credentials and profile. | ||
- Replace placeholders like `compartmentId`, `llm_service_endpoint`, and `visionModel` in the code with your actual values. | ||
|
||
--- | ||
|
||
## Usage | ||
|
||
1. **Run the application:** | ||
```bash | ||
streamlit run app.py | ||
``` | ||
|
||
2. **Upload a file:** | ||
- Use the sidebar to upload an image (`.png`, `.jpg`, `.jpeg`) or a video (`.mp4`, `.avi`, `.mov`). | ||
|
||
3. **Set parameters:** | ||
- For videos, adjust the frame extraction interval and select specific frame ranges for analysis. | ||
|
||
4. **Analyze and summarize:** | ||
- Enter a custom prompt to guide the AI in generating a meaningful summary. | ||
- Choose the output language from the sidebar. | ||
|
||
5. **Get results:** | ||
- View detailed image summaries or cohesive video summaries directly in the app. | ||
|
||
--- | ||
|
||
## Screenshots | ||
### Image Analysis | ||
<img src="./image2.png"> | ||
</img> | ||
|
||
### Video Analysis | ||
<img src="./image3.png"> | ||
</img> | ||
|
||
--- | ||
|
||
|
||
## Acknowledgments | ||
- Oracle Cloud Infrastructure Generative AI for enabling state-of-the-art visual content analysis. | ||
- Open-source libraries like OpenCV, Pillow, and Streamlit for providing powerful tools to build this application. | ||
|
||
--- | ||
|
||
## Contact | ||
If you have questions or feedback, feel free to reach out via [anshuman.p.panda@oracle.com](mailto:email@example.com). |
Oops, something went wrong.