This topic describes the InputFile and FpShotConfig parameters in detail.
InputFile
Parameter | Type | Required | Description |
Bucket | String | Yes | The Object Storage Service (OSS) bucket that stores the input file. For more information, see the definition of an OSS bucket. |
Location | String | Yes | The region in which the OSS bucket that stores the input file resides. For more information, see the definition of an OSS region. Set the value to oss-cn-shanghai. |
Object | String | No | The OSS object that is used as the input file. The URL of the OSS object must be encoded in UTF-8, with reserved characters being percent-encoded. For more information, see the definition of an OSS object. |
FpShotConfig
Parameter | Type | Required | Description |
PrimaryKey | String | Yes | The primary key of the video. You must make sure that each primary key is unique. |
SaveType | String | Yes | The storage type. Valid values:
|
FpDBId | String | Yes | The ID of the media fingerprint library. |
TextType | String | No | The text type. This parameter is required for text fingerprint analysis. Valid values:
|
SimilarityThreshold | Float | No | The threshold for determining the similarity of the fingerprints of the input file with those in the media fingerprint library. This parameter is required if SaveType is set to save. Valid values: 0 to 1. |