I am working on an open source French and Chinese stamp image ID system based on the Image::Seek module, eUpload script, makedb.pl, and seek.cgi. Every new uploaded image sent to stamp-eye-d.cgi invokes the newimg2db.pl script which creates a redirect header by calling and parsing the results from my version of makedb.pl.

The system sort of works now, at least for uploaded images of French and Chinese stamps in BMP format, but the image displayed and parsed for image similarity is the previously uploaded image. Additionally if I upload from the web service form the database image key number gets stuck on say 3361 and does not increment.

If I upload an image via FTP instead of from the web page form, and then run makedb.pl from Jail Shell within the cgi-bin, it correctly increments. If I look in the imgname.db in Notepad++, there are several images associated with each stuck database key.

Any suggestions for reasons these two things are occurring and ways to fix them? There are 12 BMP images here to test with.

Thanks for the help.


In reply to Image::Seek Database Stuck on Key Number by socrtwo

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.