How to count occurrences of classes in images?

Hi there,

Considering an image data set (for example, dogs and cats), I´d like to count the number of cats and/or dogs that figures out in a given image.

Could you help me?


Yes if you want to calculate only 1 value i.e total no of cats then its a single value problem which you can solve using models like CNN.
But if you want to find out both i.e. number of cats and dog them its a multi value problem then make sure your output is an array having 2 values separated by semicolon ( ; ) and you can design your model.