title: Floor Plan Edge Detection - Image Processing?
body: <p>I am a guy from a completely different discipline who need some Image Processing techniques to achieve this goal in a project. I need to derive the edges from an indoor floor plan, as shown below</p>
  
  <p><img src="https://i.stack.imgur.com/z82FU.gif" alt="enter image description here"></p>
  
  <p>I have tried this particular Python edge detect snippet:</p>
  
  <pre><code>from PIL import Image, ImageFilter
  
  image = Image.open('L12-ST.jpg')
  image = image.filter(ImageFilter.FIND_EDGES)
  image.save('new_name.png') 
  </code></pre>
  
  <p>However, it is returning too much more details than I need. It basically detects all the edges including the room walls. Actaully, what I need are just the  corridor walls. So I expect something like this</p>
  
  <p><img src="https://i.stack.imgur.com/FlNBt.png" alt="enter image description here"></p>
  
  <p>How may I do this? I am using Python, but any generic or general pointers or even some keywords are very much appreciated.</p>