You need a program that learns and improves classification accuracy organically from experience.
I'll suggest deep learning, with deep learning this becomes a trivial problem.
You can retrain the inception v3 model on Tensorflow (:
In this case, you will be training a convolutional neural network to classify an object as either a coca-cola can or not.