This repository contains files related to my project on Image Caption Generation.
- Python 3.5
- Matplotlib
- Pandas
- Numpy
- PIL
- Tkinter
- keras
- tensorflow
βββ beamsearch.py
βββ clean_captions.py
βββ Dataset
βββ Glove
βΒ Β βββ glove.6B.300d.txt
βββ GreedyCaption.py
βββ gui.py
βββ gui_sub.py
βββ gui_sub.py
βββ ImageFeature_extraction.py
βββ images
βΒ Β βββ 101654506_8eb26cfb60.jpg
βΒ Β βββ 102455176_5f8ead62d5.jpg
βΒ Β βββ 106490881_5a2dd9b7bd.jpg
βΒ Β βββ 10815824_2997e03d76.jpg
βΒ Β βββ 20190908_182047.jpeg
βΒ Β βββ 20190908_185519.jpeg
βΒ Β βββ 47870024_73a4481f7d.jpg
βΒ Β βββ 56494233_1824005879.jpg
βΒ Β βββ pic.jpeg
βββ index.jpeg
βββ model_weights
βΒ Β βββ FinalModel.h5
βββ Preprocessed Data
βΒ Β βββ clean_captions.pkl
βΒ Β βββ Image_features.pkl
βΒ Β βββ vocabulary.pkl
βββ requirements.txt
βββ training.py
βββ vocabulary.py
```
$ python3 ImageFeature_extraction.py
$ python3 clean_captions.py
$ python3 vocabulary.py
$ python3 training.py
$ python3 gui.py
this gui is made using python Tkinter package
model can be tested using below command after clonning the repository
$ python3 gui.py
When you run the gui.py using above command it will show you welcome screen and will ask you to choose the image from your local directory.
Here you can choose the Algorithm which you want to use to predict/generate a caption for chosen image.
Here, some glimpses of Best results which i have got during testing.

