Closed wangzheng2019 closed 3 years ago
您用的测试代码对应的是老版本的,您应该用example/detect-image.cpp里面的代码去测试。我这边测试没问题。
主要区别是下面几行: https://github.com/ShiqiYu/libfacedetection/blob/06f5e92fe868d6b13803cec679853bf1e1e0979f/example/detect-image.cpp#L91-L98 也就是p里面的内容不一样了。
我用了ios demo工程的test.jpg,测试了v2 和 v3版本测试,结果都不正确,感觉上好像是我使用方式有问题,求指点… 原图: 结果:
测试代码: