{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-fine-text-detection-result-schema.json",
  "title": "FineTextDetectionResult",
  "description": "Result of an operation to detect text in a photo",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-recognize-api-openapi.yml#/components/schemas/FineTextDetectionResult",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if the operation was successful, false otherwise",
      "type": "boolean"
    },
    "TextItems": {
      "description": "Text items found in the input image",
      "type": "array",
      "items": {
        "$ref": "#/$defs/FineTextItem"
      }
    },
    "TextItemsCount": {
      "format": "int32",
      "description": "Count of text items found in the input image",
      "type": "integer"
    }
  },
  "$defs": {
    "FineTextItem": {
      "description": "Individual instance of text occuring in an image; one piece of text",
      "type": "object",
      "properties": {
        "DetectedText": {
          "description": "Detected text in the image",
          "type": "string"
        },
        "TopLeftX": {
          "format": "int32",
          "description": "X coordinate of the top/left text location; 0 represents the left edge of the input image",
          "type": "integer"
        },
        "TopLeftY": {
          "format": "int32",
          "description": "Y coordinate of the top/left text location; 0 represents the top edge of the input image",
          "type": "integer"
        },
        "TopRightX": {
          "format": "int32",
          "description": "X coordinate of the top/right text location; 0 represents the left edge of the input image",
          "type": "integer"
        },
        "TopRightY": {
          "format": "int32",
          "description": "Y coordinate of the top/right text location; 0 represents the top edge of the input image",
          "type": "integer"
        },
        "BottomLeftX": {
          "format": "int32",
          "description": "X coordinate of the bottom/left text location; 0 represents the left edge of the input image",
          "type": "integer"
        },
        "BottomLeftY": {
          "format": "int32",
          "description": "Y coordinate of the bottom/left text location; 0 represents the top edge of the input image",
          "type": "integer"
        },
        "BottomRightX": {
          "format": "int32",
          "description": "X coordinate of the bottom/right text location; 0 represents the left edge of the input image",
          "type": "integer"
        },
        "BottomRightY": {
          "format": "int32",
          "description": "Y coordinate of the bottom/right text location; 0 represents the top edge of the input image",
          "type": "integer"
        },
        "Width": {
          "format": "int32",
          "description": "Width in pixels of the text",
          "type": "integer"
        },
        "Height": {
          "format": "int32",
          "description": "Height in pixels of the text",
          "type": "integer"
        },
        "Angle": {
          "format": "double",
          "description": "Rotation Angle in radians of the text",
          "type": "number"
        }
      }
    }
  }
}