ERROR: Return 0 faces because error exists in btk_FaceFinder_putDCR.

Solution:

Creates a FaceDetector, configured with the size of the images to be analysed and the maximum number of faces that can be detected. These parameters cannot be changed once the object is constructed. Note that the width of the image must be even.


传入的图片的宽度必须是偶数的. 真蛋疼!

更多相关文章

  1. 简单有效的ItemDecoration--分割线
  2. android获得控件大小,高度、宽度等
  3. 自定义宽高比例的ImageView
  4. android bitmap oom
  5. PopWindow 自定义
  6. Android(安卓)TextView根据textsize计算TextView的宽度和高度
  7. [Android] 如何计算View的Size
  8. Android下在onCreate方法中获取TextView的高度
  9. 【Android动画九章】-AlphaAnimation(渐变动画)

随机推荐

  1. HashMap的负载因子初始值为什么是0.75?这
  2. 格式化Curl返回的Json工具
  3. 大数据开发工程师完结
  4. 八大基础排序总结
  5. Android高频面试专题 - 基础篇(一)Activity
  6. ConcurrentHashMap之size()方法
  7. java都为我们提供了各种锁,为什么还需要分
  8. Java线程之线程的调度-让步
  9. 常用控件的使用方法(参考书籍'第一行代码'
  10. mysql中的合并表和分区表详解(经常使用的