Hi,
I'm using ISK to test image recognition. I tested for several weeks and everything went wrong from past week (I was using a host that the only thing that changed was a couple of upgrades from Ubuntu).
I have 9 images on the DB. When i start the daemin:
root@globant-OptiPlex-380:/usr/local/bin# ./iskdaemon.py
isk-daemon : INFO | using config file "/etc/iskdaemon/isk-daemon.conf"
imgdbapi : INFO +- Initializing isk-daemon server (version 0.9.3) ...
imageDB : DEBUG | loadalldbs(fname='/var/db/isk-db')
imageDB : DEBUG | Database (/var/db/isk-db) loaded with 1 spaces
imgdbapi : INFO | image database initialized
iskdaemon : INFO +- Starting HTTP service endpoints...
iskdaemon : INFO | serving web admin from /usr/local/lib/python2.7/dist-packages/isk_daemon-0.9.3-py2.7-linux-i686.egg/ui/admin-www
iskdaemon : INFO | web admin interface listening for requests at
http://localhost:31128/iskdaemon : INFO | listening for SOAP requests at
http://localhost:31128/SOAPiskdaemon : INFO | listening for XML-RPC requests at
http://localhost:31128/RPCiskdaemon : DEBUG | listening for data export requests at
http://localhost:31128/exportiskdaemon : INFO | HTTP service endpoints started. Binded to all local network interfaces.
iskdaemon : DEBUG +- Starting internal service endpoint...
iskdaemon : DEBUG | internal service listener started at pb://localhost:31228
iskdaemon : INFO | Binded to all local network interfaces.
iskdaemon : INFO + init finished. Waiting for requests ...
imageDB : DEBUG | queryImgPath(dbId=1, path='/var/tmp/2012-12-18 15.39.07.jpg', numres=0, sketch=0, fast=False)
Segmentation fault (core dumped)
The strace is:
root@globant-OptiPlex-380:/usr/local/bin# ./iskdaemon.py
isk-daemon : INFO | using config file "/etc/iskdaemon/isk-daemon.conf"
imgdbapi : INFO +- Initializing isk-daemon server (version 0.9.3) ...
imageDB : DEBUG | loadalldbs(fname='/var/db/isk-db')
imageDB : DEBUG | Database (/var/db/isk-db) loaded with 1 spaces
imgdbapi : INFO | image database initialized
iskdaemon : INFO +- Starting HTTP service endpoints...
iskdaemon : INFO | serving web admin from /usr/local/lib/python2.7/dist-packages/isk_daemon-0.9.3-py2.7-linux-i686.egg/ui/admin-www
iskdaemon : INFO | web admin interface listening for requests at
http://localhost:31128/iskdaemon : INFO | listening for SOAP requests at
http://localhost:31128/SOAPiskdaemon : INFO | listening for XML-RPC requests at
http://localhost:31128/RPCiskdaemon : DEBUG | listening for data export requests at
http://localhost:31128/exportiskdaemon : INFO | HTTP service endpoints started. Binded to all local network interfaces.
iskdaemon : DEBUG +- Starting internal service endpoint...
iskdaemon : DEBUG | internal service listener started at pb://localhost:31228
iskdaemon : INFO | Binded to all local network interfaces.
iskdaemon : INFO + init finished. Waiting for requests ...
imageDB : DEBUG | queryImgPath(dbId=1, path='/var/tmp/2012-12-18 15.39.07.jpg', numres=0, sketch=0, fast=False)
Segmentation fault (core dumped)
(the FS 16 was my image).
The program dumps when I use this query:
queryImgPath(1,'/var/tmp/2012-12-18 15.39.07.jpg',0,0)
But when I use:
queryImgPath(1,'/var/tmp/2012-12-18 15.39.07.jpg',0,0,"True")
The program returns just any other image instead of the propper one:
iskdaemon : INFO + init finished. Waiting for requests ...
imageDB : DEBUG | queryImgPath(dbId=1, path='/var/tmp/2012-12-18 15.39.07.jpg', numres=0, sketch=0, fast='True')
imageDB : DEBUG queryImgPath() ret=[[2L, 0.0]]
I tested con sketch=1 or fast=False, but is same. I don't get any image recognized OK. Somebody can help me?