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

后端 未结 1 1771
你的背包
你的背包 2021-01-02 22:14

I have try below code using OpenCV functions cvtColor,Canny and HoughLinesP but not able to get accurate result or not wo

相关标签:
1条回答
  • 2021-01-02 22:20

    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.

    0 讨论(0)
提交回复
热议问题