Sector Endpoint
@ztnel is already working on this.
Since Jul 30, 2021.
Assessment
This issue has not been assessed yet.
Description
Description
Endpoint
/v1/sector/<id>
GET endpoint for retrieving bounding box image measurements. Will return the sector resource as a model when available. This endpoint must support polling and so if the algorithm is still in progress the endpoint should return status code 202 Accepted with a status indicator in the header. see https://benramsey.com/blog/2008/04/http-status-201-created-vs-202-accepted/.
Model
Sector models will have the following fields once populated in mongo:
{
"id": "dskladnasdknsldnal",
"capture_id": "49uoujndklsand",
"created_at": "2021-07-11",
"updated_at": "2021-07-11",
"elapsed": 2.34,
"threshold": null,
"gaussian_blur": null,
"erosion_iterations": null,
"dialation_iterations": null,
"boxes": [
{
"tl_x": 10,
"tl_y": 40,
"width": 23,
"height": 43
},
{
"tl_x": 50,
"tl_y": 50,
"width": 46,
"height": 54
}
]
}
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LEAP-Systems/api
-
invalid
LEAP-Systems/api#20 · 1 assignee ·
-
enhancement model
LEAP-Systems/api#18 · 1 assignee ·
-
enhancement
LEAP-Systems/api#10 · 1 assignee ·
-
auth endpoint model
LEAP-Systems/api#7 · 1 assignee ·
-
Sessions Openendpoint model
LEAP-Systems/api#6 · 1 assignee ·
All issues in LEAP-Systems/api
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
xinnan-tech/xiaozhi-fde-talk#263 ·
-
rules
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
huggingface/Repo2RLEnv#163 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 95/100
huggingface/sentence-transformers#4074 ·
-
comp/dashboard invalid P3
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
NousResearch/hermes-agent#121143 ·