AR similar image recognition

Hi everyone!
I have 2 similar images

I need to track first image (without background) and then move backward and track second image. But ARCore/ARKit tracks first image like both images
How can I fix it?