Skip to content

preritj/show_attend_tell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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