I don't envy this task. Image recognition isn't a trivial task. When i was in college I did some work with Neural Networks. The trick was to represent the data in some numeric/data means and then train the neural net by showing it a whole lot of solutions to the problem. The work you've done to create/enhance edges is definitely a step in th right direction. Then using a Neural Net, you'd have hundreds of valid images and images that were "rejects" and "Valid" and eventually you could train the neural net to pick the right images. There's a whole science behind how to setup such a network, and what is right for which situations.

I doubt there's an API or module that simply does what you want, that's anything other than experimental, but it's been ages since I've looked at the technology. There are sw tools for image recognition based upon Neural networks, and doing a quick google search for Perl Neural Networks yields a few links (looks like there's even a perl module). That might be one direction to investigate, but you've probably got a lot of experimentation yet to do. Good luck.


In reply to Re: Image Analysis by raybies
in thread Image Analysis by fluffyvoidwarrior

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.