iOS-MobileFaceNet-MTCNN-FaceAntiSpoofing
iOS-MobileFaceNet-MTCNN-FaceAntiSpoofing copied to clipboard
Domain=org.tensorflow.lite.interpreter Code=1 "Input tensor at index (0) expects data size (27648), but got (0)." UserInfo={NSLocalizedDescription=Input tensor at index (0) expects data size (27648), but got (0).}
Domain=org.tensorflow.lite.interpreter Code=1 "Input tensor at index (0) expects data size (27648), but got (0)." UserInfo={NSLocalizedDescription=Input tensor at index (0) expects data size (27648), but got (0).} 检测人脸的时候报错,请问是何原因
请提供下具体报错的是哪句代码。
我找到问题所在了,我进行比对是视频中抓取的图片,图片剪切的过程中图片的方向被横过来了, 这时传过去的图片,就会报错
图片截取和比对时,CPU占用达到110%~170%,多点几次内存就溢出了,有没有优化的地方,或者有什么好的方式没有。
收到,望回复, 谢谢!
这个是人脸和图片剪切
这个是人脸和图片剪切
内存和CPU的问题你有解决吗
Did you manage to solve this problem ? Thanks