preritj / show_attend_tell

Caption generator for live camera feed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show and Tell : A Neural Caption Generator for Live Camera Stream

Credits :

Setup instructions

  • Clone the repository.
  • Install Python 3.5+, Tensorflow 1.0+ . You may need to install certain python packages if they are missing.
  • Install NLTK and NLTK data :
  • Download the pretrained checkpoint file from the link specified above and place the checkpoint file, along with the corresponding index file, in models directory.
  • The live camera feed url as well as other camera parameters should be specified in stream_utils/config.ini. Currently, the supported formats are JPEG and MJPEG.
  • Finally, edit and run the script run.sh.

Results

Here is resulting captions on a random live camera feed without any fine-tuning:

captions

About

Caption generator for live camera feed

License:MIT License


Languages

Language:Python 96.6%Language:Shell 3.4%