lineDetection() method is now usable to create vertices.