File tree Expand file tree Collapse file tree 2 files changed +4
-16
lines changed
articles/ai-services/computer-vision Expand file tree Collapse file tree 2 files changed +4
-16
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
51
51
<dependency >
52
52
<groupId >com.azure</groupId >
53
53
<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 >
67
55
</dependency >
68
56
</dependencies >
69
57
</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
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