1. Feedback Loop
  2. Additions
POST
https://api.sievedata.com/v1/feedback/add_object

Submit the additions of any objects the system completely missed. Feedback is specified in the additions parameter in the same format as the payloads returned by the /query endpoint. The system will automatically add the objects specified and then improve itself automatically based on the feedback.

The additions must specify the class of the object to be added along with at least one temporal bounding box position.

Parameters

ParameterTypeDescription
additionslistList of additions to make

Request

Terminal

            
              
              
            
            
          curl 'https://api.sievedata.com/v1/feedback/add_object' \
  -X POST \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "project_name": "YOUR_PROJECT_NAME"
    "video_name": "YOUR_VIDEO_NAME"
    "additions": [
      {
        "class": "dog",
        "temporal": [
          {
            "bbox": {
              "position": {
                "x1": 5,
                "x2": 50,
                "y1": 5,
                "y2": 10
              }
            },
            "frame_number": 5
          }
        ]
      }
    ]
  }'

Sample Response


            
              
              
            
            
          {
    "description": "successfully added 1 object.",
    "successful_additions": [12345],
}