Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
要用人脸识别程序,能实现对当前环境下的人脸进行计数并显示总的个数吗?
http://book.openmv.cc/example/07-Face-Detection/face-detection.html
objects = img.find_features
这个函数返回的是数组
len(objects)就是人脸的个数
直接在最后加一句len(object)就可以吗?
是objects,不是object
那就直接len(objects) 就可以?
是的,你试试就知道了。