Identify stair projection

Hi, I am trying to mark the stair projection which generated by SLAM. I think the stair projection is similar with zebra crossing. Thus, I want to adjust zebra crossing code for identifying stair. However, I’m new to opencv. Thus, could you help me by giving some suggestions like, whether the stair projection is similar with zebra crossing? What code should I add? Whether opencv will work for this problem?
Thank you !!!
gridmap

HI,
You can detect the shape and identify the stairs, as it is rectangular.
Try referring this