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:

https://drive.google.com/file/d/19rAWcGAjkqpgXpLFXnLBjpwGtoBLgtrC/view

My desired solution:

Input:

Image File

Output:

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