Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -503,3 +503,18 @@ components:
type: integer
ResultStatus:
type: integer

GlaresCheckParams:
title: "GlaresCheckParams"
type: object
properties:
imgMarginPart:
type: number
format: float
description: "Margin from the edges of the image. 0.35 = 35%"
example: 0.35
maxGlaringPart:
type: number
format: float
description: "The maximum allowable part of the area occupied by the glare. The same: 0.06 = 6%"
example: 0.0
2 changes: 2 additions & 0 deletions p-process.yml
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,8 @@ components:
type: array
items:
$ref: "./rt-image-quality.yml#/components/schemas/InputImageQualityChecks"
glaresCheckParams:
$ref: "./common.yml#/components/schemas/GlaresCheckParams"

ProcessRequestImage:
title: "ProcessRequestImage"
Expand Down