The InputFile parameter specifies the input file in OSS. The FpShotConfig parameter specifies media fingerprint settings such as the primary key, storage type, and similarity threshold.
InputFile details
|
Parameter |
Type |
Required |
Description |
|
Bucket |
String |
Yes |
The OSS bucket that stores the input file. For more information, see OSS bucket. |
|
Location |
String |
Yes |
The region of the OSS bucket that stores the input file. For more information, see OSS region. Set the value to oss-cn-shanghai. |
|
Object |
String |
No |
The OSS object used as the input file. The object URL must be UTF-8 encoded, with reserved characters percent-encoded. For more information, see OSS object. |
FpShotConfig details
|
Parameter |
Type |
Required |
Description |
|
PrimaryKey |
String |
Yes |
The primary key of the video. Each primary key must be unique. |
|
SaveType |
String |
Yes |
The storage type. Valid values:
|
|
FpDBId |
String |
No |
The ID of the fingerprint library. If not specified, the default library is used. |
|
TextType |
String |
No |
The text type. Requires a Text DNA. Valid values:
|
|
SimilarityThreshold |
Float |
No |
The similarity threshold when `SaveType` is set to `save`.
|