Android coin counting app using OpenCV