Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image-captioning

Image Captioning is one of those projcts that blends the Natural langauge Procssing and computer vision. It involves training of the neural networks on images and correspoding targets text sentences ( can be more than one). Further more this Models is trained on the flicker 8k dataset which Comprise of 80000 images and contains 5 captions for each image.

Dataset :

Dataset which is used comprises of different scences and all natural images. The captions in this dataset are around 40,000 which is 5 captions for each image. And all are natual spoken langauge regarding any scence or image. It was collected in 2015 to investigate multimodal learning schemes for unsupervised speech pattern discovery.

Model-Workflow:-

1. First Works with Natural language Processing on Captions:-

  •  1.    Text Preprocessing
        * a.    Text cleaning
        * b.    Removing Punctuation ('!"#$%&'()*+)
        * c.    Removing stopwords
        * d.    Lemmatize the words
        * e.    Tokenize the words of each captions
        * f.    pad the seqences and create the numpy array
    
  • 2. Tokenizing the text to sequencs Using Tokennizer ()
    
  • 3. Creating Word2Vec Embedding for embedding layer in Neural Network
    

2. Working on Images:-

  a. Converting images to array of RGB using ResNet50 pretrained model just by removing the last layer of the model.

3. Deep Neural Network:-

Screenshot-from-2022-02-07-12-32-54.png

4. Output Predicted Results:-

Screenshot-from-2022-02-07-12-40-53.png

About

Scene understanding, which blends computer vision with natural language processing skills, includes image caption, which automatically generates natural language descriptions based on the content observed in a picture.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages