An algorithm to distinguish dogs from cats using off the shelf libraries