人脸识别API服务端
人脸识别API服务端功能:识别图片性别,年龄特征,支持一张图包含多个人脸进行识别
服务端启动结果
Application Version: 1.0.0 Spring Boot Version: 2.5.5
18:38:41.248 INFOtop.lyj.App - - Starting App v0.0.1-SNAPSHOT using Java 1.8.0_202 on E5 with PID 24028 (E:\人脸识别服务端\ant-utils-0.0.1-SNAPSHOT.jar started by pc in E:\人脸识别服务端)
18:38:41.258 DEBUG top.lyj.App - - Running with Spring Boot v2.5.5, Spring v5.3.10
18:38:41.258 INFOtop.lyj.App - - No active profile set, falling back to default profiles: default
18:38:44.810 WARNi.u.websockets.jsr - - UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
18:38:44.844 INFOio.undertow.servlet - - Initializing Spring embedded WebApplicationContext
18:38:45.237 DEBUG t.l.c.FaceEngineCompoment - - 初始化人脸引擎成功!
18:38:47.170 INFOio.undertow - - starting server: Undertow - 2.2.10.Final
18:38:47.188 INFOorg.xnio - [<clinit>,95] - XNIO version 3.8.4.Final
18:38:47.204 INFOorg.xnio.nio - [<clinit>,58] - XNIO NIO Implementation Version 3.8.4.Final
18:38:47.297 INFOorg.jboss.threads - [<clinit>,52] - JBoss Threads version 3.1.0.Final
18:38:47.692 WARNs.d.s.r.o.OperationImplicitParameterReader - - Unable to interpret the implicit parameter configuration with dataType: MultipartFile, dataTypeClass: class java.lang.Void
18:38:47.763 INFOtop.lyj.App - - Started App in 7.266 seconds (JVM running for 8.082)
//EC请求
let req = http.httpPost("http://192.168.2.4:8080/face/faceAuth", {}, {"image": "/sdcard/Pictures/人物2.jpg"}, 5 * 1000, {})
logd(req);// 识别结果
【远程设备】(js/main.js#19 ){"msg":"success","code":0,"data":[{"sex":1,"avg":69,"code":0},{"sex":1,"avg":69,"code":0}]}
6666,能不能识别年龄 Mr_老冷 发表于 2023-1-6 19:09
6666,能不能识别年龄
性别 年龄都可以
页:
[1]