I'm baffled that on Android we have to import a 30 MB OpenCV library to detect rectangles in images / video frames. On iOS that is pretty easy using CIDetector.
Has anyone found a solution that isn't OpenCV based? Maybe using Renderscript? I've found this one (explained here) which implements some kind of edge detection, but I'm not sure whether this is the right basis to extend. Any vision / graphics expert out there who could evaluate this and maybe point me in the right direction?