Skip to content

Instantly share code, notes, and snippets.

View djoguns's full-sized avatar
💭
Data Journeyman!

Dayo Oguntoyinbo djoguns

💭
Data Journeyman!
  • Amazon Web Services
  • London, United Kingdom
  • 09:46 (UTC)
View GitHub Profile
@t04glovern
t04glovern / rtsp_claude3_haiku_bedrock.py
Last active March 17, 2024 11:15
This script captures images from an RTSP stream at regular intervals and uses the Claude 3 Haiku model to generate descriptions based on a custom prompt.
#!/usr/bin/env python3
"""
This script captures images from an RTSP stream at regular intervals and uses
the Claude 3 Haiku model to generate descriptions based on a custom prompt.
Install:
python3 -m venv .venv
source .venv/bin/activate
pip3 install boto3==1.34.62 opencv-python-headless==4.9.0.80