in Mandarin/zh, the simplest way, keras Image Classification, build a model to classify cats and dogs, total two classes, that is, cat, dog. You download pics dataset of cats and dogs from microsoft, then apply augmentation ( translate, rotate, flip, contrast), build a residual convo model, compile and fit, save the model or keep the weights, now you can predict / inference if it is a cat or a dog. I took some pics of cats and dogs in the yard, nnnn, the result is not so good, I mean the accuracy is bad. Perhaps I shall let the cat/dog take major surface ratio like 80 -90% when shooting pics.