tencentcloud-sdk-nodejs-intl-en 3.0.1455 → 3.0.1457
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1457";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -4992,11 +4992,11 @@ class PhoneVerificationResponse extends AbstractModel {
|
|
|
4992
4992
|
|
|
4993
4993
|
/**
|
|
4994
4994
|
* Verification result code.
|
|
4995
|
-
|
|
4996
|
-
Three-element information consistency.
|
|
4995
|
+
Fee result code
|
|
4996
|
+
-0:Three-element information consistency.
|
|
4997
4997
|
-4: Three-element information inconsistency.
|
|
4998
4998
|
|
|
4999
|
-
|
|
4999
|
+
No charge result code
|
|
5000
5000
|
-6: Invalid phone number.
|
|
5001
5001
|
-7: Identity number error.
|
|
5002
5002
|
-8: Name verification failed.
|
|
@@ -440,11 +440,11 @@ Use this API for corresponding face detection and attribute analysis.
|
|
|
440
440
|
}
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
|
-
* This API is used to
|
|
443
|
+
* This API is used to perform anti-rephotograph liveness detection on user-uploaded static images to determine whether they are rephotographs.
|
|
444
444
|
|
|
445
|
-
Compared with
|
|
445
|
+
Compared with existing static liveness detection services, the high-precision version enhances defense against attacks such as HD screens, cropped paper, and 3D masks while maintaining a high real person pass rate. Its attack interception rate is about 4-5 times that of similar types of products in the industry. It also supports face verification in different use cases, meets image-based liveness detection requirements for various scenarios on mobile and PC, and is applicable to different liveness detection applications across industries.
|
|
446
446
|
|
|
447
|
-
|
|
447
|
+
The face static liveness detection (high-precision version) API officially starts billing from 00:00 on August 1, 2022, using the postpaid pay-as-you-go billing mode. For details, see Billing Overview (https://www.tencentcloud.com/document/product/867/17640?from_cn_redirect=1).
|
|
448
448
|
* @param {DetectLiveFaceAccurateRequest} req
|
|
449
449
|
* @param {function(string, DetectLiveFaceAccurateResponse):void} cb
|
|
450
450
|
* @public
|
|
@@ -1700,31 +1700,19 @@ class DetectLiveFaceAccurateRequest extends AbstractModel {
|
|
|
1700
1700
|
super();
|
|
1701
1701
|
|
|
1702
1702
|
/**
|
|
1703
|
-
*
|
|
1704
|
-
-base64-Encoded size cannot exceed 5M.
|
|
1705
|
-
-The long side pixel of a jpg image must not exceed 4000. the long side pixel of another format image cannot exceed 2000.
|
|
1706
|
-
-Specifies the image aspect ratio should be close to 3:4. mobile phone shooting proportion is best.
|
|
1707
|
-
-Specifies the human face dimension is greater than 100X100 pixels.
|
|
1708
|
-
-Supported image formats include PNG, JPG, JPEG, and BMP. GIF is not supported.
|
|
1703
|
+
* <p>base64 data of the image.</p><ul><li>The size after base64 encoding must not exceed 5M.</li><li>For jpg format, the long side pixel must not exceed 4000. For other formats, the long side pixel must not exceed 2000.</li><li>The aspect ratio of the image should be close to 3:4. The ratio from mobile phone shooting is best.</li><li>The human face size must be greater than 100X100 pixels.</li><li>Format support: PNG, jpg, JPEG, and BMP. GIF images are not supported.</li></ul>
|
|
1709
1704
|
* @type {string || null}
|
|
1710
1705
|
*/
|
|
1711
1706
|
this.Image = null;
|
|
1712
1707
|
|
|
1713
1708
|
/**
|
|
1714
|
-
*
|
|
1715
|
-
-Specifies the maximum size of the corresponding image after base64 encoding is 5M.
|
|
1716
|
-
-The long side pixel of a jpg image must not exceed 4000. the long side pixel of another format image must not exceed 2000.
|
|
1717
|
-
-Url or Image must be provided. if both are provided, only use Url.
|
|
1718
|
-
-Specifies the image aspect ratio should be close to 3:4. mobile phone shooting proportion is best.
|
|
1719
|
-
-Specifies the human face dimension is greater than 100X100 pixels.
|
|
1720
|
-
-Image storage Url on tencent cloud guarantees higher download speed and stability. it is recommended to store images on tencent cloud. non-tencent cloud storage urls may be impacted in speed and stability.
|
|
1721
|
-
-Supported image formats include PNG, JPG, JPEG, and BMP. GIF is not supported.
|
|
1709
|
+
* <p>The Url of the Image.</p><ul><li>The size of the corresponding Image after base64 encoding must not exceed 5M.</li><li>For jpg format, the long side pixel must not exceed 4000. For other formats, the long side pixel must not exceed 2000.</li><li>Either Url or Image must be provided. If both are provided, only use Url.</li><li>The aspect ratio of the Image should be close to 3:4, which is the best ratio for mobile phone shooting.</li><li>The human face size must be greater than 100X100 pixels.</li><li>An Image stored in Tencent Cloud via Url can guarantee higher download speed and stability. It is recommended to store images in Tencent Cloud. The speed and stability of URLs not stored in Tencent Cloud may be affected.</li><li>Supported Image formats include PNG, jpg, JPEG, and BMP. GIF images are not supported.</li></ul>
|
|
1722
1710
|
* @type {string || null}
|
|
1723
1711
|
*/
|
|
1724
1712
|
this.Url = null;
|
|
1725
1713
|
|
|
1726
1714
|
/**
|
|
1727
|
-
* Algorithm model version used
|
|
1715
|
+
* <p>Algorithm model version used by the face recognition service. Currently, the input parameter supports "3.0".</p>
|
|
1728
1716
|
* @type {string || null}
|
|
1729
1717
|
*/
|
|
1730
1718
|
this.FaceModelVersion = null;
|
|
@@ -3648,16 +3636,13 @@ class DetectLiveFaceAccurateResponse extends AbstractModel {
|
|
|
3648
3636
|
super();
|
|
3649
3637
|
|
|
3650
3638
|
/**
|
|
3651
|
-
* Liveness
|
|
3652
|
-
-Value range: [0,100].
|
|
3653
|
-
-Determines whether it is a rephotograph based on the liveness score and threshold range.
|
|
3654
|
-
-Current threshold can be divided into [5,10,40,70,90]. among them, the recommended threshold is 40.
|
|
3639
|
+
* <p>Liveness authenticity score.</p><ul><li>Value range: [0,100].</li><li>Determine whether it is a rephotograph based on the threshold range corresponding to the liveness score.</li><li>Currently, the threshold can be divided into [5,10,40,70,90], with a recommended threshold of 40.</li><li>The higher the score, the closer to a real person and the lower the rephotograph risk.</li></ul>
|
|
3655
3640
|
* @type {number || null}
|
|
3656
3641
|
*/
|
|
3657
3642
|
this.Score = null;
|
|
3658
3643
|
|
|
3659
3644
|
/**
|
|
3660
|
-
* Algorithm model version used for face recognition
|
|
3645
|
+
* <p>Algorithm model version used for face recognition.</p>
|
|
3661
3646
|
* @type {string || null}
|
|
3662
3647
|
*/
|
|
3663
3648
|
this.FaceModelVersion = null;
|