image-analysis / README.md
zerishdorelser's picture
Update README.md
0d84d65 verified

A newer version of the Streamlit SDK is available: 1.45.1

Upgrade
metadata
license: mit
title: Nano AI Image Analyzer
sdk: streamlit
emoji: πŸ“ˆ
colorFrom: indigo
colorTo: red
pinned: false
short_description: analyze image using gen ai

πŸ“± Nano AI Image Analyzer

this is a Gen-AI project. that utilizes various AI models to analyze a picture.

steps

  1. create your virtual environment (venv) [optional]

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
    .\venv\Scripts\Activate.ps1 #powershell
    venv\Scripts\activate.bat #cmd

  2. install all modules under requirements.txt using -->

    pip install -r requirements.txt

  3. run the app using

    streamlit run app.py

    make sure to check .streamlit/config.toml for your streamlit settings

features offered

πŸ” Detect Objects

detects person, car, watch, TV etc
creates a bounded box around it
provides a table with rows representing object type, box coordinates, score

πŸ“ Describe Image

generates a very small caption

πŸ“– Generate Story

creates a story based on caption

πŸ’¬ Chat system

ask about image

models used πŸ€–πŸ’»

why don't you read the apps.py? 😁

file structure

|-- .streamlit
|    |-- config.toml  --> streamlit configuration
|
|-- app.py   --> main app
|-- functions.py --> functions used in the app. (it is not a module)
|-- instruction.txt  --> draft of README.md
|-- requirements.txt --> all the pakages under venv. generated using `pip freeze`
|-- type2.py \
|-- type3.py  --> some extra template i used while developing
|-- type4.py /

link of streamlit cloud

will be added