Spaces:
Running
Running
File size: 1,683 Bytes
0d84d65 66c9358 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
---
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 <br/>
> .\venv\Scripts\Activate.ps1 #powershell <br/>
> venv\Scripts\activate.bat #cmd <br/>
1. install all modules under `requirements.txt` using -->
> pip install -r requirements.txt
2. run the app using
> streamlit run app.py <br/>
make sure to check `.streamlit/config.toml` for your streamlit settings
## features offered
<h3>π Detect Objects</h3>
detects person, car, watch, TV etc <br/>
creates a bounded box around it <br />
provides a table with rows representing object type, box coordinates, score
<h3>π Describe Image</h3>
generates a very small caption
<h3>π Generate Story</h3>
creates a story based on caption
<h3>π¬ Chat system</h3>
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](#) |