Install and usage instructions

If you have interest on having the latest demo version working on your environment/web application, please don’t hesitate in contacting us with any problems during integration.

We are completely open to discuss over the improvements the demo version would need to better support your application functional and non-functional requirements. Please refer to the development roadmap and support area.

Installation

  • Requirements
    • Linux: The server was compiled on Ubuntu Dapper Linux, linking against ImageMagick, so these are the packages you should have installed on the test machine:
      • python 2.5
      • libmagick
      • libmagick++
    • Windows: The following must be installed:

For both Linux and Windows: Just unzip (or untar for the Linux version: something like tar zxvf isk-daemon.tar.gz) the latest release file inside an empty directory.

Running the server

From the root of the directory where you extracted the latest release zipped file, run

python isk-daemon.py

Windows users must make sure python.exe (located by default at C:\Python25) is on the environment path or else keep the PATH variable intact and run “C:\Python25\python isk-daemon” instead.

In case you run into some import problems please don’t hesitate in getting in contact in order to figure out what is wrong or to request a compiled version for another linux distribution.

If all goes well, you should be able to point your browser to http://localhost:31128/ for some database statistics and configuration options.

After starting up, the XML+HTTP interface for sending commands would be available at http://localhost:31128/isk and the XML-RPC one at http://localhost:31128/RPC

Daemon config is at settings.py (located at the root dir where you extracted). Edit this file at will and restart the daemon.

The default configuration is to persist the database to disk every 2 minutes, but you can always force a save using an option on the admin web interface or using the API itself.

7 Comments

  1. Ernesto Ferrari said,

    March 6, 2007 @ 8:05 am

    Hello,
    just a couple of things:

    1) you’re still missing a . in your tar filenames:
    isk-daemon-05-trialtar.gz should be isk-daemon-05-trial.tar.gz, otherwise bash tab completion function will not add the filename as argument to tar command

    2)”python isk-daemon” should be ” python isk-daemon.py”

  2. Ricardo Cabral said,

    March 6, 2007 @ 12:40 pm

    Thanks!

    I’ve corrected #2. Regarding #1 is seems like a wordpress bug/weird behavior. I’ll try to fix that.

  3. Daniel Fetchinson said,

    October 13, 2007 @ 8:59 pm

    Hi Ricardo,

    Just checked out the code from svn and:

    cd isk-daemon
    cd src
    python isk-daemon.py

    root : ERROR Warning: Unable to load the C++ extension “imgdb.so(pyd)” module.
    Traceback (most recent call last):
    File “/home/fetch/tmp/isk-daemon/src/imgSeekLib/ImageDB.py”, line 38, in
    import imgdb
    File “/home/fetch/tmp/isk-daemon/src/imgSeekLib/imgdb.py”, line 7, in
    import _imgdb
    ImportError: No module named _imgdb

    Also:

    cd imgSeekLib
    python -m _imgdb

    Traceback (most recent call last):
    File “/usr/local/lib/python2.5/runpy.py”, line 87, in run_module
    raise ImportError(”No module named ” + mod_name)
    ImportError: No module named _imgdb

    And:

    file _imgdb.pyd
    _imgdb.pyd: MS-DOS executable (EXE), OS/2 or MS Windows

    ???

  4. Daniel Fetchinson said,

    October 13, 2007 @ 9:02 pm

    Of course I forgot some details:

    fedora 3
    python 2.5.1
    ImageMagick 6.2.2.0-2

  5. Daniel Fetchinson said,

    October 13, 2007 @ 9:05 pm

    Of course I forgot some important details:

    fedora 3
    python 2.5.1
    ImageMagick 6.2.2.0-2

    BTW, any chance of dropping imagemagick and using PIL instead?

  6. ANurag said,

    November 12, 2007 @ 8:26 pm

    I am running the desktop and server version of imgSeek. However, similar image results for given input are totally different,
    Is there problem in my configuration or can I change the server version to behave more like the client?

  7. Ricardo Cabral said,

    November 21, 2007 @ 12:05 am

    @ANurag:

    There have been some minor changes (speed optimizations actually) to the image querying algorithm from the desktop version to the server version but results should be really similar. Can you please send me by email some sample images and queries?

    @Daniel:

    This problem seems to be affecting Fedora Linux only. Unfortunately I have been unable to reproduce it. Can you try renaming _imgdb.so into imgdb.so?

    Please ignore .pyd files, they are the Windows version of .so modules.

    Years ago PIL offered a complicated (and hard to compile against) low-level C-API for doing raw image pixel reading. I’ll see how things are today.

RSS feed for comments on this post · TrackBack URI