超简单的搭建自己的人脸识别服务,离线使用,不同方位的识别率高~


大佬,我每次请求都会有这个提示,但有输出人脸识别结果,是什么问题哦

这个是nodered的问题吧,我也不太懂,问下群里的大佬吧

好的 :wave:


视频是不是也可以人脸识别?

1 个赞

用的是萝卜哥哪个流,能不能分享下。挺吃内存的,占用400M左右。

那个流在哪里找到,能贴出来吗

已更新流~~~~~~~~~

好使!感谢大佬分享, 再请问下这个可以调节相似度吗?

后续版本添加到配置项

请问这个是什么原因:


容器运行未出现错误,也激活了1台终端

image
image
image

你服务器端口没开吧

没明白哪个服务器端口没开,这个人脸识别服务我群晖映射了9053端口,nodered也指向本地服务器9053端口 ,换端口也是一样

你用postman请求一下看看怎样
实在不行参考:
http://iwo.im/?q=error%20connect%20ehostunreach

image
感谢您这么热心的回复我
调整为外网域名+端口就可以识别了,请问是怎么离线使用的呢
再次谢谢你

上面有讲呀~~~~

这个流对摄像机没有要求吗,是不是所有的摄像头都可以这么设置

LIB下放了这几个文件:libarcsoft_face_engine_jni.so libarcsoft_face_engine.so libarcsoft_face.so
启动提示这个,然后一直重启老哥帮忙看看。
:: Spring Boot :: (v2.1.6.RELEASE)

2020-09-04 22:43:05.578 INFO 6 — [ main] m.k.f.FaceRecognitionApplication : Starting FaceRecognitionApplication v0.0.1-SNAPSHOT on b74235769831 with PID 6 (/app/face_recognition.jar started by root in /)

2020-09-04 22:43:05.591 INFO 6 — [ main] m.k.f.FaceRecognitionApplication : No active profile set, falling back to default profiles: default

2020-09-04 22:43:07.718 INFO 6 — [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)

2020-09-04 22:43:07.788 INFO 6 — [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]

2020-09-04 22:43:07.792 INFO 6 — [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.21]

2020-09-04 22:43:07.913 INFO 6 — [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext

2020-09-04 22:43:07.914 INFO 6 — [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 2222 ms

2020-09-04 22:43:10.723 INFO 6 — [ main] m.k.f.s.impl.FaceEngineServiceImpl : haoliang 微信图片_20200901204612.jpg load success

2020-09-04 22:43:12.797 INFO 6 — [ main] m.k.f.s.impl.FaceEngineServiceImpl : haoliang 微信图片_20200901204622.jpg load success

2020-09-04 22:43:13.052 INFO 6 — [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService ‘applicationTaskExecutor’

2020-09-04 22:43:13.409 WARN 6 — [ main] o.s.b.a.f.FreeMarkerAutoConfiguration : Cannot find template location(s): [classpath:/templates/] (please add some templates, check your FreeMarker configuration, or set spring.freemarker.checkTemplateLocation=false)

2020-09-04 22:43:13.444 INFO 6 — [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService ‘taskScheduler’

2020-09-04 22:43:13.528 INFO 6 — [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ‘’

2020-09-04 22:43:13.534 INFO 6 — [ main] m.k.f.FaceRecognitionApplication : Started FaceRecognitionApplication in 9.168 seconds (JVM running for 9.728)

2020-09-04 22:43:14.769 INFO 6 — [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet ‘dispatcherServlet’

2020-09-04 22:43:14.770 INFO 6 — [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet ‘dispatcherServlet’

2020-09-04 22:43:14.786 INFO 6 — [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 16 ms

http://host:9090,提示这个:

Whitelabel Error Page

This application has no explicit mapping for /error, so you are seeing this as a fallback.

Sat Sep 05 07:30:38 CST 2020

There was an unexpected error (type=Not Found, status=404).

No message available

同上,怎么回事啊?

群晖docker安装YOLO,不知道能不能类似人脸识别功能,用nr离线识别是否有人, 然后执行动作。
看下面例子使用很简单,实际docker安装后不知道怎么调用识别图片呢