/imagedescriptions

This repository stores the code used for my master thesis. The system should help the dutch Royal Library (KB) to more easily describe the images included in various different documents of text, such as news articles and magazines. These entail short, single-sentence descriptions.

Primary LanguageJupyter Notebook

Assisting Experts in Image Description for Visually Impaired People

This repository contains the code used during the development, experimentation and analysis steps of my Master Thesis at the TU Delft.

The aim is to help the KB National Library of the Netherlands, by improving the image description process for visually impaired people. Currently, this is a manual process, and our tool is a means to assist the experts writing these descriptions.

Finding the thesis

For more information, you can find the thesis on the TU Delft Repository.

Try it yourself

To try it, you can run the combined.py file (in the src folder), passing to it, as an argument, the name of the file you'd like to analyze. For example:

python combined.py wikipedia_WIT_dataset_file.gz
python combined.py some_dtbook_file.xml

If you want to run your image through Microsoft Azure Image Analysis, you need to add the API keys to your environment variables (as will be indicated by the error messages that are returned).

It is also possible to run only the image analysis. You can do this by running the src/azure/azure.py file with the image file name you'd like to analyze. For example:

python azure.py dog.jpg

Just Azure

Microsoft has also put the analyze image service online, to be used freely, if the only thing you're interested in is the image analysis. You can find it on this website.

Image Description Tool

The source code of the image description tool (the user interface used for the experiment) can be found in src/image_description_tool/.

Experiment Result Analysis

The notebook code and raw experiment result data can be found in src/experiment_result_analysis.