Coin detection using neural networks on opencv and MATLAB