maybe you want to take a look at
GIFT, it could assist
you in some keyword retrieval from images
The GIFT (the GNU Image-Finding
Tool) is a Content Based Image Retrieval System (CBIRS). It enables you
to do Query By Example on images, giving you the opportunity to improve
query results by relevance feedback. For processing your queries the
program relies entirely on the content of the images, freeing you from
the need to annotate all images before querying the collection.