Create a vector based file from Floor Plan Drawing using C#

I require an image processing solution for my project.
I need to extract points and lines from an image which is like the below sample:

My desired solution:


Image File


An array of data, including points and lines. So I can redraw the image and do some analysis on the plan.