Does Matlab provide any tools to understand the contents in an image and describe it using words?
Show older comments
Hi,
I am new to neural network and just about to start to build my own.
I am hoping to achieve that with an input of an image, the output would be a few sentences in texts to describe the contents (and even feelings) of this image.
Where should I start? Does Matlab have any developed tools or trained networks that I can just grab and use?
5 Comments
Bjorn Gustavsson
on 21 Mar 2023
@John D'Errico - even your beloved movie-computer would be stumped ("unsure" at least) on what emotion to put on an image from 30 minutes into the Brazil - Germany World-Cup semifinal 2014, surely not even the movie-computer can solve that?
the cyclist
on 21 Mar 2023
Edited: the cyclist
on 21 Mar 2023
Gents, let's not be too hasty and dismissive (not to mention a bit unkind to a new user). The reality is that given a pre-trained set of images that are labeled with emotional content -- which could quite possibly exist somewhere -- one could build a classifier on new images.
@Salad Box, I am not an expert in this, but I would start with looking at examples in the Deep Learning Toolbox, coupled with a keyword search on "sentiment analysis", which is one of the common buzzwords in this type of method. You might get a bit of a start like that, and MATLAB definitely has the computational tools to do this type of analysis.
John D'Errico
on 21 Mar 2023
Yes. All of that is surely possible. But not off the shelf, pretrained.
And emotional content in an image is highly subjective.
the cyclist
on 21 Mar 2023
Final sentence of that paper: "We also built a database for the emotion estimation with the V-A model and will continue to collect more data. We expect our dataset will be widely used in the field of affective computing."
Salad Box
on 21 Mar 2023
Answers (2)
Steven Lord
on 21 Mar 2023
0 votes
There are examples in various products (mainly using Deep Learning Toolbox and/or Computer Vision Toolbox) to perform image classification to determine which of a set of items in the training data an image represents. See as one example this page that shows how to use a pretrained network (SqueezeNet) with ten lines of code to perform that classification.
But if you're looking for "Computer, identify the object on the viewscreen" a la Star Trek where the object is something completely new, I don't think you're going to be able to achieve that.
1 Comment
Salad Box
on 21 Mar 2023
Categories
Find more on Language Support in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!