Setup Voice Verification

Accura Voice Biometrics

Voice Biometrics Is Used for Matching Both The Source And The Target Audio. It Matches the User's audio with Enrolled User's audio. It Protects You from Identity Theft & Spoofing Attacks.


Api Setup

Uploading Api details to matches enrolled user's audio files with target user's audio file

AndroidNetworking.upload(url)
        .addMultipartFile("sourceone", file1)  
        .addMultipartFile("sourcetwo", file2)  
        .addMultipartFile("sourcethree", file3)  
        .addMultipartFile("target", target)
        .setPriority(Priority.HIGH)
        .build()
        .getAsJSONObject(new JSONObjectRequestListener() {

            @Override
            public void onResponse(JSONObject response) {
                try {
                    double score = response.getDouble("score");
                } catch (JSONException e) {
                    e.printStackTrace();
                }
            }

            @Override
            public void onError(ANError error) {
                error.printStackTrace();
            }
        });

Last updated