Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Sector Endpoint

Đang mở
#5 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@ztnel đang làm issue này rồi.

Từ ngày 30/7/2021.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

endpoint model

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
    }
  ]
}
Ngôn ngữ chính
Python
Star
0
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của LEAP-Systems/api

Tất cả issue của LEAP-Systems/api

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.