How to detect (Count) Hair from image using OpenCV?

别说谁变了你拦得住时间么 提交于 2019-11-30 14:10:30

I think you will find this article interesting:

http://www.cs.ubc.ca/~lowe/papers/aij87.pdf

They take a 2D bitmap, apply canny edge detector and then regroup segments of the different edges based on how likely they belong to a same object - in this case hair (and give criterias for such regrouping).

I think you could use this to know how many objects there are on the image, and if the image contains only hair, then you'd have a count for hair.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!