Location>code7788 >text

FAQ】HarmonyOS SDK Closed Source Open Capability -Vision Kit

Popularity:54 ℃/2024-11-06 15:10:54

1. Description of the problem:

There will be a sound alert on the face vivisection page, how to control the sound switch?

Solution:

Live Detection does not have a sound control switch at this time, but the volume can be controlled by controlling the volume of the system through other capabilities.

The Fixed Audio Stream setting on the Live Detection page is 8 (Accessible), which gets the volume level at which the system is accessible.

Setting Accessible Volume Example:

import audio from '@';

let audioManager = ();

(, 10, (err: BusinessError) => {

if (err) {

(`Failed to set the volume. ${err}`);

return;

}

('Callback invoked to indicate a successful volume setting.');

});

audio Sets the volume of the specified stream Refer to the API link:/consumer/cn/doc/harmonyos-references-V5/js-apis-audio-0000001861966901-V5#ZH-CN_TOPIC_0000001881179169__setvolumedeprecated

2. Description of the problem:

Does card identification return the name of the card issuer's bank?

Solution:

It cannot be returned directly to the card issuer, but needs to be obtained by yourself based on the bank card number.

Related Documents:/consumer/cn/doc/harmonyos-references-V5/vision-card-recognition-V5#section1823389379

3. Description of the problem:

Does CardRecognition require an internet connection? Do I need to apply for a license? Is it always free of charge for subsequent use?

Solution:

1、Pure end-measurement capabilities, without the need for networking (native card recognition advantageous features);

2, card recognition for the control mode, the subsequent evolution of the Picker mode, no need to apply for permissions (the advantages of native card recognition features);

3. There are no plans to charge fees for the time being.

4. Description of the problem:

Is the image returned by Huawei's vivisection a photo of the customer's "looking" face?

Solution:

Dynamic vivisection is examined by a combination of movements such as: blinking, opening the mouth, shaking the head, nodding the head, and so on. For this reason, dynamic vivisection captures side faces.