1

Is it possible to detect black hair using opencv in Android, i have tried couple of example that shows face detection. But now how can i detect hair ?

Thanks

Programmer
  • 5,360
  • 10
  • 37
  • 61

2 Answers2

3

This is just an idea but you can try the following:

1- Detect the face

2- Expand ROI by a certain factor (play with it a bit)

3- Detect hair on a color based approach.

Benito Bertoli
  • 25,285
  • 12
  • 54
  • 61
1

Try this as well

Detecting hair in a portrait image?

http://aishack.in/tutorials/hough-transform-in-opencv/

Both are good one.

Community
  • 1
  • 1
IMCoder
  • 231
  • 3
  • 5