2

For a little project it would be nice if I have the possibility to make some shape recognition. It is a Webpage which shows a Visio Diagram. It shall be possible to click on one of the shapes (only rectangles) and then additional Information shall be shown. To areas of a picture clickable is pretty easy in HTML. But unfortunately there are tons of several diagrams with tons of several shapes. The only method I know to make areas in a picture clickable is with fix pixels. Unfortunately the Visio diagrams change pretty often and so I would need to update the pixels often. Maybe you know any possibility with the known web-languages to recognize the shapes and set the areas in a dynamic way?

So long, Stefan

Stefan
  • 51
  • 1
  • 5
  • Show us what you have tried,post some code preferably on a Fiddle? – Harsha Venkataramu Jun 04 '13 at 12:01
  • All I have are the clickable areas in the pictures (just with and ) I did some research, but found nothing in the web about the possibility to recognize shapes directly with JavaScript (for Instance). So I wanted to ask if anybody knows if this possibility actually exists). If not, an external Java program maybe could do the task... – Stefan Jun 04 '13 at 12:10
  • Is Visio diagram inserted to HTML as picture (jpg, bmp, etc) and you want to analyse the source Visio file, or is it some OLE/ActiveX/... control? – Voitcus Jun 04 '13 at 12:24
  • It's just the Visio Diagram as an GIF where I made areas clickable – Stefan Jun 04 '13 at 12:30
  • Using shape recognition might not help if there are "tons of shapes". How will you distinguish one shape from another? – Voitcus Jun 04 '13 at 12:34
  • they are "lined up". So there would be a "first" and a "second"... And the Additional Information must then be lined up in the same order... – Stefan Jun 04 '13 at 12:46

0 Answers0