In-sensor image processing brings computation closer to the point where visual data is acquired. Instead of capturing an image, converting it into digital data, and sending it to a separate processor, a sensor can perform part of the computation as light is detected. A demonstrated vision sensor based on a two-dimensional semiconductor takes this approach: its photodiode array both senses an optical image and carries out a neural-network operation on it.
The concept is relevant to industrial automation because machine-vision systems often need to interpret visual information quickly. Processing within the sensor could reduce the amount of raw image data that must pass through the rest of a system. The reported device is a proof of principle, not a production-ready industrial camera, but it illustrates how sensor architecture could support time-critical image classification and encoding.
Why perform computation in the image sensor?
In a conventional machine-vision pipeline, a camera captures an image, electronics convert the signal into digital form, and a processor runs an algorithm such as an artificial neural network. This separation can require substantial data movement. Much of the captured information may be redundant for a particular task, yet it still travels through the signal chain before the system can make a decision.
In-sensor processing changes where some of that work happens. The sensor can apply a computation directly to the incoming optical pattern, potentially reducing the delay associated with transferring and processing image data elsewhere. This is especially interesting where response time matters, although practical system performance also depends on supporting electronics, connectivity, and the requirements of the application.
How the 2D semiconductor array works
The demonstrated device uses a two-dimensional semiconductor, tungsten diselenide (WSe2), to make photodiodes with electrically tunable photoresponsivity. Photoresponsivity describes how strongly a detector responds to incoming light. In this design, gate voltages adjust each detector’s response, allowing the array to represent the adjustable weights of a neural network.
Each image pixel is divided into multiple photodiode subpixels. When light reaches the array, each subpixel produces a photocurrent related to the incident optical power and its photoresponsivity. Subpixels are connected so their currents combine into output channels. In effect, the array multiplies the projected image values by a matrix of adjustable responsivities and sums the results.
This is a physical implementation of a matrix-vector operation: the optical image supplies the input values, while the responsivity matrix supplies the network weights. The sign and magnitude of the photocurrent can be adjusted, enabling positive or negative weights. The processing takes place in the analog domain as the photodiodes generate current.
Classification and encoding demonstrations
The researchers configured the array for two neural-network tasks:
- Supervised classification: The device was trained to distinguish projected versions of the letters “n,” “v,” and “z.” During training, the responsivities were updated using backpropagation. Nonlinear activation functions and aspects of the training and readout process were implemented off-chip.
- Unsupervised encoding: The array served as the encoder in an autoencoder. It converted each input into a compact code, while an external decoder attempted to reconstruct the original image. The system also produced less noisy reconstructions from noisy inputs in the reported demonstration.
The prototype was a 3 × 3 imaging array with three photodiode subpixels per pixel, for 27 detectors in total. This small format established the operating principle and supported demonstrations with stylized letters. It should not be interpreted as evidence of performance on complex scenes or as a ready-made replacement for conventional machine-vision cameras.
What the speed result does—and does not—show
For a time-resolved test, the trained array classified short projected letter patterns using 40-nanosecond laser pulses. The reported processing throughput was 20 million bins per second, with the measurement limited by the 20 MHz bandwidth of the amplifiers used to read the output. The result demonstrates rapid sensor-level processing under the test conditions.
For automation engineers, it is important to distinguish this throughput figure from a general-purpose camera frame rate. The experiment measured the response to projected patterns and the resulting electrical outputs; it did not establish an end-to-end industrial inspection rate. A deployed system would also need to account for illumination, optics, signal conditioning, control electronics, and the details of the inspection task.
Scaling and integration considerations
The prototype stored network weights in external equipment and supplied them to individual photodetectors through wiring. Scaling the approach will require practical ways to retain weights locally. The researchers identify ferroelectric gate dielectrics and floating-gate devices as possible routes; a floating-gate photodetector was presented as a feasibility demonstration for retaining an adjustable responsivity.
Other design choices include the number of subpixels per image pixel and how outputs are read. More subpixels can provide a more complex network, but also increase the number of detector elements and the demands on addressing and electronics. The work also discusses possible integration with silicon readout and control electronics, and the use of external electronics for nonlinear operations or decoding.
Practical implications for machine vision
For system integrators and plant decision-makers, the key takeaway is architectural: image sensing and some computation need not always be separate stages. A sensor that performs an initial task on the optical input could be useful in applications where rapid interpretation or reduced data movement is valuable. However, adoption would depend on scaling, weight storage, readout design, and validation against the actual operating environment and inspection requirements.
The WSe2 array demonstrates a route toward neuromorphic vision hardware in which adjustable photodetectors act as neural-network weights. Its classification and encoding tests establish a proof of concept, while its measured speed highlights the potential of analog processing. The practical next step is not to assume that every vision workload belongs on the sensor, but to assess whether a specific task can benefit from computation at the point of image capture.