It looks like our museum archivist was a bit messy.
He accidentally misplaced two Monet's masterpieces in the archive.
Have a catalogue of all the paintings in the archive
and luckily I managed to find one Monet's painting.
But I'm still missing the second one
and I would like to find it
based on the known similarity to the first painting.
Can I somehow convince Orange to help me find it?
Indeed I can.
I will load my catalogue of 15 paintings with Import Images.
My images are stored locally,
but you can download them with a link provided in the description.
I will have a quick glance at the paintings with Image Viewer widget.
Ok, my archive has loaded successfully.
As I have mentioned before
we need a numeric description of these paintings,
so Orange can quantify their similarities.
This time we will not use Inception v3,
but the Painters embedder,
which was trained particularly to distinguish between different artistic styles.
Next we will use Neighbors widget
which for now can be found in the Prototypes add-on.
This widget finds the most similar data instances
to the reference data instance we provide.
First, some settings are required.
The distance measure we will be using is Cosine,
since it works best on images.
Second, we will not exclude the reference,
so our first painting will also appear in the results.
Finally, we will only look for two neighbors,
one will be our reference image
and the other hopefully the remaining Monet.
These last settings are there only for visualization purposes.
You can still keep the default
and only change Euclidean to Cosine distance.
Our reference image is Monet's painting we have already managed to find
in our small art collection.
We will use data table to select this painting from the list.
Then we will feed this reference to Neighbors.
This widget will now go through all our paintings in the collection
and find the one that is the most similar to our reference.
Ideally, this would be the other Monet.
Let us check the results in Image Viewer.
Fantastic!
Orange indeed managed to find my remaining painting.
Now I have to put it away somewhere safe,
so my archivist is doesn't lose it again.
Well, if he does,
now, I have a quick and easy way
to find similar images in a collection.
