Technology · Machine learning
Computer vision
Branch of computer science
Computer vision is the branch of computer science that enables a machine to see, identify and process objects in still images and video.[1]
The phrase borrows the language of human sight, but the machine does not look at a photograph the way a person does. An image reaches a computer as a grid of numbers, each number recording the brightness or colour of one small patch of the scene, and the task is to work out from those numbers what is present and where. A video adds a further dimension: it is a sequence of continuous images, called frames, shown at a fixed rate, so the same problem is posed many times a second.[1]
Key facts
| 129,450 | clinical images used to train Esteva et al. 2017's skin cancer network[2] |
|---|---|
| 0.991 | area under the curve for Gulshan et al. 2016 on EyePACS-1[3] |
| 40 GB | uncompressed data in one whole slide plane, per Bankhead et al. 2017[4] |
| 187 | computer vision applications reviewed by Weinstein 2018 in animal ecology[5] |
Overview
Computer vision
A concrete case makes the aim plain. Two separate jobs are folded into that answer. Object classification decides which class of object is present and assigns the label; object localization finds the position of the object, usually by drawing a bounding box, a rectangle that encloses it. Detection is the combination of the two, and the pairing is what separates it from simply naming what an image contains.[1] A system that says "dog" without saying where has classified but not localized; one that draws a box around something without naming it has localized but not classified.

The difficulty lies in the gap between the tidy description and the messy image. Objects arrive at different sizes, from different angles, in different poses, under different lighting, sometimes partly hidden behind other things, sometimes packed close together. Human beings immediately detect or recognize objects from images or video.[1]
What changed, and what still fails
Traditional object detection methods were built on handcrafted features and shallow trainable architectures, with techniques such as HOG, SIFT and Haar used to extract features.[6][1] Deep learning lets models learn their own features from examples, and deep learning methods have been shown to outperform previous state-of-the-art machine learning techniques in several fields, with computer vision being one of the most prominent cases.[7][8] The details of that shift, and of the network designs behind it, belong to later sections.
What has not been solved is reliability across the full range of real conditions. A detector can perform well on the kind of image it was trained on and still miss an object that occupies less than about five percent of the frame, or fail on a stack of plates where the items touch and overlap. It can also fail on something it has never been shown: a model trained to find balls will sometimes flag an orange, because the two share a roughly round shape, and the underlying reason is that oranges were never part of its training.[1]
Computer vision turns images into decisions about what is present and where, and its hard problems are the ordinary variations of the real world: small, crowded, poorly lit and unfamiliar things.
History
From hand-built features to learned ones
Before deep learning, a detector was assembled in stages, and each stage was designed by a person rather than discovered from data. The first stage proposed candidate regions: the model scanned the whole image with windows of several sizes, looking for places where an object might sit. The strategy does find possible positions, but it is expensive, because the sweep produces a great many candidate windows and each one must be processed.[1] The second stage extracted features, the measurable properties of an image patch that are meant to distinguish one kind of object from another. The third stage classified: the extracted features were combined into a representation of the object, compared against a trained model, and assigned to a class.[1]
The middle stage carried most of the intellectual weight, and it was done by hand. Named feature descriptors such as HOG, SIFT and Haar were written by researchers who decided in advance which patterns of edge, gradient or texture would mark out an object, and the classifier then learned from those fixed measurements. Classifiers of the period included the support vector machine (SVM), deformable part models and AdaBoost.[1] The weakness is built into the arrangement. A descriptor that works well for one kind of object in one kind of picture must be redesigned when appearances, backgrounds, weather or illumination change, and designing a descriptor robust to all of that is difficult.[1] The person is guessing, in advance, which regularities will matter.
Deep learning removed the guess by making the features themselves something the model learns. A deep network is a computational model of multiple processing layers that learns to represent data at several levels of abstraction, so that later layers build on the outputs of earlier ones.[8] In place of a hand-written descriptor, the network is shown many examples and adjusts its own internal settings until its representations separate the classes. This is why the shift mattered so much for detection: the model no longer depends on a human deciding what an edge or a texture ought to look like. Reviews of the field describe traditional detectors as built on handcrafted features and shallow trainable architectures, whose performance tended to stagnate as engineers piled up more and more low-level features and context to compensate, and they credit deep networks with learning semantic, higher-level features that address those limits.[6] A survey tracing a quarter century of object detection treats the deep learning era as a revolution in the field, following an earlier period of ingenious hand design.[9]
Where the idea came from
The ambition behind these networks is older than the hardware that made them practical. In 1943 McCulloch and Pitts tried to understand how the brain could produce complex patterns using interconnected basic cells, called neurons, and their model of a neuron became an important contribution to the development of artificial neural networks.[7] What took decades was not the idea of stacking such units but the means to train a deep stack well. A substantial breakthrough came in 2006, when Hinton and colleagues introduced the Deep Belief Network, built from multiple layers of Restricted Boltzmann Machines and trained one layer at a time in an unsupervised way; guiding the training of intermediate representations locally, level by level, was the principle behind the surge of deep architectures that followed.[7]
Two practical conditions turned that principle into results. The first was data: large, high-quality, publicly available labelled datasets appeared, giving models enough examples to learn from. The second was computing: parallel GPU computing enabled a move from CPU-based to GPU-based training, which accelerated the training of deep models substantially.[7] Neither is a detail of engineering. A network that learns its own features needs many examples to learn from and heavy computation to adjust its parameters, and the arrival of both is what let the learned-feature approach overtake the hand-built one.
The contrast between the two eras is easiest to see in what a designer does. In the traditional pipeline the designer writes the descriptor and the classifier learns a boundary over it; in the learned pipeline the designer specifies the architecture and the data, and the features emerge from training. That does not make the older work obsolete as an idea. It relocates the human contribution from deciding what an object looks like to deciding what the model is shown and how it is built, which is why the sections that follow spend as much time on datasets and annotation as on network design.
Hand-built detectors fixed the features in advance and learned only the classification; deep networks learn the features too, which required both large labelled datasets and GPU computing to become practical.
From sliding windows to region proposals: the evolution of detection architectures
The sliding window and its cost
They looked everywhere. A sliding window detector moves a rectangle of fixed size across the image, one position at a time, and asks its classifier at each stop whether the patch inside the rectangle contains the object. To cope with objects of different sizes, the same sweep is repeated with windows of several scales, so the whole image is examined many times over. The strategy does find the possible positions of objects, but it is expensive: the sweep produces a great many candidate windows, and every one of them must be processed.[1]
The classifier that answered at each stop was built on hand-designed features. Named descriptors such as HOG, SIFT and Haar were written by researchers who decided in advance which patterns of edge, gradient or texture would mark out an object, and a classifier such as a support vector machine then learned from those fixed measurements.[1] The weakness is structural. A descriptor tuned for one kind of object in one kind of picture had to be redesigned when appearances, backgrounds, weather or illumination changed, and building one robust to all of that is difficult.[1] The person was guessing, in advance, which regularities would matter, and the guess was baked into every window the sweep examined.
Proposing regions instead of sweeping
The first deep detectors kept the instinct that looking should come before deciding, but replaced the blind sweep with a learned proposal. A region proposal method examines the image and suggests a modest number of places where an object plausibly sits, rather than testing every position at every scale. Those proposals are then passed to a second stage that classifies each one and refines its box. This is the two-stage detector: propose, then decide. A review of deep detection frameworks traces the family through a line of designs including R-CNN, SPPnet, Fast R-CNN, Faster R-CNN, Mask R-CNN and Feature Pyramid Networks, each altering how proposals are generated or how the features inside them are computed.[10]
The gain is one of where the effort goes. Instead of classifying every window, the system classifies a smaller set of proposals, so the expensive classifier runs far less often.
Looking once
The second answer collapses the passes into one. A one-stage detector predicts the class and the box directly from the image in a single sweep, without a separate proposal step. The review of deep frameworks groups this family around designs such as YOLO, SSD, RetinaNet, CornerNet and EfficientDet.[10]
Neither arrangement is simply better, and the reason is that the families are not variations on one recipe. A systematic review comparing traditional, two-stage and one-stage techniques found that the proposed methods differ in their architecture, in their optimization function and in their training strategies.[1] Those differences are substantive. The architecture decides what information reaches the classifier and when; the optimization function decides what the training pushes the model toward; the training strategy decides which examples it sees and how hard it works on them. Two detectors that both draw a box around a pedestrian may share almost nothing in how they arrived at it, which is also why a single benchmark score reflects the whole package rather than one isolated design choice.
Anchors, and doing without them
A separate way of sorting detectors looks at how they represent the possible positions of an object, and it cuts across the two-stage and one-stage split. An anchor-based detector predefines a set of reference boxes of various shapes and sizes at each location in the image, and the model learns to adjust those references to fit the objects it finds. An anchor-free detector drops the predefined references and predicts an object's extent directly, for instance by locating its centre and the distances to its edges. A review of deep detectors classifies the state of the art into anchor-based, anchor-free and transformer-based groups, noting that the approaches are distinct in the way they identify objects in the image.[11]
The distinction matters because anchors encode assumptions. Transformer-based detectors replace the convolutional stack with attention, a mechanism that weighs different parts of the input against each other so that each region can draw on information from across the image rather than only from its immediate neighbourhood.[11] Attention is treated in its own right later.
What the evolution shows
The sliding window fixed where to look and how big to look; the region proposal learned where to look; the one-stage detector learned to look and decide at once; the anchor-free detector stopped fixing the shapes in advance; the transformer stopped restricting each region to its neighbours.
What has not changed is the underlying question. Every design in this line answers what is present and where, and every one inherits the same dependence on the conditions its training examples covered. The differences between the families decide how quickly and how carefully that answer is produced, which is why the choice among them is a trade suited to a task rather than a ranking. The metrics that would settle such a comparison, and the imbalance between empty background and rare objects that shapes both training and scoring, are covered later.
Detection evolved from sweeping every window with hand-built features, to proposing a few regions and classifying them, to predicting directly, to dropping fixed anchors and fixed neighbourhoods, with each step trading human specification for learned behaviour and a heavier need for data and computation.
How it works
What a detector actually answers
A detector is asked two things at once, and the whole vocabulary of the field follows from keeping them apart. The first question is what is in the picture: which category of thing, drawn from a fixed list the system was taught. The second is where it is: which part of the image the thing occupies. A useful detector answers both, and the answer is only complete when the two are joined.
Object classification is the naming half. It takes an image, or a region cut from one, and decides which class of object is present, assigning the corresponding label. Object localization is the pointing half: it finds the position of one or more objects in an image or video and marks it with a bounding box, the rectangle that encloses the object.[1] Neither half is detection on its own. A label with no box says something is there but not where; a box with no label says something is there but not what. Object detection is the combination of the two, localization and classification performed together.[1]
The complete act of recognition adds one more piece to that pair. An image goes in; the system identifies the objects in it, assigns each the label of its class, and returns a class probability, a number expressing how confident the system is that the label is right.[1] That last output matters more than it might seem. A detector that reports "dog, 0.94" is telling its user how much to trust the answer, and a system downstream, whether a car deciding to brake or a clinician scanning a slide, can set its own threshold for acting on it. The probability is also a reminder that the label is a judgement, not a reading.
The older way of answering
Before networks learned their own features, the two questions were answered by a pipeline of three stages, each doing a distinct job. The first stage looked for informative regions: places in the image where an object might plausibly sit. The model scanned the whole image with windows at several scales, hunting for a recognizable pattern, which does find the possible positions of objects but at a cost, since the sweep generates a great many candidate windows and each one must be processed.[1] The second stage extracted features from those candidate regions, the measurable properties that distinguish one kind of object from another. The third classified, combining the relevant features into a representation of the object and comparing it against a trained model to assign a class.[1]
Read as a sequence, the pipeline is an answer to the two questions in order. The scan proposes where, the features describe what has been found, and the classifier decides what it is. What the arrangement cannot do is reconsider. A region the scan never proposed is lost, however distinctive the object inside it, and the features were fixed in advance by a designer rather than discovered from the data. Those limits are what later designs were built to escape, and the networks that replaced the pipeline are covered later.
Why the pairing is the hard part
Splitting detection into two questions makes the difficulty visible. Classification alone can be tackled on cropped images where the object fills the frame, and localization alone can be tackled on scenes with a single known kind of thing. Detection has to do both on the raw image, where the object may be small, angled, half-hidden or crowded against its neighbours, and it has to do it for every object present rather than one at a time. The system must also decide how many answers to give, since a photograph of a crowd contains many objects and a photograph of an empty street contains none.
There is a further consequence of the class probability being part of the output. Two detectors can agree on every label and every box and still differ in how well their confidences track reality, and that difference decides which one is safe to deploy. A confident wrong answer is worse than a hesitant right one in most settings, because the confidence is what the surrounding system uses to decide whether to act. Judging that quality is a separate problem from judging accuracy, and it is taken up with the other evaluation questions later.
Detection answers what and where together, and the confidence attached to the answer is part of the answer.
Convolutional networks and how they learn
The learned-feature approach rests on a particular kind of deep model, and the one that matters most for images is the convolutional neural network (CNN), a network built from layers that scan an image with small filters rather than treating every pixel as an independent input. The name comes from the operation at its centre. A convolution slides a small grid of weights across the image, multiplying and summing at each position, so that the same tiny pattern detector is applied everywhere in the picture. That sharing is the point: a detector for a vertical edge is useful in the top-left corner and the bottom-right alike, and a network that learns it once can apply it across the whole frame instead of relearning it for every location.
A CNN is assembled from a small set of layer types, each doing one job. The input layer receives the raw pixel values. Convolution layers apply the filters and produce feature maps, which record where in the image each learned pattern occurred. Pooling layers shrink those maps, keeping the strongest response in each small neighbourhood so that the exact position of a feature matters less than its presence. Activation functions introduce the non-linearity that lets the network represent more than straight-line combinations of its inputs, and batch normalization and dropout are training aids that steady and regularize the process. Fully connected layers at the end combine the extracted evidence into a decision, and the output layer delivers it.[12]
The arrangement explains why the network can learn features on its own. Early layers see only small patches and come to respond to simple things: an edge, a patch of colour, a corner. Later layers combine those responses into larger structures, and later still into whole objects, so the representation grows more abstract as it deepens. Deep learning is defined in just these terms, as computational models of multiple processing layers that learn representations of data with multiple levels of abstraction.[8] Nothing in that description says which features to look for. The filters are not written by a person; they begin as arbitrary numbers and are adjusted during training until they respond to whatever distinctions the data demands.
How the parameters get adjusted
The adjustment is the work of backpropagation, the algorithm that tells the network how to change its internal parameters. The network makes a prediction, the prediction is compared with the correct answer, and the size of the error is computed. Backpropagation then works backward through the layers, assigning each parameter a share of the blame for that error and indicating how it should move to reduce it.[8] Repeat this over many examples and the filters drift into useful shapes. The network is not told that edges matter; it discovers that filters sensitive to edges reduce the error, because edges help predict the labels it has been given.
Two properties follow from this design, and they are why CNNs became the standard tool for images. The second is invariance to transformations, meaning that a small shift, rotation or distortion of the object does not change the network's response much, which is a great asset for visual tasks where the same object appears in many positions and poses.[7] Designing a good and robust hand-crafted feature descriptor is challenging due to large variations in images such as appearances, backgrounds, weather and illumination conditions.[1]
The price of learning features this way is a heavy dependence on labelled examples. CNNs rely on the existence of labelled data, in contrast to other deep models, such as Deep Belief Networks and stacked denoising autoencoders, which can work in an unsupervised fashion.[7] A network can only learn the distinctions its training examples demonstrate, so the supply of correctly labelled images becomes a constraint on what the model can do. That constraint is why the labelling step, and the datasets built from it, carry so much weight in practice, a subject covered later.
What the layers buy, and what they cost
It helps to see the whole network as a pipeline of increasing abstraction rather than a single classifier. The first layers turn pixels into a map of local patterns; the middle layers turn those patterns into parts; the last layers turn parts into objects and labels. Because each stage builds on the one before, the network can represent intricate structure in large data sets that a shallower model could not capture.[8] This is also why the same architecture can be pointed at faces, cells or road signs: the layers learn whatever hierarchy the training images support.
The cost is computation. Both CNNs and the Boltzmann-family models are computationally demanding when it comes to training, whereas stacked autoencoders can be trained in real time under certain circumstances. Training a deep convolutional network means many passes over many images, and parallel GPU computing enabled the transition from CPU-based to GPU-based training, allowing significant acceleration in training.[7] The architecture and the hardware grew up together.
A further cost is conceptual. Deep neural networks are often described as black box models, criticized as non-transparent with predictions not traceable by humans.[13] That opacity is not a flaw in any single design but a consequence of learning features instead of specifying them, and it raises questions about trust and explanation that are taken up later. For now the essential point is structural. A convolutional network is a stack of filters that learns its own hierarchy from labelled examples, adjusts itself by backpropagation, tolerates modest changes in how an object appears, and in exchange demands a great deal of labelled data and computing power.
A CNN learns its filters rather than receiving them, adjusts them by backpropagation, and trades that flexibility for a heavy need for labelled images and computation.
Two families of deep detectors
Once deep networks could learn their own features, the question became how to arrange them into a detector, and the field settled into two broad answers. The first answer keeps the older pipeline's instinct: look first, then decide. A two-stage detector generates a set of candidate regions in the image, each a place where an object might plausibly sit, and then classifies and refines each proposal in a second pass. The second answer collapses the two passes into one. Reviews of the field divide the deep detectors along exactly this line, alongside the older traditional methods that preceded both.[1][10]
The difference is one of where the work goes. A two-stage design spends its effort on the proposals, so that the classifier only ever examines a modest number of promising patches, which suits accuracy and costs time. A one-stage design examines the whole image densely and must therefore make many predictions at once, most of them wrong, which suits speed and puts pressure on how the training handles that flood of easy negatives. Neither arrangement is simply better. The choice is a trade between how carefully each candidate is examined and how quickly the whole frame is covered.
Not one recipe with two settings
It is tempting to treat the families as variations on a single recipe, and the evidence argues against it. A systematic review that compared traditional, two-stage and one-stage detection techniques found the proposed methods differ in their architecture, in their optimization function and in their training strategies.[1] Those are not cosmetic differences. The architecture decides what information reaches the classifier and when; the optimization function decides what the training is pushing the model toward; the training strategy decides which examples the model sees and how hard it works on them. Two detectors that both draw a box around a pedestrian may share almost nothing in how they arrived at it.
That finding also explains why the families resist a tidy scoreboard. If the methods differ in what they optimize and how they are trained, then a comparison on one dataset measures the whole package, not an isolated design choice. The review's own conclusion is the modest one its evidence supports: the techniques are distinct in these respects, and the arrival of deep neural networks improved the performance of the detectors over what came before.[1] Which arrangement to use depends on what the application needs, and the metrics that would settle the question are covered later.
Three groupings that cut across the two
A separate way of sorting detectors looks not at how many passes they make but at how they represent the possible positions of an object. Anchor-based detectors predefine a set of reference boxes of various shapes and sizes at each location in the image, and the model learns to adjust those references to fit the objects it finds. Anchor-free detectors drop the predefined references and predict an object's extent directly, for instance by locating its centre and the distances to its edges. Transformer-based detectors replace the convolutional stack with attention, a mechanism that weighs different parts of the input against each other and lets each region draw on information from across the image. A review of deep detectors classifies the state of the art into these three groups, noting that the approaches are distinct in the way they identify objects in the image.[11]
These groupings cross the two-stage and one-stage split rather than replacing it. A detector can be one-stage and anchor-based, or one-stage and anchor-free, and the transformer designs sit somewhat apart from both. The value of the three-way sort is that it names the actual decision a designer makes about representation, which is often more consequential than the number of passes. Attention itself is treated in its own right later.
The one-stage case in point
The clearest illustration of what the one-stage idea buys is the YOLO framework, short for You Only Look Once, whose name states the design. A review of the framework traces its variants up to its latest version, YOLO 11, and describes it as a state-of-the-art model that has achieved an optimal balance between speed and accuracy, with applications across healthcare, autonomous vehicles and robotics. The same review sets out the framework's limitations in practical settings, naming small object detection, environmental variability and computational constraints among the challenges it still faces.[14]
Those limitations are worth holding next to the claim, because they show what the balance costs. Speed and accuracy are balanced against each other, not maximized together, and the difficulties the review lists are the ordinary conditions of real scenes rather than rare failures. A detector built to look once is fast because it does not linger, and lingering is sometimes what a small or obscured object requires. The framework's spread into so many domains is evidence that the trade suits many tasks; it is not evidence that the trade suits every task.
Two-stage detectors propose regions and then classify them; one-stage detectors predict directly. The families differ in architecture, optimization and training, and the choice between them is a trade between careful examination and speed.
Teaching a model what to look for: datasets and annotation
A convolutional network learns its filters from examples, which makes the examples themselves the raw material of the whole enterprise. The process of creating them is called annotation: the labelling of existing data so that a model can be trained on it. Supervised learning, the kind used for detection, requires labelled data, and annotation is how that labelling is produced. When the data are images, developers add metadata to the dataset, marking what is in each picture and where, so that the machine can interpret the data clearly and accurately during training.[1]

The marks take several forms, and the choice depends on what the model must learn. A bounding box is the rectangle already familiar from localization, drawn around an object. A polygon traces an object's outline with a chain of straight segments, which suits shapes a rectangle would badly enclose. A mask marks the object's pixels directly, giving a finer record than either. Landmarking places individual points at defined positions, such as the corners of a face or the joints of a limb. Annotation tools support these and other marks, including polyline and masking, and the work is done by hand, image by image, before any training begins.[1]
The tools of the trade
Because the marking is repetitive, it is done in software built for the purpose. A review of object detection lists a range of annotation tools, among them MakeSense.AI, LabelImg, VOTT, VIA, KAT, LabelMe and LabelBox, and reports that the most frequently used across the publications it examined are LabelImg, CVAT, VOTT and LabelMe.[1] These programs present an image, let a person draw boxes or outlines on it, and write the coordinates out in a form the training code can read. Video can be annotated too, either frame by frame or as a stream, which multiplies the effort by the number of frames.[1]
The cost of all this is the reason the field keeps looking for ways around it. Annotation is very time-consuming, and manual labelling demands a great deal of effort, which is why attention has turned to automatic annotation and to self-supervised training, in which the model learns from the structure of unlabelled data rather than from marks a person supplied.[1] The motivation is plain arithmetic: a detector's competence is bounded by the examples it was given, and every example must first be marked by someone.
The boundary of what a model can know
That bound has a sharp consequence, and it is the single most important thing to understand about training data. A detector can only detect the classes it was trained on. The illustration the review gives is a model built to find balls: shown an orange, it may report a ball, because the orange has approximately the same round shape. The main reason for the detection failure is that the orange object is not included during training. The model has no category for orange, so it forces the orange into the nearest class it does know, the ball, because the orange has approximately the same shape feature.[1]
The lesson generalizes past fruit. A model's list of classes is closed, fixed at training time, and anything outside it will either be missed or forced into the nearest class it does know. This is why the composition of a training set is a design decision and not a clerical one. Which objects appear, in what variety of poses and settings, and with what labels, determines what the finished system can be trusted to notice. The failures catalogued earlier, the small object and the crowded stack, are failures of the same kind: conditions the training examples did not adequately represent.
A model can only find the classes it was taught, in the conditions its examples showed, so the labelling step quietly sets the ceiling on everything that follows.
How a network learns to see: layers, features and training
A convolutional network is best understood as a stack of stages, each transforming what the previous one produced. The input layer receives the raw pixel values of an image, a grid of numbers with no meaning attached. Convolution layers then apply small filters, sliding each one across the image and computing a weighted sum at every position, which yields a feature map recording where in the picture that filter's pattern occurred. Pooling layers shrink those maps by keeping the strongest response in each small neighbourhood, so that the precise location of a feature matters less than its presence. Activation functions add the non-linearity that lets the network represent more than straight-line combinations of its inputs, while batch normalization and dropout steady and regularize training. Fully connected layers near the end combine the accumulated evidence into a decision, and the output layer delivers it.[12]

The ordering is what produces learning. Later layers take those responses as their input and combine them into larger structures, and later still into whole objects. Deep learning is defined in exactly these terms, as computational models of multiple processing layers that learn representations of data with multiple levels of abstraction.[8] The abstraction is not a metaphor. Each layer's output is a representation of the image in which some distinctions have been sharpened and others discarded, and the final decision is made from the last and most abstract of them.
Nothing in that description specifies which features to look for. The designer chooses the architecture, the depth, the number and size of filters; the data chooses what the filters become.
The adjustment is the work of backpropagation, the algorithm that indicates how a machine should change its internal parameters so that the representation computed in each layer improves.[8] The network makes a prediction, the prediction is compared with the correct label, and the size of the error is computed. Backpropagation then works backward from the output, assigning each parameter a share of the blame for that error and a direction in which to move to reduce it. Repeat over many examples and the filters drift into useful shapes.
Two properties follow from this arrangement, and they explain why convolutional networks became the standard tool for images. The first is automatic feature learning: the network learns features from the given dataset rather than receiving them pre-specified by a person. The second is invariance to transformations, meaning that a modest shift, rotation or distortion of the object does not much change the network's response, which is a great asset when the same object appears in many positions and poses.[7]
The price is a heavy dependence on labelled examples. Convolutional networks rely on the existence of labelled data, in contrast to other deep models, such as Deep Belief Networks and stacked denoising autoencoders, which can work in an unsupervised fashion. The cost is also computational: both convolutional networks and the Boltzmann-family models are computationally demanding to train, whereas stacked autoencoders can be trained in real time under certain circumstances.[7]
Why the idea had to wait for the hardware
Two practical conditions turned the principle into results. Neither is a mere engineering detail.
A trained network is also opaque in a way a hand-written rule is not. Its layers hold numbers that no one wrote and few can interpret directly, and its predictions are not traceable by inspection. That opacity is a consequence of learning features instead of specifying them, and it raises questions about trust and explanation that are covered later. For now the essential structure is clear.
A convolutional network learns its filters rather than receiving them, adjusts them by backpropagation, and trades that flexibility for a heavy need for labelled images and computation.
The data behind the model: annotation, datasets and benchmarks
A detector's competence is bounded by the examples it was shown, and every example must first be marked by a person. The marking is called annotation: the labelling of existing data so that a model can be trained on it. For images, developers add metadata to the dataset, recording what is in each picture and where, so that the machine can interpret the data clearly and accurately during training.[1]

The marks take several forms, and the choice follows from what the model must learn. A bounding box is the rectangle that encloses an object, the same shape used to state where an object is. Annotation tools support these and other marks, including polyline and masking, and the work is done by hand, image after image, before any training begins.[1]
The motivation is plain arithmetic. A detector can only learn the distinctions its training examples demonstrate, so the supply of correctly labelled images becomes a constraint on what the model can do, and every example in that supply must first be marked by someone.
Why shared benchmarks matter
A score on its own says little, because a detector tested on its own pictures may simply have been given easier images. A benchmark dataset is a fixed collection of images with agreed labels, released so that different detectors can be run on exactly the same material and compared. The review of object detection treats dataset preparation, the available standard datasets and the performance evaluation metrics as connected parts of one problem, alongside the annotation tools that produce the labels in the first place.[1] The connection is not incidental. The labels are the reference against which every score is computed, so a benchmark is only as good as the marking that went into it, and a metric is only meaningful when the dataset and the matching rule behind it are stated.
Even on shared data, comparison is harder than a leaderboard suggests. The systematic review that examined traditional, two-stage and one-stage detection techniques found that the proposed methods differ in their architecture, in their optimization function and in their training strategies.[1] A score on a benchmark therefore reflects the whole package. If two detectors differ in what they optimize and how they are trained, a gap between their scores does not isolate which of those differences caused it. The review's own summary is correspondingly modest: with the remarkable success of deep neural networks in object detection, the performance of the detectors has improved.[1] That is a statement about the direction of travel across the field, not a claim that one design beats another by a measured margin.
The imbalance built into the data
One property of detection data distorts training and evaluation at the same time. Most of the positions a detector examines contain nothing of interest, so the examples it sees are overwhelmingly empty background, and the few that contain an object are swamped by the many that do not. A comprehensive review of imbalance problems in object detection analyses these difficulties systematically, organising them into a problem-based taxonomy and discussing each in depth.[15] The imbalance is not a single issue but a family of them, arising between foreground and background, between object sizes, between classes and across other dimensions of the data.
The consequence for measurement is direct. A detector that answers "nothing here" to every patch will be right most of the time on a typical image, because most patches are empty, and a naive accuracy figure will reward it. What such a score conceals is that the system has learned nothing about the objects it was built to find.
A model can only find what its labelled examples taught it, so the marking step quietly sets the ceiling on everything that follows, and the benchmark and metric decide whether anyone can tell how close to that ceiling a detector has come.
Uses
Reading faces, crowds and roads
The applications of detection are easiest to grasp where the human eye already does the job well and simply cannot keep up. A face is the first case, and the review of object detection calls identifying an individual face the first application area in human object detection.[1] The task is narrow by the standards of the field: find the face, mark its extent, and the rest follows. Because the target is so consistent in its overall arrangement, two eyes above a nose above a mouth, face detection achieves high detection accuracy while keeping computation time low, and that efficiency is what let the idea spread into other areas.[1]

Once a system can locate a face reliably, the located face becomes a starting point for further reading. Applications now use the same idea to detect real-time smiles through cameras, to assess facial makeup, and to calculate age.[1] Each of these takes the box the detector drew and asks a further question about what is inside it. The progression is worth noticing because it repeats across the field: a detector that answers what and where becomes a component that other systems build on, and the applications multiply from there.
People in numbers
Human beings are a difficult class of object in their own right, for a reason that has nothing to do with faces. People as objects have the problem of widely varying appearances and adopt a wide range of poses, which is why different detection architectures have been proposed specifically to find human beings in images and video, pedestrian detection among them.[1] A pedestrian seen from the front, from behind, or mid-stride presents a different pattern each time, and a detector must treat all of them as the same kind of thing.
Where people gather, the counting problem appears. With object detection, crowd counting has been performed very quickly in densely populated areas such as parks and malls.[1] The value here is not any single detection but the aggregate: a count over a crowd, produced fast enough to be useful, in places where a person with a clicker would be overwhelmed. The same capability underlies video surveillance, which monitors many of the places people live and gather, including metro stations, parks, schools and shopping centres, precisely because humans cannot continuously watch video clips. Detection plays its part by identifying and tracking instances of a particular object in a scene at once, such as a suspected person or a vehicle.[1]
That last phrase carries the weight of the application. Tracking a particular object across frames is a harder request than finding objects in a single image, because the system must connect what it sees now with what it saw a moment ago. The reason the monitoring is automated at all is that humans cannot continuously monitor video clips.[1]
On the road
The most demanding setting for these methods is a moving vehicle, and the smart vehicle system, including the driverless car, has been a challenging research area. Such systems are required to identify, locate or track nearby objects and to control the vehicle's speed, which means the detector's output feeds directly into an action rather than a report.[1] The tolerance for failure shrinks accordingly, and the ordinary difficulties of detection, poor light, occlusion, small and distant objects, become safety questions rather than accuracy figures.
Road scenes also demand attention to fine detail in specific regions. Object detection systems work on more fine-grained and region-level images in this setting, with traffic light detection and recognition as an example.[1] This is the kind of task where the general difficulties of small objects press hardest, and it shows why a detector built for one job on the road is not automatically suited to another.
A camera pointed at the world
Away from any single industry, the same capability has been put in the hands of ordinary users. Google Lens scans an object and provides several web links related to the detected object, rather than requiring the object to be typed in as text.[1] The detection step is what turns a photograph into a query: the system works out what it is looking at, and the links follow from that identification. It is a small example of the pattern running through this section. Face, crowd, street and shopping aisle are different problems with different tolerances, but each begins with the same act of answering what is present and where, and each inherits the same dependence on what the system was trained to recognize.
The applications in this section differ in what a mistake costs, from a miscounted crowd to a missed traffic light, but all of them rest on the same what-and-where answer.
Vision in medicine and science
Deep learning algorithms, particularly convolutional networks, have rapidly become a methodology of choice for analysing medical images, and a survey of the field groups the work by application area: neuro, retinal, pulmonary, digital pathology, breast, cardiac, abdominal and musculoskeletal imaging.[16] The grouping is not a list of curiosities. Each area poses the same underlying task, finding and measuring structures in an image, against a different background of anatomy, imaging hardware and clinical consequence.

From pictures to numbers
The most direct use of vision in medicine is to reproduce what a radiologist already does: locate a lesion, outline an organ, flag an abnormality. A second use goes further, and it rests on a change in what an image is taken to be. Radiomics is the conversion of digital medical images into mineable high-dimensional data, a process built on the idea that biomedical images contain information reflecting underlying pathophysiology and that quantitative analysis can reveal those relationships.[17] The shift is from treating a scan as a picture for visual interpretation to treating it as a source of measurements.
The measurements come in families. Quantitative features based on intensity, shape, size or volume, and texture describe a tumour's phenotype and microenvironment, and they offer information distinct from what a clinical report, a laboratory test or a genomic assay provides. A single three-dimensional scan may contain millions of voxels, and one tumour may yield hundreds of measurable features describing its size, shape and texture.[17] Those features are then placed in databases alongside clinical and genomic data and mined for patterns that correlate with how patients fare.
The workflow has a characteristic shape. A region of interest containing the whole tumour, or subregions within it, is identified and segmented, with operator edits, and rendered in three dimensions; features are extracted from those volumes and stored with other patient data; models are then built for diagnosis, prognosis or prediction of treatment response. Radiomics is explicitly designed to extract a large number of features and mine them for hypothesis generation and testing, which distinguishes it from computer-aided detection systems built to deliver a single answer about whether a lesion is present.[17] One practical attraction is that it works on images already taken in the course of care, so the raw material is generated routinely rather than specially collected.
A caution belongs with the promise. Radiomic and radiogenomic analyses can identify correlations, not causes, and are not expected to establish the genetic contents of a tissue through imaging alone.[17] A feature that tracks a mutation across a patient group is a statistical association, useful for deciding which biopsy samples to test or where to take them, but not a substitute for the test itself. The same discipline applies to every measurement in this section: a number extracted from an image is evidence about a population until it is validated for the individual in front of the clinician.
The whole slide problem
Pathology poses a problem of scale that ordinary image tools were not built for. Whole slide scanners can rapidly generate ultra-large two-dimensional images, or stacks of planes, in which each plane may contain up to 40 gigabytes of uncompressed data. Manual scoring of such volumes by a pathologist is no longer sufficient to support large-scale tissue biomarker trials, and it cannot ensure the reproducible, objective analysis that reliable clinical correlation requires. General open-source image tools did not tackle the visualization and computational challenges of whole slide images, which meant users without access to expensive commercial solutions had to resort to inefficient workarounds such as image downsampling and cropping, or to laborious manual evaluation.[4]
QuPath was built for this setting: an open-source desktop application designed specifically to analyse and explore whole slide imaging data, with a multithreaded, tile-based viewer, extensive annotation tools, and a hierarchical object-based data model in which regions of interest, detections and their classifications can be queried and manipulated by script.[4] The design matters because it lets a single slide be treated as a collection of millions of measurable objects rather than one enormous picture.
The demonstration used surgical resection specimens from a population-based cohort of 660 patients with stage II and stage III colon cancer, diagnosed between 2004 and 2008, with tissue microarrays built from representative tumour cores. Applying QuPath to arrays stained for the T cell markers CD3 and CD8, the analysis of 21 whole slide images, representing more than 2000 tissue cores per biomarker, took less than four minutes per biomarker on a standard desktop machine and counted roughly 1.2 million CD3 positive and 0.6 million CD8 positive cells. Positive cell density was then significantly associated with disease-specific survival for both markers, which recapitulates earlier work on the prognostic relevance of adaptive immunity in colorectal cancer. The same platform was used to score p53 expression and PD-L1 immunoexpression, and to measure tumour stromal percentage in whole sections from 312 patients.[4]
The platforms underneath
None of this happens without software built to be extended, and the tools share a common lineage. Its redesign, ImageJ2, separated the data model from the user interface and rebuilt the plug-in framework so that image formats, scripting languages and visualization could all be extended by the community, while keeping backwards compatibility with the original.[18] Fiji is a distribution of ImageJ focused on biological image analysis, combining software libraries with a broad range of scripting languages to enable rapid prototyping and to turn new algorithms into shareable plugins through an integrated update system.[19]
Two further platforms show how varied the requirements become. CellProfiler was designed as a free, open-source system for flexible, high-throughput cell image analysis, capable of handling hundreds of thousands of images and organised around a pipeline of modules that process images in sequence: usually image processing, then object identification, then measurement.[20] 3D Slicer is a free open-source application for medical image computing that functions both as a clinical research tool, supporting visualization, automated segmentation and registration, and as a programming platform on which new quantitative methods can be implemented and evaluated without being tied to specific hardware.[21]
Medical vision turns images into measurements, and the measurements are only as trustworthy as the validation behind them; the open platforms are what let those methods travel between laboratories.
Vision in agriculture, ecology and industry
Agriculture is a natural home for machine vision because so much of farming is inspection: checking seed, soil, water, plants, animals and the eventual harvest. A review of deep learning in smart agriculture sorts the work into seed quality analysis, soil analysis, irrigation water management, plant health analysis, weed management, livestock management and yield estimation, and finds that convolutional neural networks are the cornerstone of these approaches, providing high-quality solutions across the activities in terms of precision and accuracy. The same review is careful about where success comes from: the approach depends on building the model on a quality dataset and on providing real-time solutions in the field.[22] A second review reaches a similar verdict for small field farming, where the technology can deliver low cost, high efficiency and high precision, while naming the obstacles that remain: the need for large-scale datasets, a growing demand for trained professionals, and robust performance across complex environments.[23]

The last of those obstacles deserves emphasis, because a farm is the opposite of a controlled laboratory. A camera mounted on equipment sees leaves in glare and shadow, dust on the lens, crops at every stage of growth and weeds that resemble them. The review of agricultural automation notes that computer vision uses a camera and computer in place of the human eye to identify, track and measure targets for further image processing, and that the technology has been widely used in agricultural automation and plays a key role in its development.[23] What the field work adds is the reminder that identifying a target in a greenhouse and identifying it in a muddy field are different problems wearing the same name.
Counting what flies and crawls
Ecology faces a monitoring problem of a different shape: the subjects are numerous, mobile and widely dispersed, and the people who study them are few. Most animal species on Earth are insects, and recent reports suggest their abundance is in drastic decline, yet the evidence needed to assess the phenomenon is still sparse because most monitoring methods are labour intensive and inefficient.[24] Computer vision offers a way around the bottleneck. Cameras and other sensors can perform entomological observations continuously and non-invasively through diurnal and seasonal cycles, and automated imaging in the laboratory can capture the physical appearance of specimens; trained on such data, deep learning models can estimate insect abundance, biomass and diversity, and quantify variation in traits, behaviour and interactions.[24]
The same logic applies across animal ecology more broadly. A review of 187 existing applications of computer vision in the field divided them into ecological description, counting and identity tasks, and noted that computer vision uses image features such as colour, shape and texture to infer image content. Its practical claim is about the bottleneck rather than the science: ecologists often use image capture to bolster data collection in time and space, but the ability to process those images remains the constraint, and computer vision can greatly increase the efficiency, repeatability and accuracy of image review.[5] A camera trap that fills a memory card is useless until someone looks at the pictures, and the looking is what automation takes over.
Machines that move, and the sky above
The most demanding industrial setting is the vehicle that must perceive for itself. A survey of computer vision for autonomous vehicles covers recognition, reconstruction, motion estimation, tracking, scene understanding and end-to-end learning for driving, and analyses performance on challenging benchmarking datasets including KITTI, MOT and Cityscapes.[25] Those shared benchmarks do for driving what standard datasets do everywhere: they let competing methods be compared on the same images, so that a claim of improvement means something. The survey also sets out open problems and current research challenges alongside the state of the art, which is a fair summary of a field where progress on benchmarks and readiness for the road are not the same thing.[25]
A less obvious industrial application looks upward. Forecasting the output of a solar facility requires anticipating how clouds will move, and conventional methods rely on numerical weather prediction or physical models, which struggle to assimilate cloud information and to learn systematic biases. Computer vision combined with machine learning offers a way past some of those limits by fusing real-time cloud cover observations with surface measurements from multiple sources, drawing on data from ground-level sky cameras, satellites, weather stations and sensor networks. The review of the field concludes that machine learning has the potential to significantly improve the accuracy and robustness of solar energy meteorology, while more research is needed to realize that potential and address its limitations.[26] The phrasing is the honest kind: a camera pointed at the sky is not a forecast, but it is a stream of evidence that a forecast can be built on.
In agriculture, ecology and industry the same detector meets conditions no laboratory arranged: weather, dust, moving subjects and clouds, which is why datasets and robustness matter as much as the network.
Research
Measuring whether a detector works
A detector that draws a box is making a claim, and the first question to ask of any such claim is how often it is right. The simplest measure counts the boxes the system got right against the boxes it should have found, but the counting is less straightforward than it sounds, because a box can be nearly right. A rectangle that overlaps the true object by most of its area is usually accepted as a hit; one that overlaps by a sliver is not. The threshold for "close enough" is a choice, and it changes the score, so a reported figure means little unless the rule behind it is stated. The same applies to the confidence attached to each answer: a system can be tuned to flag more objects, catching the ones it would otherwise miss at the price of more false alarms, or tuned the other way. Any single number hides that trade unless it says which setting produced it.

This is why the field leans on standard datasets. Without one, every paper would be measuring on its own pictures, and a higher score might only mean easier images. The review of object detection treats dataset preparation, the available standard datasets and the performance evaluation metrics as connected parts of the same problem, alongside the annotation tools that produce the labels in the first place.[1] The labels are the reference against which every score is computed, so a benchmark is only as good as the marking that went into it.
What a comparison can and cannot settle
That matters for measurement because a score on a benchmark reflects the whole package. That is a statement about the direction of travel across the field, supported by the body of work reviewed, not a claim that any one design beats another by a measured margin.
The imbalance that skews both training and scoring
Metrics for detection are therefore built to weigh the rare correct find more heavily than the common correct rejection, which is why the choice of metric is itself a statement about what the system is for. A detector destined for a car and one destined for counting cells in a slide can share an architecture and still need to be judged by different tolerances for missing something and for crying wolf.
A detection score is only meaningful when the dataset, the matching rule and the operating setting are all stated, because the number alone hides every choice that produced it.
What the evidence says about competence
Claims that a machine can see as well as a specialist are easy to make and hard to test, and the two studies that carry most weight for this question were designed around a specific comparison rather than a general one. The first concerns skin cancer, which is diagnosed visually, beginning with a clinical screening and followed potentially by dermoscopic analysis, a biopsy and histopathological examination.[2] Telling a harmless mole from a dangerous one is difficult even for trained eyes, because lesions vary finely in appearance. A single convolutional network was trained end to end on images alone, using only pixels and disease labels as inputs, on a dataset of 129,450 clinical images spanning 2,032 different diseases, which was two orders of magnitude larger than previous datasets of its kind.[2]
The test was set up as a contest. The network's performance was compared against 21 board-certified dermatologists on biopsy-proven clinical images, in two binary classification tasks chosen to represent the two things that matter most: keratinocyte carcinomas versus benign seborrheic keratoses, which is identification of the most common cancers, and malignant melanomas versus benign nevi, which is identification of the deadliest skin cancer. On both tasks the network achieved performance on par with all tested experts, which the authors describe as an artificial intelligence capable of classifying skin cancer with a level of competence comparable to dermatologists.[2]
The wording of that result is worth pausing on, because it is narrower than the headlines it produced. Comparable to the tested experts, on two binary tasks, on images that had been confirmed by biopsy. The network was not asked to look at a whole patient, weigh a history, decide what to biopsy or explain its reasoning. It was asked to sort images into one of two categories, and on that sorting it matched the specialists it was measured against. The study also notes a practical implication rather than a clinical one: outfitted with deep neural networks, mobile devices can potentially extend the reach of dermatologists outside the clinic, and with 6.3 billion smartphone subscriptions projected by 2021, could potentially provide low-cost universal access to vital diagnostic care.[2] Potential is the operative word in both clauses.
The retina
The second study poses a similar question in a different organ, and its design shows how much care a fair comparison takes. Diabetic retinopathy and diabetic macular edema are read from retinal fundus photographs, and the aim was an algorithm that could detect referable disease automatically. A deep convolutional network, the type of neural network optimized for image classification, was trained on a retrospective development set of 128,175 retinal images, each graded three to seven times by a panel of 54 US licensed ophthalmologists and ophthalmology senior residents between May and December 2015.[3] The repeated grading is the part that makes the comparison meaningful. Human readers disagree with themselves and with each other, so the reference standard was built from a majority decision of the panel rather than from a single expert's judgement.
Validation used two separate data sets, both graded by at least seven US board-certified ophthalmologists with high intragrader consistency. The first, EyePACS-1, held 9,963 images from 4,997 patients, with referable diabetic retinopathy present in 7.8 percent of the fully gradable images; the second, Messidor-2, held 1,748 images from 874 patients, with a prevalence of 14.6 percent. For detecting referable disease the algorithm reached an area under the receiver operating curve of 0.991 on EyePACS-1 and 0.990 on Messidor-2.[3] That single figure summarizes performance across all possible thresholds, so the study also reported two operating points chosen from the development set. At the setting chosen for high specificity, sensitivity was 90.3 percent and specificity 98.1 percent on EyePACS-1, and 87.0 percent and 98.5 percent on Messidor-2; at the setting chosen for high sensitivity, sensitivity rose to 97.5 percent and 96.1 percent while specificity fell to 93.4 percent and 93.9 percent.[3]
Those paired numbers are more informative than the headline, because they show the trade being made rather than hiding it. A screening system can be tuned to miss fewer sick eyes at the cost of more false alarms, or the reverse, and which is preferable depends on what happens after the flag: a false alarm means an unnecessary referral, a miss means untreated disease. The study's own conclusion is carefully bounded, reporting that the algorithm had high sensitivity and specificity for detecting referable diabetic retinopathy in this evaluation of photographs from adults with diabetes, and that further research is necessary to determine the feasibility of applying it in the clinical setting and whether its use could lead to improved care and outcomes compared with current ophthalmologic assessment.[3]
What a matched score establishes
Set side by side, the two studies make the same kind of point and share the same kind of limit. In each, a network trained on a very large set of labelled images was tested against practising specialists on a narrowly defined reading task drawn from the same kind of image, and in each it performed at or near their level. That is genuine evidence of competence at the task measured. It is not evidence that the system sees in general, because the task was fixed in advance, the categories were few, and the images resembled those it had trained on.
The distinction matters because a matched score invites a larger conclusion than the design supports. Neither study shows the algorithm handling the range of conditions a clinic actually presents, and neither was built to. What they establish is that for a well-specified visual judgement, given enough labelled examples and a clear reference standard, a learned model can reach the accuracy of the people who normally make that judgement. Whether that translates into better care is a separate question, and one that both studies leave open. The failures that remain, and the conditions under which a confident score can mislead, are covered later.
Risks and limits
Where detection breaks down
The failures of a detector are not random. They cluster around conditions that the training data and the architecture handle badly, and knowing the clusters is more useful than knowing an average accuracy figure. A system that scores well on a benchmark can still fail on an image a person would find easy, and the reason is usually that the image asks for something the system was never built to give.

Things too small, too close, too unfamiliar
Size is the starkest limit. Objects in an image arrive at different aspect ratios and spatial locations, and when an object occupies less than about five percent of the image, the system will fail to detect it. The same review notes that image pyramids, which present the image at several scales, make detection of small and large objects simpler and more effective, yet accuracy on small objects remains challenging despite recent advances.[1] The technique helps; it does not close the gap.
Arrangement causes a second cluster. Objects sometimes sit very close together, like a stack of plates, and detecting those is very difficult.[1] A related limit comes from viewpoint. Some methods and trained models are confined to detecting single-class objects from a specific view and cannot detect the same object under different views, poses or angle variations.[1] A model taught one face of a thing may simply not recognize its back.
The third cluster is the closed list of classes, already met in the discussion of training data. A detector can only find what it was trained on, and the ball model that flags an orange shows what happens at the boundary: the unfamiliar object is either missed or forced into the nearest known class.[1]
The ordinary mess of real images
Real photographs are not tidy, and the variation is not a rare complication but the normal condition. Real-world images include lighting variation, occlusions, noise, camera distortions and background clutter.[1] Each of these attacks the same weak point, the match between what the model learned and what it now sees. A shadow changes the intensities a texture feature depends on; an occlusion removes part of the pattern the model expects; clutter puts objects behind the target that resemble it.
Human vision is the comparison the field keeps returning to, and it is a fair one. The machine's advantage is constancy and speed; its disadvantage is that its competence is bounded by the conditions its examples covered. An illustration from the review makes the point concretely: an approach proposed to detect vehicles in foggy weather still needed improvement to meet human accuracy.[1]
When the hardware is small
A separate constraint has nothing to do with what the model can represent. Efficiency is an important parameter for every detection system, and some developed systems are robust and fast but require high-efficiency resources, meaning CPU and GPU capacity. Micro-systems have very limited resources for processing, which makes the task challenging.[1]
Fooled on purpose
The failures above are accidents of the world. A different class of failure is manufactured. Deep neural networks have demonstrated phenomenal success, often beyond human capabilities, in solving complex problems, yet recent studies show that they are vulnerable to adversarial attacks, subtle perturbations to inputs that lead a model to predict incorrect outputs. For images, such perturbations are often too small to be perceptible, yet they completely fool the deep learning models.[27]
What makes this more than a curiosity is that it can happen outside a laboratory. A survey of the field reviews the work that designs adversarial attacks, analyses why they exist and proposes defences, and separately reviews contributions that evaluate attacks in real-world scenarios, in order to emphasize that they are possible in practical conditions. The threat is serious enough that the survey treats it as a threat to the success of deep learning in practice.[27] A system whose errors can be induced deliberately by an adversary is a different kind of risk from one that merely errs, and the difference matters wherever detection feeds a decision someone might want to influence.
Not knowing when it is wrong
The deepest difficulty is that a detector's errors do not announce themselves. A model can be confidently wrong, and the confidence is exactly what a surrounding system uses to decide whether to act. Work on uncertainty in Bayesian deep learning separates two kinds. Aleatoric uncertainty captures noise inherent in the observations, the blur in a photograph or the ambiguity in a pixel's value. Epistemic uncertainty accounts for uncertainty in the model itself, the kind that can be explained away given enough data.[28]
The second problem is opacity. Deep neural networks are described as black box models because of their multilayer nonlinear structure, and they are often criticized as non-transparent, with predictions not traceable by humans. Because such models learn from datasets that may not reflect reality, basing decisions on them can promote prejudice and unfairness unknowingly through lack of transparency, which is why a family of explainers has been developed to give insight into the inner structure of the black box by analysing the connection between input and output.[13] An explainer does not make the model correct. It makes the basis of its answer inspectable, which is what a clinician, a regulator or a driver needs before trusting it.
Detection fails on the small, the crowded and the unfamiliar, on the messy conditions of real scenes, on hardware too small to run it, and on inputs built to fool it, and it fails without necessarily knowing that it has.
Vision under uncertainty: robustness, adversarial attacks and explainability
The conditions that break a detector
A detector's competence is bounded by the conditions its training examples covered, and the failures that follow are not scattered at random. They gather around a few recurring kinds of difficulty, and the most stubborn of these is size. Objects arrive in an image at different sizes and aspect ratios, and when an object occupies less than about five percent of the frame the system will fail to detect it.[1]
The figure is not exotic. A distant pedestrian, a traffic light down the street, a lesion near the edge of a scan all fall below it. Presenting the image at several scales, an approach known as an image pyramid, makes detection of small and large objects simpler and more effective, yet accuracy on small objects remains challenging despite recent advances.[1] The technique narrows the gap; it does not close it.
Arrangement causes a second cluster of failures. The problem is not that the objects are hidden but that they touch, so the boundary between one and the next is faint and a detector looking for a clean outline finds none. A third cluster comes from the ordinary mess of real photographs, which include lighting variation, occlusions, noise, camera distortions and background clutter. Despite the many architectures proposed to handle these challenges, they still affect the performance of the detector in meeting real-time performance like that of human beings.[1]
A different class is manufactured. A person looking at the picture sees an ordinary scene; the network sees something else entirely.
What makes this more than a curiosity is that it can occur outside a laboratory. The survey treats the threat as serious enough to endanger the success of deep learning in practice.[27]
The distinction is practical: epistemic uncertainty can be explained away given enough data, while aleatoric uncertainty captures noise inherent in the observations.[28]
Detection fails on the small, the crowded and the unfamiliar, on the messy conditions of real scenes, and on inputs built to fool it, and it fails without necessarily knowing that it has.
Later developments
Attention, foundation models and the open problems
A person looking at a busy street does not examine every square inch with equal care. The eye goes to the moving figure, the bright sign, the face turned toward the camera, and the rest of the scene is registered only vaguely. Attention, in a computer vision model, is an attempt to reproduce that selectivity. It is a dynamic weight adjustment process based on features of the input image: the model computes, for each part of its representation, how much the other parts matter to it, and weights them accordingly.[29] The weights are not fixed in advance. They are recalculated for each image, so what counts as salient depends on what is actually there.
The mechanism was introduced with the human visual system explicitly in mind, on the observation that people naturally and effectively find salient regions in complex scenes.[29] Its usefulness is that it lets a model relate distant parts of an image to one another. A detector deciding whether a small shape is a pedestrian's hand benefits from knowing where the rest of the pedestrian is, and attention is a way of letting one region draw on information from another rather than judging each patch in isolation. Attention mechanisms have been applied across image classification, object detection, semantic segmentation, video understanding and image generation, and are commonly sorted by what they weight: channels of a feature map, spatial positions, time in a video, or parallel branches of a network.[29]
Models trained once, used many times
The second shift is in how models are built and reused. A foundation model is trained on a large, diverse dataset and then adapted to a wide range of downstream tasks rather than being built for one. The aim is generalization with minimal customization, closer to the way human vision handles an open world.[30] The idea is economical: instead of training a separate detector for every application, one broadly trained model is fine-tuned, probed or used as-is for classification, retrieval, detection, captioning, video retrieval and action recognition.
Florence is an example, designed to extend its representations from coarse scene-level to fine object-level, from static images to video, and from ordinary colour images to additional modalities such as captions and depth, drawing on web-scale image-text data. Its reported results give a sense of what such a model can do across many tasks at once: on 44 representative benchmarks it achieved new state-of-the-art results in the majority, with reported figures including 83.74 percent top-1 and 97.18 percent top-5 accuracy on ImageNet-1K zero-shot classification, 62.4 mAP on COCO fine tuning, 80.36 on visual question answering and 87.8 on Kinetics-600.[30] The zero-shot figure is the notable one, since it measures performance on categories the model was not explicitly trained to classify.
Making it run
None of this is useful if it cannot run where the images are. Deep-learning-based vision has brought prominent gains in image classification, object detection and image segmentation, and a survey of the field reviews techniques for implementing and optimizing those algorithms on GPU, FPGA and newer hardware accelerators to facilitate real-time or energy-efficient operation.[31] The constraint is the one met earlier in miniature: a model that needs a data centre cannot sit in a camera on a farm or a factory floor. Hardware acceleration is what moves a method from a benchmark to a device.
What remains unsolved
The open problems are the ones this chapter has met repeatedly, and they have not gone away. Small objects remain hard to detect, crowded and overlapping objects remain hard to separate, and the imbalance between the many empty regions a detector examines and the few that contain something continues to distort both training and scoring.[15][1] Robustness across lighting, weather, occlusion and unfamiliar classes is still the gap between a demonstration and a deployment, and a model's competence is still bounded by the classes and conditions its training data covered.[1]
Two problems are more fundamental. The first is that a network can be fooled by perturbations too small to see, and that uncertainty in such models can be modeled as aleatoric (noise in the observations) or epistemic (uncertainty in the model).[27][28] The second is theoretical. Despite promising and sometimes impressive results, significant challenges remain in the theoretical groundwork that would explain how to choose the optimal model type and structure for a given task, or why a specific architecture or algorithm is effective in a given task and not another.[7] The field can measure what works far better than it can explain why. Until that changes, progress rests on experiment and comparison rather than on prediction, which is a reasonable way to build a tool and an uncomfortable way to certify one.
Attention lets a model weight what matters for each image, foundation models let one training serve many tasks, and the unsolved problems are the old ones: small, crowded and unfamiliar things, and the absence of a theory that says in advance which design will work.
Key studies
| Year | Study | Sample | Design | Finding |
|---|---|---|---|---|
| 2016 | Gulshan et al.[3] | Development on a retrospective set of 128 175 retinal images, with validation in January and February 2016 on 2 separate data sets. | The algorithm reached an area under the curve of 0.991 on EyePACS-1 and 0.990 on Messidor-2 for referable diabetic retinopathy. | |
| 2017 | Esteva et al.[2] | 129,450 clinical images of 2,032 different diseases, tested against 21 board-certified dermatologists | Single convolutional network trained end-to-end on images and labels alone, then tested against 21 board-certified dermatologists on biopsy-proven images. | The CNN matched all tested experts on both binary classification tasks. |
| 2017 | Bankhead et al.[4] | 660 patients with stage II and stage III colon cancer diagnosed between 2004 and 2008 | open-source software analysis of tissue microarrays | QuPath counted about 1.2 million CD3 positive and 0.6 million CD8 positive cells in under 4 minutes per biomarker across 21 whole slide images. |
| 2018 | Akhtar & Mian[27] | three different network models tested on images | survey of adversarial attacks, including a one-pixel attack | Changing just one pixel per image fooled the models on 70.97% of tested images, with average confidence of 97.47% on the wrong labels. |
| 2018 | Weinstein[5] | 187 existing applications of computer vision in animal ecology | review of ecological computer vision applications | Applications were divided into ecological description, counting and identity tasks. |
| 2021 | Oksuz et al.[15] | training batches in the R-CNN family of detectors | Review of imbalance problems in object detection, organized by a problem-based taxonomy. | For training a region proposal network, 128 positive examples and 128 negative anchors are sampled uniformly at random. |
| 2021 | Yuan et al.[30] | 44 representative benchmarks | foundation model evaluated across many vision tasks | Florence reached ImageNet-1K zero-shot top-1 accuracy of 83.74 and 62.4 mAP on COCO fine tuning. |
| 2022 | Kaur & Singh[1] | detectors including VJ, HOG, R-CNN, SPP Net, Fast R-CNN and Faster R-CNN | systematic review of object detection techniques and datasets | R-CNN achieved mAP of 62.9% on VOC 2010 and 66.0% on VOC 2007, while Fast R-CNN reached 70.0% on VOC 2007. |
| 2023 | Zou et al.[9] | benchmark results for SSD, RetinaNet, CornerNet and CenterNet | survey comparing detector accuracy on COCO | COCO mAP@.5 was 46.5% for SSD, 59.1% for RetinaNet, 57.8% for CornerNet and 61.1% for CenterNet. |
| 2024 | Zhao et al.[12] | review explaining convolutional network components | Max pooling of the four numbers 0, 1, 4 and 8 yields 8, while average pooling of 2, 6, 3 and 3 yields 3.5. |
See also
References
- Kaur, J., & Singh, W. (2022). Tools, techniques, datasets and application areas for object detection in an image: a review. Multimedia Tools and Applications, 81(27), 38297-38351. doi:10.1007/s11042-022-13153-y
- Esteva, A., Kuprel, B., Novoa, R. A., Ko, J., Swetter, S. M., Blau, H. M., & Thrun, S. (2017). Dermatologist-level classification of skin cancer with deep neural networks. Nature, 542(7639), 115-118. doi:10.1038/nature21056
- Gulshan, V., Peng, L., Coram, M., Stumpe, M. C., Wu, D., Narayanaswamy, A., Venugopalan, S., Widner, K., Madams, T., Cuadros, J., Kim, R., Raman, R., Nelson, P. C., Mega, J. L., & Webster, D. R. (2016). Development and Validation of a Deep Learning Algorithm for Detection of Diabetic Retinopathy in Retinal Fundus Photographs. JAMA, 316(22), 2402. doi:10.1001/jama.2016.17216
- Bankhead, P., Loughrey, M. B., Fernández, J. A., Dombrowski, Y., McArt, D. G., Dunne, P. D., McQuaid, S., Gray, R. T., Murray, L. J., Coleman, H. G., James, J. A., Salto-Tellez, M., & Hamilton, P. W. (2017). QuPath: Open source software for digital pathology image analysis. Scientific Reports, 7(1). doi:10.1038/s41598-017-17204-5
- Weinstein, B. G. (2018). A computer vision for animal ecology. Journal of Animal Ecology, 87(3), 533-545. doi:10.1111/1365-2656.12780
- Zhao, Z. Q., Zheng, P., Xu, S. T., & Wu, X. (2019). Object Detection With Deep Learning: A Review. IEEE Transactions on Neural Networks and Learning Systems, 30(11), 3212-3232. doi:10.1109/tnnls.2018.2876865
- Voulodimos, A., Doulamis, N., Doulamis, A., & Protopapadakis, E. (2018). Deep Learning for Computer Vision: A Brief Review. Computational Intelligence and Neuroscience, 2018, 1-13. doi:10.1155/2018/7068349
- LeCun, Y., Bengio, Y., & Hinton, G. (2015). Deep learning. Nature, 521(7553), 436-444. doi:10.1038/nature14539
- Zou, Z., Chen, K., Shi, Z., Guo, Y., & Ye, J. (2023). Object Detection in 20 Years: A Survey. Proceedings of the IEEE, 111(3), 257-276. doi:10.1109/jproc.2023.3238524
- Aziz, L., Haji Salam, M. S. B., Sheikh, U. U., & Ayub, S. (2020). Exploring Deep Learning-Based Architecture, Strategies, Applications and Current Trends in Generic Object Detection: A Comprehensive Review. IEEE Access, 8, 170461-170495. doi:10.1109/access.2020.3021508
- Amjoud, A. B., & Amrouch, M. (2023). Object Detection Using Deep Learning, CNNs and Vision Transformers: A Review. IEEE Access, 11, 35479-35516. doi:10.1109/access.2023.3266093
- Zhao, X., Wang, L., Zhang, Y., Han, X., Deveci, M., & Parmar, M. (2024). A review of convolutional neural networks in computer vision. Artificial Intelligence Review, 57(4). doi:10.1007/s10462-024-10721-6
- Buhrmester, V., Münch, D., & Arens, M. (2021). Analysis of Explainers of Black Box Deep Neural Networks for Computer Vision: A Survey. Machine Learning and Knowledge Extraction, 3(4), 966-989. doi:10.3390/make3040048
- Ali, M. L., & Zhang, Z. (2024). The YOLO Framework: A Comprehensive Review of Evolution, Applications, and Benchmarks in Object Detection. Computers, 13(12), 336. doi:10.3390/computers13120336
- Oksuz, K., Cam, B. C., Kalkan, S., & Akbas, E. (2021). Imbalance Problems in Object Detection: A Review. IEEE Transactions on Pattern Analysis and Machine Intelligence, 43(10), 3388-3415. doi:10.1109/tpami.2020.2981890
- Litjens, G., Kooi, T., Bejnordi, B. E., Setio, A. A. A., Ciompi, F., Ghafoorian, M., van der Laak, J. A. W. M., van Ginneken, B., & Sánchez, C. I. (2017). A survey on deep learning in medical image analysis. Medical Image Analysis, 42, 60-88. doi:10.1016/j.media.2017.07.005
- Gillies, R. J., Kinahan, P. E., & Hricak, H. (2016). Radiomics: Images Are More than Pictures, They Are Data. Radiology, 278(2), 563-577. doi:10.1148/radiol.2015151169
- Rueden, C. T., Schindelin, J., Hiner, M. C., DeZonia, B. E., Walter, A. E., Arena, E. T., & Eliceiri, K. W. (2017). ImageJ2: ImageJ for the next generation of scientific image data. BMC Bioinformatics, 18(1). doi:10.1186/s12859-017-1934-z
- Schindelin, J., Arganda-Carreras, I., Frise, E., Kaynig, V., Longair, M., Pietzsch, T., Preibisch, S., Rueden, C., Saalfeld, S., Schmid, B., Tinevez, J. Y., White, D. J., Hartenstein, V., Eliceiri, K., Tomancak, P., & Cardona, A. (2012). Fiji: an open-source platform for biological-image analysis. Nature Methods, 9(7), 676-682. doi:10.1038/nmeth.2019
- Carpenter, A. E., Jones, T. R., Lamprecht, M. R., Clarke, C., Kang, I. H., Friman, O., Guertin, D. A., Chang, J. H., Lindquist, R. A., Moffat, J., Golland, P., & Sabatini, D. M. (2006). CellProfiler: image analysis software for identifying and quantifying cell phenotypes. Genome Biology, 7(10). doi:10.1186/gb-2006-7-10-r100
- Fedorov, A., Beichel, R., Kalpathy-Cramer, J., Finet, J., Fillion-Robin, J. C., Pujol, S., Bauer, C., Jennings, D., Fennessy, F., Sonka, M., Buatti, J., Aylward, S., Miller, J. V., Pieper, S., & Kikinis, R. (2012). 3D Slicer as an image computing platform for the Quantitative Imaging Network. Magnetic Resonance Imaging, 30(9), 1323-1341. doi:10.1016/j.mri.2012.05.001
- Dhanya, V. G., Subeesh, A., Kushwaha, N. L., Vishwakarma, D. K., Nagesh Kumar, T., Ritika, G., & Singh, A. N. (2022). Deep learning based computer vision approaches for smart agricultural applications. Artificial Intelligence in Agriculture, 6, 211-229. doi:10.1016/j.aiia.2022.09.007
- Tian, H., Wang, T., Liu, Y., Qiao, X., & Li, Y. (2020). Computer vision technology in agricultural automation —A review. Information Processing in Agriculture, 7(1), 1-19. doi:10.1016/j.inpa.2019.09.006
- Høye, T. T., Ärje, J., Bjerge, K., Hansen, O. L. P., Iosifidis, A., Leese, F., Mann, H. M. R., Meissner, K., Melvad, C., & Raitoharju, J. (2021). Deep learning and computer vision will transform entomology. Proceedings of the National Academy of Sciences, 118(2). doi:10.1073/pnas.2002545117
- Janai, J., Güney, F., Behl, A., & Geiger, A. (2020). Computer Vision for Autonomous Vehicles. Foundations and Trends® in Computer Graphics and Vision, 12(1-3), 1-308. doi:10.1561/0600000079
- Paletta, Q., Terrén-Serrano, G., Nie, Y., Li, B., Bieker, J., Zhang, W., Dubus, L., Dev, S., & Feng, C. (2023). Advances in solar forecasting: Computer vision with deep learning. Advances in Applied Energy, 11, 100150. doi:10.1016/j.adapen.2023.100150
- Akhtar, N., & Mian, A. (2018). Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Survey. IEEE Access, 6, 14410-14430. doi:10.1109/access.2018.2807385
- Alex, K., & Gal, Y. (2017). What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision? arXiv. doi:10.48550/arxiv.1703.04977 Free full text
- Guo, M. H., Xu, T. X., Liu, J. J., Liu, Z. N., Jiang, P. T., Mu, T. J., Zhang, S. H., Martin, R. R., Cheng, M. M., & Hu, S. M. (2022). Attention mechanisms in computer vision: A survey. Computational Visual Media, 8(3), 331-368. doi:10.1007/s41095-022-0271-y
- Yuan, L., Chen, D., Chen, Y., Codella, N., Dai, X., Gao, J., Hu, H., Huang, X., Li, B., Li, C., Liu, C., Liu, M., Liu, Z., Lu, Y., Shi, Y., Wang, L., Wang, J., Xiao, B., Xiao, Z. Y., & ... Zhang, P. (2021). Florence: A New Foundation Model for Computer Vision. arXiv. doi:10.48550/arxiv.2111.11432 Free full text
- Feng, X., Jiang, Y., Yang, X., Du, M., & Li, X. (2019). Computer vision algorithms and hardware implementations: A survey. Integration, 69, 309-320. doi:10.1016/j.vlsi.2019.07.005
Cite this page: Atlas Nova editors. (2026). Computer vision. Atlas Nova. https://velocer.io/atlas/computer-vision/