Spaces:
Running
Running
Update README.md
Browse files
README.md
CHANGED
@@ -1,55 +1,69 @@
|
|
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 |
[will be added](#)
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
title: Nano AI Image Analyzer
|
4 |
+
sdk: streamlit
|
5 |
+
emoji: π
|
6 |
+
colorFrom: indigo
|
7 |
+
colorTo: red
|
8 |
+
pinned: false
|
9 |
+
short_description: analyze image using gen ai
|
10 |
+
---
|
11 |
+
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
+
# π± Nano AI Image Analyzer
|
16 |
+
|
17 |
+
this is a Gen-AI project. that utilizes various AI models to analyze a picture.
|
18 |
+
|
19 |
+
### steps
|
20 |
+
1. create your virtual environment (venv) [optional]
|
21 |
+
> Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser <br/>
|
22 |
+
> .\venv\Scripts\Activate.ps1 #powershell <br/>
|
23 |
+
> venv\Scripts\activate.bat #cmd <br/>
|
24 |
+
|
25 |
+
1. install all modules under `requirements.txt` using -->
|
26 |
+
> pip install -r requirements.txt
|
27 |
+
|
28 |
+
2. run the app using
|
29 |
+
> streamlit run app.py <br/>
|
30 |
+
|
31 |
+
make sure to check `.streamlit/config.toml` for your streamlit settings
|
32 |
+
|
33 |
+
|
34 |
+
## features offered
|
35 |
+
|
36 |
+
<h3>π Detect Objects</h3>
|
37 |
+
detects person, car, watch, TV etc <br/>
|
38 |
+
creates a bounded box around it <br />
|
39 |
+
provides a table with rows representing object type, box coordinates, score
|
40 |
+
|
41 |
+
<h3>π Describe Image</h3>
|
42 |
+
generates a very small caption
|
43 |
+
|
44 |
+
<h3>π Generate Story</h3>
|
45 |
+
creates a story based on caption
|
46 |
+
|
47 |
+
<h3>π¬ Chat system</h3>
|
48 |
+
ask about image
|
49 |
+
|
50 |
+
|
51 |
+
## models used π€π»
|
52 |
+
why don't you read the `apps.py`? π
|
53 |
+
|
54 |
+
## file structure
|
55 |
+
```
|
56 |
+
|-- .streamlit
|
57 |
+
| |-- config.toml --> streamlit configuration
|
58 |
+
|
|
59 |
+
|-- app.py --> main app
|
60 |
+
|-- functions.py --> functions used in the app. (it is not a module)
|
61 |
+
|-- instruction.txt --> draft of README.md
|
62 |
+
|-- requirements.txt --> all the pakages under venv. generated using `pip freeze`
|
63 |
+
|-- type2.py \
|
64 |
+
|-- type3.py --> some extra template i used while developing
|
65 |
+
|-- type4.py /
|
66 |
+
```
|
67 |
+
|
68 |
+
## link of streamlit cloud
|
69 |
[will be added](#)
|