File tree Expand file tree Collapse file tree 3 files changed +85
-77
lines changed
ai-services/computer-vision Expand file tree Collapse file tree 3 files changed +85
-77
lines changed Original file line number Diff line number Diff line change @@ -51,19 +51,7 @@ Get started with facial recognition using the Face client library for Java. Foll
5151 <dependency >
5252 <groupId >com.azure</groupId >
5353 <artifactId >azure-ai-vision-face</artifactId >
54- <version >1.0.0-beta.1</version >
55- </dependency >
56- <!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
57- <dependency >
58- <groupId >org.apache.httpcomponents</groupId >
59- <artifactId >httpclient</artifactId >
60- <version >4.5.13</version >
61- </dependency >
62- <!-- https://mvnrepository.com/artifact/com.google.code.gson/gson -->
63- <dependency >
64- <groupId >com.google.code.gson</groupId >
65- <artifactId >gson</artifactId >
66- <version >2.11.0</version >
54+ <version >1.0.0-beta.2</version >
6755 </dependency >
6856 </dependencies >
6957 </project >
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
445445
446446 var sessionClient = new FaceSessionClient (endpoint , credential );
447447
448- var createContent = new CreateLivenessSessionContent (LivenessOperationMode .Passive )
448+ var createContent = new CreateLivenessWithVerifySessionContent (LivenessOperationMode .Passive )
449449 {
450450 DeviceCorrelationId = " 723d6d03-ef33-40a8-9682-23a1feb7bccd"
451451 };
@@ -472,7 +472,7 @@ The high-level steps involved in liveness with verification orchestration are il
472472 .credential (new AzureKeyCredential (accountKey ))
473473 .buildClient ();
474474
475- CreateLivenessSessionContent parameters = new CreateLivenessSessionContent (LivenessOperationMode .PASSIVE )
475+ CreateLivenessWithVerifySessionContent parameters = new CreateLivenessWithVerifySessionContent (LivenessOperationMode .PASSIVE )
476476 .setDeviceCorrelationId (" 723d6d03-ef33-40a8-9682-23a1feb7bccd" )
477477 .setSendResultsToClient (false );
478478
@@ -500,7 +500,7 @@ The high-level steps involved in liveness with verification orchestration are il
500500 reference_image_content = fd .read ()
501501
502502 created_session = await face_session_client .create_liveness_with_verify_session (
503- CreateLivenessSessionContent (
503+ CreateLivenessWithVerifySessionContent (
504504 liveness_operation_mode = LivenessOperationMode .PASSIVE ,
505505 device_correlation_id = " 723d6d03-ef33-40a8-9682-23a1feb7bccd" ,
506506 ),
You can’t perform that action at this time.
0 commit comments