X Interview Question

Design an image duplicate finder system. How does it scale? How can you insert new features such as image subject recognition?