NanoNets
  1. OCR Predict
NanoNets
  • Image Classification Model Predict
    • Prediction for image File
      POST
    • Prediction for image URLs
      POST
  • Image Classification Model
    • Get Model by Id
      GET
    • Create New Model
      POST
    • Get All Models
      GET
  • Image Classification Model Train
    • Train Model
      POST
  • Image Classification Model Upload
    • Upload training images by File
      POST
    • Upload training images by Url
      POST
  • OCR Predict
    • Get Prediction File By Page ID
      GET
    • Get All Prediction Files
      GET
    • Get Prediction File By File ID
      GET
    • Prediction for image file
      POST
    • Async Prediction for image file
      POST
    • Prediction for image url
      POST
    • Async Prediction for image url
      POST
  • Get Full Text
    • Get Full Text
      POST
  • OCR Model
    • Create New Model
      POST
    • Get Model by Id
      GET
  • OCR Train
    • Train Model
      POST
  • OCR Upload
    • Upload training images by File
      POST
    • Upload training images by Url
      POST
  1. OCR Predict

Get All Prediction Files

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/Inferences/Model/{model_id}/ImageLevelInferences
This endpoint retrieves the files that have been processed by the prediction endpoints

请求参数

Path 参数

Query 参数

返回响应

🟢200Images Object
application/json
Body

🟠404Model does not exists. Check if you have entered correct model id with valid API key
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://dev-cn.your-api-server.com/Inferences/Model//ImageLevelInferences?start_day_interval={start_day}&current_batch_day={end_day}'
响应示例响应示例
200 - response
{
    "moderated_images": [
        {
            "day_since_epoch": 18564,
            "file_url": "uploadedfiles/00000000-0000-0000-0000-000000000000/PredictionImages/original_file_name-xxxx.jpeg",
            "hour_of_day": 15,
            "id": "00000000-0000-0000-0000-000000000000",
            "is_moderated": true,
            "model_id": "category1",
            "predicted_boxes": [
                {
                    "label": "invoice_id",
                    "ocr_text": "877541",
                    "xmax": 984,
                    "xmin": 616,
                    "ymax": 357,
                    "ymin": 321
                }
            ],
            "url": "uploadedfiles/00000000-0000-0000-0000-000000000000/PredictionImages/0000000001.jpeg"
        }
    ],
    "moderated_images_count": 55,
    "unmoderated_images": [
        {
            "day_since_epoch": 18565,
            "file_url": "uploadedfiles/00000000-0000-0000-0000-000000000000/PredictionImages/original_file_name-xxxx.jpeg",
            "hour_of_day": 23,
            "id": "00000000-0000-0000-0000-000000000000",
            "is_moderated": false,
            "model_id": "00000000-0000-0000-0000-000000000000",
            "predicted_boxes": [
                {
                    "label": "seller_name",
                    "ocr_text": "Apple",
                    "xmax": 984,
                    "xmin": 616,
                    "ymax": 357,
                    "ymin": 321
                }
            ],
            "url": "uploadedfiles/00000000-0000-0000-0000-000000000000/PredictionImages/0000000002.jpeg"
        }
    ],
    "unmoderated_images_count": 156
}
修改于 2024-05-29 05:52:24
上一页
Get Prediction File By Page ID
下一页
Get Prediction File By File ID
Built with