Spaces:
Sleeping
Sleeping
Clement Vachet
commited on
Commit
·
4ab5c44
1
Parent(s):
6b1e33c
Add new github badges
Browse files
README.md
CHANGED
|
@@ -13,11 +13,15 @@ short_description: Object detection Lambda
|
|
| 13 |
# Object detection via AWS Lambda
|
| 14 |
|
| 15 |
[](https://www.python.org/downloads/)
|
|
|
|
| 16 |
[](https://github.com/psf/black)
|
| 17 |
[](https://github.com/pylint-dev/pylint)
|
| 18 |
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
|
| 22 |
Architecture:
|
| 23 |
- Front-end: user interface via Gradio library
|
|
@@ -26,11 +30,12 @@ Architecture:
|
|
| 26 |
You can try out our deployed [Hugging Face Space](https://huggingface.co/spaces/cvachet/object_detection_lambda
|
| 27 |
)!
|
| 28 |
|
| 29 |
-
|
|
|
|
| 30 |
- [Local development](#1-local-development)
|
| 31 |
- [AWS deployment](#2-deployment-to-aws)
|
| 32 |
- [Hugging Face deployment](#3-deployment-to-hugging-face)
|
| 33 |
-
|
| 34 |
|
| 35 |
## 1. Local development
|
| 36 |
|
|
@@ -54,7 +59,7 @@ bash
|
|
| 54 |
### 1.2. Execution via user interface
|
| 55 |
Use of Gradio library for web interface
|
| 56 |
|
| 57 |
-
|
| 58 |
> export AWS_API=http://localhost:8080
|
| 59 |
|
| 60 |
Command line for execution:
|
|
@@ -113,7 +118,7 @@ Example: ```object-detection-lambda```
|
|
| 113 |
|
| 114 |
<details>
|
| 115 |
|
| 116 |
-
|
| 117 |
- Create function from container image
|
| 118 |
|
| 119 |
Example name: ```object-detection```
|
|
@@ -132,7 +137,7 @@ Advanced notes:
|
|
| 132 |
|
| 133 |
<details>
|
| 134 |
|
| 135 |
-
|
| 136 |
- Create a new ```Rest API``` (e.g. ```object-detection-api```)
|
| 137 |
- Add a new resource to the API (e.g. ```/detect```)
|
| 138 |
- Add a ```POST``` method to the resource
|
|
|
|
| 13 |
# Object detection via AWS Lambda
|
| 14 |
|
| 15 |
[](https://www.python.org/downloads/)
|
| 16 |
+
[](https://hub.docker.com/repository/docker/cvachet/object-detection-lambda)
|
| 17 |
[](https://github.com/psf/black)
|
| 18 |
[](https://github.com/pylint-dev/pylint)
|
| 19 |
|
| 20 |
+

|
| 21 |
+

|
| 22 |
+

|
| 23 |
|
| 24 |
+
**Aim: AI-driven object detection task**
|
| 25 |
|
| 26 |
Architecture:
|
| 27 |
- Front-end: user interface via Gradio library
|
|
|
|
| 30 |
You can try out our deployed [Hugging Face Space](https://huggingface.co/spaces/cvachet/object_detection_lambda
|
| 31 |
)!
|
| 32 |
|
| 33 |
+
----
|
| 34 |
+
**Table of contents:**
|
| 35 |
- [Local development](#1-local-development)
|
| 36 |
- [AWS deployment](#2-deployment-to-aws)
|
| 37 |
- [Hugging Face deployment](#3-deployment-to-hugging-face)
|
| 38 |
+
----
|
| 39 |
|
| 40 |
## 1. Local development
|
| 41 |
|
|
|
|
| 59 |
### 1.2. Execution via user interface
|
| 60 |
Use of Gradio library for web interface
|
| 61 |
|
| 62 |
+
**Note:** The environment variable ```AWS_API``` should point to the local container
|
| 63 |
> export AWS_API=http://localhost:8080
|
| 64 |
|
| 65 |
Command line for execution:
|
|
|
|
| 118 |
|
| 119 |
<details>
|
| 120 |
|
| 121 |
+
**Steps**:
|
| 122 |
- Create function from container image
|
| 123 |
|
| 124 |
Example name: ```object-detection```
|
|
|
|
| 137 |
|
| 138 |
<details>
|
| 139 |
|
| 140 |
+
**Steps**:
|
| 141 |
- Create a new ```Rest API``` (e.g. ```object-detection-api```)
|
| 142 |
- Add a new resource to the API (e.g. ```/detect```)
|
| 143 |
- Add a ```POST``` method to the resource
|