graphs – How to perform machine learning on plots?

I need a machine learning code that deals with two classes of parcels and learns to re-identify which parcel belongs to which class (folder).
there are two classes (two folders with pictures). I want the code to be able to learn where each parcel belongs.

An example of what the plot looks like:
enter the description of the image here

link for the two image files:
(Note: I am looking for an example or a step at a time, I am still a novice in machine learning but I have not found sample code on the parcels)