Attention! This forum will be made read-only by Dec-20. Please migrate to https://forum.opencv.org. Most of existing active users should've received invitation by e-mail.
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Best approach for Grass Detection ?

I want to develop a program for detecting grass. It should be able to identify the input image as 'grass' or as 'obstacle'.

It should output as 'grass' if there is only grass in the input image, and if there is any object placed on grass, then it should output as 'obstacle'. Similarly, if there is no grass at all (i.e. concrete etc) or there is boundary between grass and concrete, it should output as 'obstacle'

Please guide me what approach to use for such kind of grass detection. Do I need a learning algorithm for this purpose or a non-learning algorithm (like features detection etc.) would serve the purpose. In both the cases, what would be the appropriate opencv functions to implement them.

Thanks.

Best approach for Grass Detection ?

I want to develop a program for detecting grass. It should be able to identify the input image as 'grass' or as 'obstacle'.

It should output as 'grass' if there is only grass in the input image, and if there is any object placed on grass, then it should output as 'obstacle'. Similarly, if there is no grass at all (i.e. concrete etc) or there is boundary between grass and concrete, it should output as 'obstacle'

Please guide me what approach to use for such kind of grass detection. Do I need a learning algorithm for this purpose or a non-learning algorithm (like features detection etc.) would serve the purpose. In both the cases, what would be the appropriate opencv functions to implement them.

Thanks.

Update: I have attached a sample image which contains grass as well as the concrete surface (obstacle)image description