I want make app that show something above longest straight line in image.
i know should convert RGB Image to GrayScale. also know should use edge detections algorithm and(sobel,canny,...)
Sobel Edge Detection in Android
but i don't know how can i find largest straight line in image,line may be part of rectangle or any shape,i just want find longest line position in image but no gradient(or small level of gradient)
how can i implement it with no external library (or lightweight libraries)