|
@@ -13,7 +13,7 @@ import java.util.concurrent.Executors;
|
|
|
|
|
|
public class FaceApiTest {
|
|
public class FaceApiTest {
|
|
|
|
|
|
- @Test
|
|
|
|
|
|
+ // @Test
|
|
public void demo() throws Exception {
|
|
public void demo() throws Exception {
|
|
FaceVerifyProperties properties = new FaceVerifyProperties();
|
|
FaceVerifyProperties properties = new FaceVerifyProperties();
|
|
properties.setFacePlusKey("xxx");
|
|
properties.setFacePlusKey("xxx");
|
|
@@ -23,6 +23,7 @@ public class FaceApiTest {
|
|
properties.setBaiduLocalEnabled(true);
|
|
properties.setBaiduLocalEnabled(true);
|
|
properties.setBaiduLocalAppId("test");
|
|
properties.setBaiduLocalAppId("test");
|
|
properties.setBaiduLocalUrlPrefix("http://192.168.10.102:8301");
|
|
properties.setBaiduLocalUrlPrefix("http://192.168.10.102:8301");
|
|
|
|
+ // properties.setBaiduLocalUrlPrefix("http://192.168.0.117:8300");
|
|
|
|
|
|
FaceVerifyServiceImpl faceVerifyService = new FaceVerifyServiceImpl();
|
|
FaceVerifyServiceImpl faceVerifyService = new FaceVerifyServiceImpl();
|
|
faceVerifyService.setProperties(properties);
|
|
faceVerifyService.setProperties(properties);
|