blob: 0e1cab844be7b1d6c16148584bf438272c7f136d [file] [log] [blame]
{"component":{"kind":"component","name":"hwcloud-frs","title":"Huawei Cloud Face Recognition Service (FRS)","description":"Face Recognition Service (FRS) is an intelligent service that uses computers to process, analyze, and understand facial images based on human facial features.","deprecated":false,"firstVersion":"3.15.0","label":"cloud,messaging","javaType":"org.apache.camel.component.huaweicloud.frs.FaceRecognitionComponent","supportLevel":"Stable","groupId":"org.apache.camel","artifactId":"camel-huaweicloud-frs","version":"3.18.1","scheme":"hwcloud-frs","extendsScheme":"","syntax":"hwcloud-frs:operation","async":false,"api":false,"consumerOnly":false,"producerOnly":true,"lenientProperties":false},"properties":{"operation":{"kind":"path","displayName":"Operation name","group":"producer","label":"producer","required":true,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"Name of Face Recognition operation to perform, including faceDetection, faceVerification and faceLiveDetection"},"accessKey":{"kind":"parameter","displayName":"Account access key (AK)","group":"producer","label":"","required":true,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":true,"description":"Access key for the cloud user"},"actions":{"kind":"parameter","displayName":"actions","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param is mandatory when the operation is faceLiveDetection, indicating the action code sequence list. Actions are separated by commas (,). Currently, the following actions are supported: 1: Shake the head to the left. 2: Shake the head to the right. 3: Nod the head. 4: Mouth movement."},"actionTimes":{"kind":"parameter","displayName":"actionTime","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param can be used when the operation is faceLiveDetection, indicating the action time array. The length of the array is the same as the number of actions. Each item contains the start time and end time of the action in the corresponding sequence. The unit is the milliseconds from the video start time."},"anotherImageBase64":{"kind":"parameter","displayName":"anotherImageBase64","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param can be used when operation is faceVerification, indicating the Base64 character string converted from the other image. It needs to be configured if imageBase64 is set. The image size cannot exceed 10 MB. The image resolution of the narrow sides must be greater than 15 pixels, and that of the wide sides cannot exceed 4096 pixels. The supported image formats include JPG, PNG, and BMP."},"anotherImageFilePath":{"kind":"parameter","displayName":"anotherImageFilePath","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param can be used when operation is faceVerification, indicating the local file path of the other image. It needs to be configured if imageFilePath is set. Image size cannot exceed 8 MB, and it is recommended that the image size be less than 1 MB."},"anotherImageUrl":{"kind":"parameter","displayName":"anotherImageUrl","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param can be used when operation is faceVerification, indicating the URL of the other image. It needs to be configured if imageUrl is set. The options are as follows: 1.HTTP/HTTPS URLs on the public network 2.OBS URLs. To use OBS data, authorization is required, including service authorization, temporary authorization, and anonymous public authorization. For details, see Configuring the Access Permission of OBS."},"endpoint":{"kind":"parameter","displayName":"Service endpoint","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"Fully qualified Face Recognition service url. Carries higher precedence than region based configuration."},"imageBase64":{"kind":"parameter","displayName":"imageBase64","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param can be used when operation is faceDetection or faceVerification, indicating the Base64 character string converted from an image. Any one of imageBase64, imageUrl and imageFilePath needs to be set, and the priority is imageBase64 imageUrl imageFilePath. The Image size cannot exceed 10 MB. The image resolution of the narrow sides must be greater than 15 pixels, and that of the wide sides cannot exceed 4096 pixels. The supported image formats include JPG, PNG, and BMP."},"imageFilePath":{"kind":"parameter","displayName":"imageFilePath","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param can be used when operation is faceDetection or faceVerification, indicating the local image file path. Any one of imageBase64, imageUrl and imageFilePath needs to be set, and the priority is imageBase64 imageUrl imageFilePath. Image size cannot exceed 8 MB, and it is recommended that the image size be less than 1 MB."},"imageUrl":{"kind":"parameter","displayName":"imageUrl","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param can be used when operation is faceDetection or faceVerification, indicating the URL of an image. Any one of imageBase64, imageUrl and imageFilePath needs to be set, and the priority is imageBase64 imageUrl imageFilePath. The options are as follows: 1.HTTP/HTTPS URLs on the public network 2.OBS URLs. To use OBS data, authorization is required, including service authorization, temporary authorization, and anonymous public authorization. For details, see Configuring the Access Permission of OBS."},"projectId":{"kind":"parameter","displayName":"Project ID","group":"producer","label":"","required":true,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"Cloud project ID"},"proxyHost":{"kind":"parameter","displayName":"Proxy server host","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"Proxy server ip/hostname"},"proxyPassword":{"kind":"parameter","displayName":"Proxy password","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":true,"description":"Proxy authentication password"},"proxyPort":{"kind":"parameter","displayName":"Proxy server port","group":"producer","label":"","required":false,"type":"integer","javaType":"int","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"Proxy server port"},"proxyUser":{"kind":"parameter","displayName":"Proxy user","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":true,"description":"Proxy authentication user"},"region":{"kind":"parameter","displayName":"Service region","group":"producer","label":"","required":true,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"Face Recognition service region. Currently only cn-north-1 and cn-north-4 are supported. This is lower precedence than endpoint based configuration."},"secretKey":{"kind":"parameter","displayName":"Account secret key (SK)","group":"producer","label":"","required":true,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":true,"description":"Secret key for the cloud user"},"serviceKeys":{"kind":"parameter","displayName":"Service Configuration","group":"producer","label":"","required":false,"type":"object","javaType":"org.apache.camel.component.huaweicloud.common.models.ServiceKeys","deprecated":false,"deprecationNote":"","autowired":false,"secret":true,"description":"Configuration object for cloud service authentication"},"videoBase64":{"kind":"parameter","displayName":"videoBase64","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param can be used when operation is faceLiveDetection, indicating the Base64 character string converted from a video. Any one of videoBase64, videoUrl and videoFilePath needs to be set, and the priority is videoBase64 videoUrl videoFilePath. Requirements are as follows: 1.The video size after Base64 encoding cannot exceed 8 MB. It is recommended that the video file be compressed to 200 KB to 2 MB on the client. 2.The video duration must be 1 to 15 seconds. 3.The recommended frame rate is 10 fps to 30 fps. 4.The encapsulation format can be MP4, AVI, FLV, WEBM, ASF, or MOV. 5.The video encoding format can be H.261, H.263, H.264, HEVC, VC-1, VP8, VP9, or WMV3."},"videoFilePath":{"kind":"parameter","displayName":"videoFilePath","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param can be used when operation is faceLiveDetection, indicating the local video file path. Any one of videoBase64, videoUrl and videoFilePath needs to be set, and the priority is videoBase64 videoUrl videoFilePath. The video requirements are as follows: 1.The size of a video file cannot exceed 8 MB. It is recommended that the video file be compressed to 200 KB to 2 MB on the client. 2.The video duration must be 1 to 15 seconds. 3.The recommended frame rate is 10 fps to 30 fps. 4.The encapsulation format can be MP4, AVI, FLV, WEBM, ASF, or MOV. 5.The video encoding format can be H.261, H.263, H.264, HEVC, VC-1, VP8, VP9, or WMV3."},"videoUrl":{"kind":"parameter","displayName":"videoUrl","group":"producer","label":"","required":false,"type":"string","javaType":"java.lang.String","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"description":"This param can be used when operation is faceLiveDetection, indicating the URL of a video. Any one of videoBase64, videoUrl and videoFilePath needs to be set, and the priority is videoBase64 videoUrl videoFilePath. Currently, only the URL of an OBS bucket on HUAWEI CLOUD is supported and FRS must have the permission to read data in the OBS bucket. For details about how to enable the read permission, see Service Authorization. The video requirements are as follows: 1.The video size after Base64 encoding cannot exceed 8 MB. 2.The video duration must be 1 to 15 seconds. 3.The recommended frame rate is 10 fps to 30 fps. 4.The encapsulation format can be MP4, AVI, FLV, WEBM, ASF, or MOV. 5.The video encoding format can be H.261, H.263, H.264, HEVC, VC-1, VP8, VP9, or WMV3."},"lazyStartProducer":{"kind":"parameter","displayName":"Lazy Start Producer","group":"producer (advanced)","label":"producer,advanced","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"autowired":false,"secret":false,"defaultValue":false,"description":"Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."},"ignoreSslVerification":{"kind":"parameter","displayName":"SSL Verification Ignored","group":"security","label":"security","required":false,"type":"boolean","javaType":"boolean","deprecated":false,"deprecationNote":"","autowired":false,"secret":false,"defaultValue":false,"description":"Ignore SSL verification"}}}