Depth line detection

I’m using an Embedded S camera for depth. Has anyone tried doing line detection?