Glossary

What is Image classification?

In Turkish: Görüntü sınıflandırma · Topic: Vision, audio and robotics

The task of assigning an image to one of a set of predefined categories, such as deciding whether a photo shows a cat or a dog.

How does it work?

During training, the model sees many labeled images. Convolutional neural networks or vision transformers extract features, first picking up simple patterns such as edges and textures, then more complex parts and shapes. The final layer outputs a probability for each category, and the label with the highest probability is chosen. The model does not say where the object is in the picture; it only makes an overall decision about the image as a whole.

Why does it matter?

Image classification is the most basic computer vision task, and early successes of deep learning came from it. It is used in areas from sorting X-ray scans in medicine and spotting diseased leaves in farming to content moderation and organizing photo archives. Imbalances and biases in the training data can lead to wrong results.

Example

A phone's photo app automatically sorts the gallery into groups like food, landscapes and pets.

FAQ

Can a model recognize a category it never saw during training?

Classic models cannot. However, some models that learned images and text together can guess classes whose labels they never saw by reading the text description of the category. This is called zero-shot classification.

How is image classification different from object detection?

Classification produces a single label for the whole image. Object detection also finds where each object is, so it is better suited to scenes with several objects.

All terms