import * as $dara from '@darabonba/typescript'; export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions extends $dara.Model { /** * @remarks * The coordinates of the bounding box in the `[top-left x, top-left y, bottom-right x, bottom-right y]` format. The value range is 0 to 1000. The left value must be less than the right value, and the top value must be less than the bottom value. */ bbox2d?: number[]; /** * @remarks * The category of the target. For enumerated values, see the following table. * * @example * milk_powder */ label?: string; /** * @remarks * The confirmed short name or text, which contains up to 24 characters. This field is an empty string if the text is unclear. * * @example * Milk powder */ text?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding extends $dara.Model { /** * @remarks * The coverage of the grounding. Valid values: * - `complete`: The relevant visible targets are complete. * - `partial`: Only some targets are valid or recognizable. * * @example * complete */ coverage?: string; /** * @remarks * The array of targets, which contains up to 12 items. This array can be empty if no relevant targets are found. */ regions?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGroundingRegions[]; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult extends $dara.Model { /** * @remarks * The supplementary element grounding results. */ grounding?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResultGrounding; /** * @remarks * Indicates whether the image is recaptured. * * @example * true */ isFake?: boolean; /** * @remarks * Indicates whether the image is suspected to be recaptured. * * @example * true */ isSuspect?: boolean; /** * @remarks * The recapture status. Valid values: * - `0`: Non-recapture. * - `1`: Recapture. * - `2`: Suspected recapture. * * @example * 1 */ photoStatus?: number; /** * @remarks * The confidence score for recapture detection. * * @example * 0.89 */ score?: number; /** * @remarks * The detection type. The value is fixed to `boxCode`. * * @example * boxCode */ type?: string; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class MilkPowderCartonCodeRephotographyDetectionResponseBodyData extends $dara.Model { /** * @remarks * The details of the recapture detection result. */ result?: MilkPowderCartonCodeRephotographyDetectionResponseBodyDataResult; /** * @remarks * The usage information. The value is `{"ProcessingCount":1}` if the call is successful, or an empty object if the call fails. * * @example * {"ProcessingCount":1} */ usageMap?: { [key: string]: number; }; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); } export declare class MilkPowderCartonCodeRephotographyDetectionResponseBody extends $dara.Model { /** * @remarks * The error code. * * @example * success */ code?: string; /** * @remarks * The recapture detection result. */ data?: MilkPowderCartonCodeRephotographyDetectionResponseBodyData; /** * @remarks * The returned message or failure description. * * @example * Success */ message?: string; /** * @remarks * The request ID. * * @example * 70CBEFDF-BB17-1EB3-8A21-569F3124738F */ requestId?: string; /** * @remarks * Indicates whether the call is successful. * * @example * True */ success?: boolean; static names(): { [key: string]: string; }; static types(): { [key: string]: any; }; validate(): void; constructor(map?: { [key: string]: any; }); }