tencentcloud.MpsAiRecognitionTemplate
Explore with Pulumi AI
Provides a resource to create a mps ai_recognition_template
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const aiRecognitionTemplate = new tencentcloud.MpsAiRecognitionTemplate("aiRecognitionTemplate", {
asrFullTextConfigure: {
"switch": "OFF",
},
asrWordsConfigure: {
labelSets: [],
"switch": "OFF",
},
faceConfigure: {
defaultLibraryLabelSets: [
"entertainment",
"sport",
],
faceLibrary: "All",
score: 85,
"switch": "ON",
userDefineLibraryLabelSets: [],
},
ocrFullTextConfigure: {
"switch": "OFF",
},
ocrWordsConfigure: {
labelSets: [],
"switch": "OFF",
},
});
import pulumi
import pulumi_tencentcloud as tencentcloud
ai_recognition_template = tencentcloud.MpsAiRecognitionTemplate("aiRecognitionTemplate",
asr_full_text_configure={
"switch": "OFF",
},
asr_words_configure={
"label_sets": [],
"switch": "OFF",
},
face_configure={
"default_library_label_sets": [
"entertainment",
"sport",
],
"face_library": "All",
"score": 85,
"switch": "ON",
"user_define_library_label_sets": [],
},
ocr_full_text_configure={
"switch": "OFF",
},
ocr_words_configure={
"label_sets": [],
"switch": "OFF",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.NewMpsAiRecognitionTemplate(ctx, "aiRecognitionTemplate", &tencentcloud.MpsAiRecognitionTemplateArgs{
AsrFullTextConfigure: &tencentcloud.MpsAiRecognitionTemplateAsrFullTextConfigureArgs{
Switch: pulumi.String("OFF"),
},
AsrWordsConfigure: &tencentcloud.MpsAiRecognitionTemplateAsrWordsConfigureArgs{
LabelSets: pulumi.StringArray{},
Switch: pulumi.String("OFF"),
},
FaceConfigure: &tencentcloud.MpsAiRecognitionTemplateFaceConfigureArgs{
DefaultLibraryLabelSets: pulumi.StringArray{
pulumi.String("entertainment"),
pulumi.String("sport"),
},
FaceLibrary: pulumi.String("All"),
Score: pulumi.Float64(85),
Switch: pulumi.String("ON"),
UserDefineLibraryLabelSets: pulumi.StringArray{},
},
OcrFullTextConfigure: &tencentcloud.MpsAiRecognitionTemplateOcrFullTextConfigureArgs{
Switch: pulumi.String("OFF"),
},
OcrWordsConfigure: &tencentcloud.MpsAiRecognitionTemplateOcrWordsConfigureArgs{
LabelSets: pulumi.StringArray{},
Switch: pulumi.String("OFF"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var aiRecognitionTemplate = new Tencentcloud.MpsAiRecognitionTemplate("aiRecognitionTemplate", new()
{
AsrFullTextConfigure = new Tencentcloud.Inputs.MpsAiRecognitionTemplateAsrFullTextConfigureArgs
{
Switch = "OFF",
},
AsrWordsConfigure = new Tencentcloud.Inputs.MpsAiRecognitionTemplateAsrWordsConfigureArgs
{
LabelSets = new() { },
Switch = "OFF",
},
FaceConfigure = new Tencentcloud.Inputs.MpsAiRecognitionTemplateFaceConfigureArgs
{
DefaultLibraryLabelSets = new[]
{
"entertainment",
"sport",
},
FaceLibrary = "All",
Score = 85,
Switch = "ON",
UserDefineLibraryLabelSets = new() { },
},
OcrFullTextConfigure = new Tencentcloud.Inputs.MpsAiRecognitionTemplateOcrFullTextConfigureArgs
{
Switch = "OFF",
},
OcrWordsConfigure = new Tencentcloud.Inputs.MpsAiRecognitionTemplateOcrWordsConfigureArgs
{
LabelSets = new() { },
Switch = "OFF",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.MpsAiRecognitionTemplate;
import com.pulumi.tencentcloud.MpsAiRecognitionTemplateArgs;
import com.pulumi.tencentcloud.inputs.MpsAiRecognitionTemplateAsrFullTextConfigureArgs;
import com.pulumi.tencentcloud.inputs.MpsAiRecognitionTemplateAsrWordsConfigureArgs;
import com.pulumi.tencentcloud.inputs.MpsAiRecognitionTemplateFaceConfigureArgs;
import com.pulumi.tencentcloud.inputs.MpsAiRecognitionTemplateOcrFullTextConfigureArgs;
import com.pulumi.tencentcloud.inputs.MpsAiRecognitionTemplateOcrWordsConfigureArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var aiRecognitionTemplate = new MpsAiRecognitionTemplate("aiRecognitionTemplate", MpsAiRecognitionTemplateArgs.builder()
.asrFullTextConfigure(MpsAiRecognitionTemplateAsrFullTextConfigureArgs.builder()
.switch_("OFF")
.build())
.asrWordsConfigure(MpsAiRecognitionTemplateAsrWordsConfigureArgs.builder()
.labelSets()
.switch_("OFF")
.build())
.faceConfigure(MpsAiRecognitionTemplateFaceConfigureArgs.builder()
.defaultLibraryLabelSets(
"entertainment",
"sport")
.faceLibrary("All")
.score(85)
.switch_("ON")
.userDefineLibraryLabelSets()
.build())
.ocrFullTextConfigure(MpsAiRecognitionTemplateOcrFullTextConfigureArgs.builder()
.switch_("OFF")
.build())
.ocrWordsConfigure(MpsAiRecognitionTemplateOcrWordsConfigureArgs.builder()
.labelSets()
.switch_("OFF")
.build())
.build());
}
}
resources:
aiRecognitionTemplate:
type: tencentcloud:MpsAiRecognitionTemplate
properties:
asrFullTextConfigure:
switch: OFF
asrWordsConfigure:
labelSets: []
switch: OFF
faceConfigure:
defaultLibraryLabelSets:
- entertainment
- sport
faceLibrary: All
score: 85
switch: ON
userDefineLibraryLabelSets: []
ocrFullTextConfigure:
switch: OFF
ocrWordsConfigure:
labelSets: []
switch: OFF
Create MpsAiRecognitionTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MpsAiRecognitionTemplate(name: string, args?: MpsAiRecognitionTemplateArgs, opts?: CustomResourceOptions);
@overload
def MpsAiRecognitionTemplate(resource_name: str,
args: Optional[MpsAiRecognitionTemplateArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def MpsAiRecognitionTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
asr_full_text_configure: Optional[MpsAiRecognitionTemplateAsrFullTextConfigureArgs] = None,
asr_words_configure: Optional[MpsAiRecognitionTemplateAsrWordsConfigureArgs] = None,
comment: Optional[str] = None,
face_configure: Optional[MpsAiRecognitionTemplateFaceConfigureArgs] = None,
mps_ai_recognition_template_id: Optional[str] = None,
name: Optional[str] = None,
ocr_full_text_configure: Optional[MpsAiRecognitionTemplateOcrFullTextConfigureArgs] = None,
ocr_words_configure: Optional[MpsAiRecognitionTemplateOcrWordsConfigureArgs] = None)
func NewMpsAiRecognitionTemplate(ctx *Context, name string, args *MpsAiRecognitionTemplateArgs, opts ...ResourceOption) (*MpsAiRecognitionTemplate, error)
public MpsAiRecognitionTemplate(string name, MpsAiRecognitionTemplateArgs? args = null, CustomResourceOptions? opts = null)
public MpsAiRecognitionTemplate(String name, MpsAiRecognitionTemplateArgs args)
public MpsAiRecognitionTemplate(String name, MpsAiRecognitionTemplateArgs args, CustomResourceOptions options)
type: tencentcloud:MpsAiRecognitionTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args MpsAiRecognitionTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args MpsAiRecognitionTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args MpsAiRecognitionTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MpsAiRecognitionTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MpsAiRecognitionTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
MpsAiRecognitionTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The MpsAiRecognitionTemplate resource accepts the following input properties:
- Asr
Full MpsText Configure Ai Recognition Template Asr Full Text Configure - Asr full text recognition control parameters.
- Asr
Words MpsConfigure Ai Recognition Template Asr Words Configure - Asr word recognition control parameters.
- Comment string
- Ai recognition template description information, length limit: 256 characters.
- Face
Configure MpsAi Recognition Template Face Configure - Face recognition control parameters.
- Mps
Ai stringRecognition Template Id - ID of the resource.
- Name string
- Ai recognition template name, length limit: 64 characters.
- Ocr
Full MpsText Configure Ai Recognition Template Ocr Full Text Configure - Ocr full text control parameters.
- Ocr
Words MpsConfigure Ai Recognition Template Ocr Words Configure - Ocr words recognition control parameters.
- Asr
Full MpsText Configure Ai Recognition Template Asr Full Text Configure Args - Asr full text recognition control parameters.
- Asr
Words MpsConfigure Ai Recognition Template Asr Words Configure Args - Asr word recognition control parameters.
- Comment string
- Ai recognition template description information, length limit: 256 characters.
- Face
Configure MpsAi Recognition Template Face Configure Args - Face recognition control parameters.
- Mps
Ai stringRecognition Template Id - ID of the resource.
- Name string
- Ai recognition template name, length limit: 64 characters.
- Ocr
Full MpsText Configure Ai Recognition Template Ocr Full Text Configure Args - Ocr full text control parameters.
- Ocr
Words MpsConfigure Ai Recognition Template Ocr Words Configure Args - Ocr words recognition control parameters.
- asr
Full MpsText Configure Ai Recognition Template Asr Full Text Configure - Asr full text recognition control parameters.
- asr
Words MpsConfigure Ai Recognition Template Asr Words Configure - Asr word recognition control parameters.
- comment String
- Ai recognition template description information, length limit: 256 characters.
- face
Configure MpsAi Recognition Template Face Configure - Face recognition control parameters.
- mps
Ai StringRecognition Template Id - ID of the resource.
- name String
- Ai recognition template name, length limit: 64 characters.
- ocr
Full MpsText Configure Ai Recognition Template Ocr Full Text Configure - Ocr full text control parameters.
- ocr
Words MpsConfigure Ai Recognition Template Ocr Words Configure - Ocr words recognition control parameters.
- asr
Full MpsText Configure Ai Recognition Template Asr Full Text Configure - Asr full text recognition control parameters.
- asr
Words MpsConfigure Ai Recognition Template Asr Words Configure - Asr word recognition control parameters.
- comment string
- Ai recognition template description information, length limit: 256 characters.
- face
Configure MpsAi Recognition Template Face Configure - Face recognition control parameters.
- mps
Ai stringRecognition Template Id - ID of the resource.
- name string
- Ai recognition template name, length limit: 64 characters.
- ocr
Full MpsText Configure Ai Recognition Template Ocr Full Text Configure - Ocr full text control parameters.
- ocr
Words MpsConfigure Ai Recognition Template Ocr Words Configure - Ocr words recognition control parameters.
- asr_
full_ Mpstext_ configure Ai Recognition Template Asr Full Text Configure Args - Asr full text recognition control parameters.
- asr_
words_ Mpsconfigure Ai Recognition Template Asr Words Configure Args - Asr word recognition control parameters.
- comment str
- Ai recognition template description information, length limit: 256 characters.
- face_
configure MpsAi Recognition Template Face Configure Args - Face recognition control parameters.
- mps_
ai_ strrecognition_ template_ id - ID of the resource.
- name str
- Ai recognition template name, length limit: 64 characters.
- ocr_
full_ Mpstext_ configure Ai Recognition Template Ocr Full Text Configure Args - Ocr full text control parameters.
- ocr_
words_ Mpsconfigure Ai Recognition Template Ocr Words Configure Args - Ocr words recognition control parameters.
- asr
Full Property MapText Configure - Asr full text recognition control parameters.
- asr
Words Property MapConfigure - Asr word recognition control parameters.
- comment String
- Ai recognition template description information, length limit: 256 characters.
- face
Configure Property Map - Face recognition control parameters.
- mps
Ai StringRecognition Template Id - ID of the resource.
- name String
- Ai recognition template name, length limit: 64 characters.
- ocr
Full Property MapText Configure - Ocr full text control parameters.
- ocr
Words Property MapConfigure - Ocr words recognition control parameters.
Outputs
All input properties are implicitly available as output properties. Additionally, the MpsAiRecognitionTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing MpsAiRecognitionTemplate Resource
Get an existing MpsAiRecognitionTemplate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: MpsAiRecognitionTemplateState, opts?: CustomResourceOptions): MpsAiRecognitionTemplate
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
asr_full_text_configure: Optional[MpsAiRecognitionTemplateAsrFullTextConfigureArgs] = None,
asr_words_configure: Optional[MpsAiRecognitionTemplateAsrWordsConfigureArgs] = None,
comment: Optional[str] = None,
face_configure: Optional[MpsAiRecognitionTemplateFaceConfigureArgs] = None,
mps_ai_recognition_template_id: Optional[str] = None,
name: Optional[str] = None,
ocr_full_text_configure: Optional[MpsAiRecognitionTemplateOcrFullTextConfigureArgs] = None,
ocr_words_configure: Optional[MpsAiRecognitionTemplateOcrWordsConfigureArgs] = None) -> MpsAiRecognitionTemplate
func GetMpsAiRecognitionTemplate(ctx *Context, name string, id IDInput, state *MpsAiRecognitionTemplateState, opts ...ResourceOption) (*MpsAiRecognitionTemplate, error)
public static MpsAiRecognitionTemplate Get(string name, Input<string> id, MpsAiRecognitionTemplateState? state, CustomResourceOptions? opts = null)
public static MpsAiRecognitionTemplate get(String name, Output<String> id, MpsAiRecognitionTemplateState state, CustomResourceOptions options)
resources: _: type: tencentcloud:MpsAiRecognitionTemplate get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Asr
Full MpsText Configure Ai Recognition Template Asr Full Text Configure - Asr full text recognition control parameters.
- Asr
Words MpsConfigure Ai Recognition Template Asr Words Configure - Asr word recognition control parameters.
- Comment string
- Ai recognition template description information, length limit: 256 characters.
- Face
Configure MpsAi Recognition Template Face Configure - Face recognition control parameters.
- Mps
Ai stringRecognition Template Id - ID of the resource.
- Name string
- Ai recognition template name, length limit: 64 characters.
- Ocr
Full MpsText Configure Ai Recognition Template Ocr Full Text Configure - Ocr full text control parameters.
- Ocr
Words MpsConfigure Ai Recognition Template Ocr Words Configure - Ocr words recognition control parameters.
- Asr
Full MpsText Configure Ai Recognition Template Asr Full Text Configure Args - Asr full text recognition control parameters.
- Asr
Words MpsConfigure Ai Recognition Template Asr Words Configure Args - Asr word recognition control parameters.
- Comment string
- Ai recognition template description information, length limit: 256 characters.
- Face
Configure MpsAi Recognition Template Face Configure Args - Face recognition control parameters.
- Mps
Ai stringRecognition Template Id - ID of the resource.
- Name string
- Ai recognition template name, length limit: 64 characters.
- Ocr
Full MpsText Configure Ai Recognition Template Ocr Full Text Configure Args - Ocr full text control parameters.
- Ocr
Words MpsConfigure Ai Recognition Template Ocr Words Configure Args - Ocr words recognition control parameters.
- asr
Full MpsText Configure Ai Recognition Template Asr Full Text Configure - Asr full text recognition control parameters.
- asr
Words MpsConfigure Ai Recognition Template Asr Words Configure - Asr word recognition control parameters.
- comment String
- Ai recognition template description information, length limit: 256 characters.
- face
Configure MpsAi Recognition Template Face Configure - Face recognition control parameters.
- mps
Ai StringRecognition Template Id - ID of the resource.
- name String
- Ai recognition template name, length limit: 64 characters.
- ocr
Full MpsText Configure Ai Recognition Template Ocr Full Text Configure - Ocr full text control parameters.
- ocr
Words MpsConfigure Ai Recognition Template Ocr Words Configure - Ocr words recognition control parameters.
- asr
Full MpsText Configure Ai Recognition Template Asr Full Text Configure - Asr full text recognition control parameters.
- asr
Words MpsConfigure Ai Recognition Template Asr Words Configure - Asr word recognition control parameters.
- comment string
- Ai recognition template description information, length limit: 256 characters.
- face
Configure MpsAi Recognition Template Face Configure - Face recognition control parameters.
- mps
Ai stringRecognition Template Id - ID of the resource.
- name string
- Ai recognition template name, length limit: 64 characters.
- ocr
Full MpsText Configure Ai Recognition Template Ocr Full Text Configure - Ocr full text control parameters.
- ocr
Words MpsConfigure Ai Recognition Template Ocr Words Configure - Ocr words recognition control parameters.
- asr_
full_ Mpstext_ configure Ai Recognition Template Asr Full Text Configure Args - Asr full text recognition control parameters.
- asr_
words_ Mpsconfigure Ai Recognition Template Asr Words Configure Args - Asr word recognition control parameters.
- comment str
- Ai recognition template description information, length limit: 256 characters.
- face_
configure MpsAi Recognition Template Face Configure Args - Face recognition control parameters.
- mps_
ai_ strrecognition_ template_ id - ID of the resource.
- name str
- Ai recognition template name, length limit: 64 characters.
- ocr_
full_ Mpstext_ configure Ai Recognition Template Ocr Full Text Configure Args - Ocr full text control parameters.
- ocr_
words_ Mpsconfigure Ai Recognition Template Ocr Words Configure Args - Ocr words recognition control parameters.
- asr
Full Property MapText Configure - Asr full text recognition control parameters.
- asr
Words Property MapConfigure - Asr word recognition control parameters.
- comment String
- Ai recognition template description information, length limit: 256 characters.
- face
Configure Property Map - Face recognition control parameters.
- mps
Ai StringRecognition Template Id - ID of the resource.
- name String
- Ai recognition template name, length limit: 64 characters.
- ocr
Full Property MapText Configure - Ocr full text control parameters.
- ocr
Words Property MapConfigure - Ocr words recognition control parameters.
Supporting Types
MpsAiRecognitionTemplateAsrFullTextConfigure, MpsAiRecognitionTemplateAsrFullTextConfigureArgs
- Switch string
- Asr full text recognition task switch, optional value:ON/OFF.
- Subtitle
Format string - Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
- Switch string
- Asr full text recognition task switch, optional value:ON/OFF.
- Subtitle
Format string - Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
- switch_ String
- Asr full text recognition task switch, optional value:ON/OFF.
- subtitle
Format String - Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
- switch string
- Asr full text recognition task switch, optional value:ON/OFF.
- subtitle
Format string - Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
- switch str
- Asr full text recognition task switch, optional value:ON/OFF.
- subtitle_
format str - Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
- switch String
- Asr full text recognition task switch, optional value:ON/OFF.
- subtitle
Format String - Generated subtitle file format, if left blank or blank string means no subtitle file will be generated, optional value:vtt: Generate WebVTT subtitle files.
MpsAiRecognitionTemplateAsrWordsConfigure, MpsAiRecognitionTemplateAsrWordsConfigureArgs
- switch_ String
- Asr word recognition task switch, optional value:ON/OFF.
- label
Sets List<String> - Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
- switch str
- Asr word recognition task switch, optional value:ON/OFF.
- label_
sets Sequence[str] - Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
MpsAiRecognitionTemplateFaceConfigure, MpsAiRecognitionTemplateFaceConfigureArgs
- Switch string
- Ai face recognition task switch, optional value:ON/OFF.
- Default
Library List<string>Label Sets - Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
- Face
Library string - Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
- Score double
- Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
- User
Define List<string>Library Label Sets - User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
- Switch string
- Ai face recognition task switch, optional value:ON/OFF.
- Default
Library []stringLabel Sets - Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
- Face
Library string - Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
- Score float64
- Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
- User
Define []stringLibrary Label Sets - User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
- switch_ String
- Ai face recognition task switch, optional value:ON/OFF.
- default
Library List<String>Label Sets - Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
- face
Library String - Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
- score Double
- Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
- user
Define List<String>Library Label Sets - User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
- switch string
- Ai face recognition task switch, optional value:ON/OFF.
- default
Library string[]Label Sets - Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
- face
Library string - Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
- score number
- Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
- user
Define string[]Library Label Sets - User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
- switch str
- Ai face recognition task switch, optional value:ON/OFF.
- default_
library_ Sequence[str]label_ sets - Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
- face_
library str - Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
- score float
- Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
- user_
define_ Sequence[str]library_ label_ sets - User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
- switch String
- Ai face recognition task switch, optional value:ON/OFF.
- default
Library List<String>Label Sets - Default face filter tag, specify the tag of the default face that needs to be returned. If not filled or empty, all default face results will be returned. Label optional value:entertainment, sport, politician.
- face
Library String - Face library selection, optional value:Default, UserDefine, AllDefault value: All, use the system default face library and user-defined face library.
- score Number
- Face recognition filter score, when the recognition result reaches the score above, the recognition result will be returned. The default is 95 points. Value range: 0 - 100.
- user
Define List<String>Library Label Sets - User-defined face filter tag, specify the tag of the user-defined face that needs to be returned. If not filled or empty, all custom face results will be returned.The maximum number of tags is 100, and the length of each tag is up to 16 characters.
MpsAiRecognitionTemplateOcrFullTextConfigure, MpsAiRecognitionTemplateOcrFullTextConfigureArgs
- Switch string
- Ocr full text recognition task switch, optional value:ON/OFF.
- Switch string
- Ocr full text recognition task switch, optional value:ON/OFF.
- switch_ String
- Ocr full text recognition task switch, optional value:ON/OFF.
- switch string
- Ocr full text recognition task switch, optional value:ON/OFF.
- switch str
- Ocr full text recognition task switch, optional value:ON/OFF.
- switch String
- Ocr full text recognition task switch, optional value:ON/OFF.
MpsAiRecognitionTemplateOcrWordsConfigure, MpsAiRecognitionTemplateOcrWordsConfigureArgs
- Switch string
- Ocr words recognition task switch, optional value:ON/OFF.
- Label
Sets List<string> - Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
- switch_ String
- Ocr words recognition task switch, optional value:ON/OFF.
- label
Sets List<String> - Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
- switch str
- Ocr words recognition task switch, optional value:ON/OFF.
- label_
sets Sequence[str] - Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
- switch String
- Ocr words recognition task switch, optional value:ON/OFF.
- label
Sets List<String> - Keyword filter label, specify the label of the keyword to be returned. If not filled or empty, all results will be returned.The maximum number of tags is 10, and the length of each tag is up to 16 characters.
Import
mps ai_recognition_template can be imported using the id, e.g.
$ pulumi import tencentcloud:index/mpsAiRecognitionTemplate:MpsAiRecognitionTemplate ai_recognition_template ai_recognition_template_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.