Firefly

Firefly offers a set of comprehensive software tools dedicated to bridging the gap between Grasshopper, (a free plug-in for Rhino) the Arduino microcontroller and other input/output devices. It allows near real-time data flow between the digital and physical worlds – enabling the possibility to explore virtual and physical prototypes with unprecedented fluidity.

From Sketch to Rhino

I am in the appearing for the master's thesis. I am preparing a script for making a structure from a sketch using firefly component - "web cam video stream". Below is the video which is present on Firefly's website

https://www.youtube.com/watch?v=bnSxGKya-_c

I want to create something similar. The later part of the script will be dependent on the line which will be formed after processing the sketch. I am attaching the grasshopper file. I could get close to getting a bunch of points from the sketch but I want a single line forming out of that.

Thank you in advance.