File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
articles/ai-services/computer-vision/tutorials Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ The high-level steps involved in liveness with verification orchestration are il
445
445
446
446
var sessionClient = new FaceSessionClient (endpoint , credential );
447
447
448
- var createContent = new CreateLivenessSessionContent (LivenessOperationMode .Passive )
448
+ var createContent = new CreateLivenessWithVerifySessionContent (LivenessOperationMode .Passive )
449
449
{
450
450
DeviceCorrelationId = " 723d6d03-ef33-40a8-9682-23a1feb7bccd"
451
451
};
@@ -472,7 +472,7 @@ The high-level steps involved in liveness with verification orchestration are il
472
472
.credential (new AzureKeyCredential (accountKey ))
473
473
.buildClient ();
474
474
475
- CreateLivenessSessionContent parameters = new CreateLivenessSessionContent (LivenessOperationMode .PASSIVE )
475
+ CreateLivenessWithVerifySessionContent parameters = new CreateLivenessWithVerifySessionContent (LivenessOperationMode .PASSIVE )
476
476
.setDeviceCorrelationId (" 723d6d03-ef33-40a8-9682-23a1feb7bccd" )
477
477
.setSendResultsToClient (false );
478
478
@@ -500,7 +500,7 @@ The high-level steps involved in liveness with verification orchestration are il
500
500
reference_image_content = fd .read ()
501
501
502
502
created_session = await face_session_client .create_liveness_with_verify_session (
503
- CreateLivenessSessionContent (
503
+ CreateLivenessWithVerifySessionContent (
504
504
liveness_operation_mode = LivenessOperationMode .PASSIVE ,
505
505
device_correlation_id = " 723d6d03-ef33-40a8-9682-23a1feb7bccd" ,
506
506
),
You can’t perform that action at this time.
0 commit comments