Apparatus and method for object detection / recognition

EP4453904A1Inactive Publication Date: 2024-10-30SONY GROUP CORP +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
EP2022834593
Authority / Receiving Office
EP · EP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-12-22
Filing Date
2022-12-08
Publication Date
2024-10-30
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing object detection and recognition systems face challenges with high energy consumption and data intensity, particularly when dealing with complex tasks, necessitating more efficient calculation methods.

Method used

The integration of optical neural networks (ONNs) with event cameras, where ONNs use structured optically transmissive and/or reflective substrate layers to perform light filtering and generate light patterns, and event cameras detect local brightness changes to generate asynchronous event output signals, enabling low-power, indirect observation.

Benefits of technology

This approach achieves low power consumption and low end-to-end latency, suitable for safety-critical systems, by processing only changing data and reducing redundant information, thus providing efficient object detection and recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 1.1
    Figure 1.1
Patent Text Reader

Abstract

The present disclosure relates to an apparatus for event detection. The apparatus comprises an optical neural network (ONN) comprising a plurality of structured optically transmissive and / or reflective substrate layers arranged in an optical path, wherein the plurality of substrate layers collectively define a trained mapping function between an input optical image to the plurality of substrate layers and an output optical image from the plurality of substrate layers. The apparatus also comprises an event camera configured to detect local changes in brightness in the output optical image of the ONN and generate a corresponding event output signal.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] APPARATUS AND METHOD FOR OBJECT DETECTION / RECOGNITION

[0002] Field

[0003] The present disclosure generally relates to methods and apparatuses for object detec- tion / recognition and, more particularly, to methods and apparatuses using a combination of optical neural networks (ONNs) and event cameras (event vision sensors) for object detec- tion / recognition.

[0004] Background

[0005] Deep learning is one of the fastest-growing areas in machine learning and has been extensively used in various fields. In many applications, artificial neural networks (ANNs) can play an important role in addressing the issue of speech recognition, language translation, image classification, and medical image analysis. Beyond the above applications, ANNs are also widely used to solve inverse design problems. Of particular concern, ANNs have a wide range of applications and excellent performance, however, it requires higher computing power with the increase of the complexity of the target tasks. Therefore, it is of significance to find alternative calculation methods that are faster and less energy consuming. Fortunately, in recent years, the emergence of optical neural networks (ONNs) provides a way to solve the dilemma of high energy consumption when facing complex tasks. Compared with the electrical neural networks, the ONNs have the characteristics of low-power consumption, ultra-broad bandwidth, ultra-high-speed, and capability of parallel processing signals.

[0006] ONNs are physical implementations of ANNs that use passive optical components (phase / amplitude masks) as a building blocks. Basic building blocks of an optical neural network may, for example, include interconnected Mach-Zehnder interferometers (MZI) that perform unitary transformations on optical signals. Similar to ANNs, ONNs may include an input layer, one or more hidden layers, and an output layer sequentially arranged in a traveling direction of light. A two-dimensional (2D) output of an ONN may, for example, be captured using an 2D optical image sensor comprising a plurality of light sensing pixels arranged in two dimensions, such as an image sensor (camera), for example.

[0007] However, this may be power and data intense. Thus, there may be a demand for less power and data intense solutions.

[0008] Summary

[0009] According to a first aspect, the present disclosure provides an apparatus for object detec- tion / recognition. The apparatus comprises an optical neural network (ONN). The ONN comprises a plurality of structured optically transmissive and / or reflective substrate layers arranged in an optical path. The plurality of substrate layers collectively define a trained mapping function between an input optical image to the plurality of substrate layers and an output optical image from the plurality of substrate layers. The ONN can infer semantic information by light filtering and generate a corresponding light pattern at its output. The apparatus also comprises an event camera (event vision sensor) configured to detect local changes in brightness in the output optical image of the ONN and to generate a corresponding event output signal. An event camera, also known as a neuromorphic camera, silicon retina or dynamic vision sensor, is an imaging sensor that responds to local changes in brightness. Event cameras do not capture images using a shutter as conventional cameras do. Instead, each pixel inside an event camera operates independently and asynchronously, reporting changes in brightness as they occur, and staying silent otherwise. Event cameras may contain pixels that independently respond to changes in brightness as they occur. Each pixel may store a reference brightness level, and continuously compare it to the current level of brightness. If the difference in brightness exceeds a preset threshold, that pixel may reset its reference level and generate an event output signal: a discrete packet of information containing the pixel address and timestamp. Events may also contain the polarity (increase or decrease) of a brightness change, or an instantaneous measurement of the current level of illumination. Thus, event cameras may output an asynchronous stream of events triggered by changes in scene illumination. The event camera included in the apparatus may generate an event output signal if there is a brightness change in the output optical image of the ONN. As the event camera only asynchronously triggers an event output signal in case the output optical image changes, an indirect observation of the input optical image may be achieved with low power consumption.

[0010] According to a further aspect, the present disclosure provides a method for object detec- tion / recognition. The method includes mapping an input optical image to an output optical image by using an ONN comprising a plurality of structured optically transmissive and / or reflective substrate layers arranged in an optical path. The plurality of substrate layers collectively define a trained mapping function between the input optical image to the plurality of substrate layers and the output optical image from the plurality of substrate layers. The method also includes detecting local changes in brightness in the output optical image of the ONN with an event camera and generating a corresponding event output signal.

[0011] Embodiments may provide low power consumption for a passive “observation mode” - no data is generated and processed. A simple processing task is put to the ONN. Thus, data does not need to be processed all the time. Embodiments may offer low end-to-end latency for safety critical system because all components are low latency.

[0012] Brief description of the Figures

[0013] Some examples of apparatuses and / or methods will be described in the following by way of example only, and with reference to the accompanying figures, in which

[0014] Fig. 1 a schematic block diagram of an apparatus for object detection / recognition according to an embodiment;

[0015] Fig. 2a an embodiment of an ONN used in transmission mode;

[0016] Fig. 2b an embodiment of an ONN used in reflection mode;

[0017] Fig. 3 illustrates an example of an ONN for classifying handwritten input digits;

[0018] Fig. 4 illustrates an example of an ONN for classifying fashion products; Fig. 5 a schematic block diagram of an apparatus for object detection / recognition including asynchronous hardware downstream to an event camera; and

[0019] Fig. 6 a flowchart of a method for event detection according to an embodiment of the present disclosure.

[0020] Detailed Description

[0021] Some examples are now described in more detail with reference to the enclosed figures. However, other possible examples are not limited to the features of these embodiments described in detail. Other examples may include modifications of the features as well as equivalents and alternatives to the features. Furthermore, the terminology used herein to describe certain examples should not be restrictive of further possible examples.

[0022] Throughout the description of the figures same or similar reference numerals refer to same or similar elements and / or features, which may be identical or implemented in a modified form while providing the same or a similar function. The thickness of lines, layers and / or areas in the figures may also be exaggerated for clarification.

[0023] When two elements A and B are combined using an “or”, this is to be understood as disclosing all possible combinations, i.e., only A, only B as well as A and B, unless expressly defined otherwise in the individual case. As an alternative wording for the same combinations, "at least one of A and B" or "A and / or B" may be used. This applies equivalently to combinations of more than two elements.

[0024] If a singular form, such as “a”, “an” and “the” is used and the use of only a single element is not defined as mandatory either explicitly or implicitly, further examples may also use several elements to implement the same function. If a function is described below as implemented using multiple elements, further examples may implement the same function using a single element or a single processing entity. It is further understood that the terms "include", "including", "comprise" and / or "comprising", when used, describe the presence of the specified features, integers, steps, operations, processes, elements, components and / or a group thereof, but do not exclude the presence or addition of one or more other features, integers, steps, operations, processes, elements, components and / or a group thereof. Fig- 1 shows a schematic block diagram of an apparatus 100 for object detection / recognition according to an embodiment of the present disclosure.

[0025] Apparatus 100 comprises an ONN 110. ONN 110 comprises a plurality of structured layers (not shown). Each of the structured layers may comprise phase and / or amplitude masks as passive optical components. The plurality of structured layers may comprise an input layer, one or more hidden layers, and an output layer. The plurality of structured layers of ONN 110 are sequentially arranged in a traveling direction of light. The plurality of structured layers of ONN 110 collectively define a trained (optical) mapping function between an input optical image 105 and an output optical image 115 of the ONN 110. Apparatus 100 further comprises an event camera 120 which is configured to detect local changes in brightness in the output optical image 115 of the ONN 110 and to generate a corresponding event output signal 125.

[0026] ONN 110 may be implemented in various possible ways. ONN 110 may be implemented in a chip, for example, a photonic integrated circuit (PIC) chip. A PIC is a chip that contains photonic components, which are components that work with light (photons). In other example implementations, ONN 110 may be implemented using a concatenation of discrete optical components, such as lenses or diffractive optical elements (phase masks).

[0027] For example, ONN 110 may include layers of linear optical coherent matrix multipliers and nonlinear optical devices. An optical matrix multiplier provided in a semiconductor substrate may linearly transform optical signal inputs into optical signal outputs. A non-linear optical device coupled with the optical matrix multiplier in the semiconductor substrate may provide an optical output that may be amplified in a nonlinear manner in response to the optical signal outputs of the optical matrix multiplier reaching saturation. The layer may be programmable such that a portion of the layer may be used in a computation by the ONN 110, based at least in part on a target value of operations per time unit per power consumption unit that corresponds to the computation.

[0028] Fig. 2a schematically illustrates an embodiment of ONN 110 that may be used in transmission mode according to an embodiment. A light source 212 may direct light onto an object 214 (or multiple objects 214) which reflects and may be directed through ONN 110. The object 214 may be macro-sized (e.g., large such as those visible without magnification) in some embodiments. In other embodiments, for example, for microscopic applications, the object(s) 214 may be very small (e.g., microscopic). ONN 110 may contain a plurality of substrates 216 that form layers (referred to herein sometimes as substrate layers 216) which may be formed as a physical substrate or matrix of optically transmissive material (for transmission mode) or optically reflective material (for reflective mode one or more materials in ONN 110 form a reflective surface). Exemplary materials that may be used for the substrate layers 216 include polymers and plastics (e.g., those used in additive manufacturing techniques such as 3D printing) as well as semiconductor-based materials (e.g., silicon and oxides thereof, gallium arsenide and oxides thereof), crystalline materials or amorphous materials such as glass and combinations of the same.

[0029] While Fig. 2a illustrates light reflecting off the object(s) 214, in other embodiments light may pass through the object(s) 214 and may then be directed through ONN 110 along an optical path 211. In still other embodiments, the object(s) 214 may emit fluorescent light or emissive radiation in response to the light from light source 212. For example, light source 212 may act as an excitation light source and ONN 110 may receive fluorescent light emitted from the object(s) 214. Light source 212 may include a natural light source such as the sun. Light source 212 may also include an artificial light source such as a laser, light bulb, light emitting diode (LED), laser diode, and the like.

[0030] Each substrate layer 216 of ONN 110 may have a plurality of physical features 218 formed on the surface of the substrate layer 216 or within the substrate layer 216 itself that collectively define a pattern of physical locations along the length and width of each substrate layer 216 that have varied complex-valued transmission coefficients (or varied complexvalued reflection coefficients for the embodiment of Fig. 2b). The physical features 18 formed on or in the layers 216 may thus create a pattern of physical locations within the layers 216 that have different complex-valued transmission coefficients as a function of lateral coordinates (e.g., length and width and in some embodiments depth) across each substrate layer 216. In some embodiments, each separate physical feature 218 may define a discrete physical location on the substrate layer 16 while in other embodiments, multiple physical features 218 may combine or collectively define a physical region with a particular complex-valued transmission coefficient. The plurality of optically transmissive layers 216 arranged along the optical path 211 collectively define a trained mapping function between an input optical image or input optical signal 220 to the plurality layers 216 and an output optical image or output optical signal 222 created by optical diffraction through the plurality of substrate layers 216. The trained mapping function may comprise an imaging function, acting on phase and / or amplitude channels of the input optical image 105. The optically transmissive and / or reflective substrate layers 216 may be structured in accordance with the trained mapping function.

[0031] The pattern of physical locations formed by the physical features 218 may define, in some embodiments, an array located across the surface of the substrate layer 216. The physical features 218 and the physical regions formed may thereby act as artificial “neurons” that connect to other “neurons” of other substrate layers 216 of the ONN 110 through optical diffraction (reflection in the case of the embodiment of FIG. 2b) and alter the phase and / or amplitude of the light wave. The particular number and density of the physical features 218 or artificial neurons that are formed in each substrate layer 216 may vary depending on the type of application. In some embodiments, the total number of artificial neurons may only need to be in the hundreds or thousands while in other embodiments, hundreds of thousands or millions of neurons or more may be used. Likewise, the number of layers 216 that are used in a particular ONN 110 may vary although it may typically range from at least two substrate layers 216 to less than ten substrate layers 216.

[0032] As seen in Fig. 2a, the output optical image or output optical signal 222 may be asynchronously captured by event camera 120. Event camera 120 may, in some embodiments, be coupled to synchronous or asynchronous hardware 227 that may be used to initiate an actionable result in response to the asynchronous event output signal 125 of event camera 120. An asynchronous hardware may be understood as a processing architecture that executes signal processing only if there is a trigger signal (here: event output signal 125) at the input. In some example implementations, ONN 110 and event camera 120 may be arranged on a common (semiconductor) substrate. For example, ONN 110, event camera 120 and / or asynchronous hardware 227 may be arranged in a common semiconductor package.

[0033] Fig. 2b schematically illustrates an embodiment of ONN 110 that is used in reflection mode. Similar components and features shared with the embodiment of Fig. 2a are labeled similar- ly. In this embodiment, the object 214 is illuminated with light from the light source 212 as described previously. Light that is reflected by, transmitted through, or emitted by the object 214 (e.g., fluorescent light) forms the input optical image or input optical signal 220 that is input to the ONN 110. In this embodiment, the ONN 110 operates in reflection mode whereby light is reflected by a plurality of substrate layers 216. As seen in the embodiment of Fig. 2b, the optical path 211 is a folded optical path as a result of the reflections off the plurality of substrate layers 216. The number of substrate layers 216 may vary depending on the particular function or task that is to be performed as noted above. Each substrate layer 216 of the ONN 110 has a plurality of physical features 218 formed on the surface of the substrate layer 216 or within the substrate layer 216 itself that collectively define a pattern of physical locations along the length and width of each substrate layer 216 that have varied complex-valued reflection coefficients. Like the Fig. 2a embodiment, the output optical image or output optical signal 222 is captured by one or more event cameras 120.

[0034] To implement the physical features 218 in the substrate layer 216, the substrate 216 may have different thicknesses of material at different lateral locations along the substrate layer 16, for example. In one embodiment, the different thicknesses may modulate the phase of the light passing through the substrate layer 216. This type of physical feature 218 may be used, for instance, in the transmission mode embodiment of Fig. 2a. The different thicknesses of material in the substrate layer 216 may form a plurality of discrete “peaks” and “valleys” that control the complex-valued transmission coefficient of the neurons formed in the substrate layer 216. Different thicknesses of the substrate layer 216 may be formed using additive manufacturing techniques (e.g., 3D printing) or lithographic methods utilized in semiconductor processing. This includes well-known wet and dry etching processes that can form very small lithographic features on a substrate 216. The physical features 218 may be fixed in permanent state (i.e., the surface profile is established and remains the same once complete).

[0035] Additionally, or alternatively, the substrate 216 may have a substantially uniform thickness but different regions of the substrate 216 may have different optical properties. For example, the complex-valued refractive index of the substrate layers 216 may altered by doping the substrate layers 216 with a dopant (e.g., ions or the like) to form the regions of neurons in the substrate layers 216 with controlled transmission properties. In still other embodiments, optical non-linearity can be incorporated into the ONN 110 using various optical non-linear materials (crystals, polymers, semiconductor materials, doped glasses, polymers, organic materials, semiconductors, graphene, quantum dots, carbon nanotubes, and the like) that are incorporated into the substrate 216. A masking layer or coating that partially transmits or partially blocks light in different lateral locations on the substrate 216 may also be used to form the neurons on the substrate layers 216.

[0036] Alternatively, the complex -valued transmission function of a neuron can also be engineered by using metamaterial or plasmonic structures. Combinations of all these techniques may also be used. In other embodiments, non-passive components may be incorporated in into the substrates 216 such as spatial light modulators (SLMs). SLMs are devices that imposes spatial varying modulation of the phase, amplitude, or polarization of a light. SLMs may include optically addressed SLMs and electrically addressed SLM. Electric SLMs include liquid crystal-based technologies that may be switched by using thin-film transistors (for transmission applications) or silicon backplanes (for reflective applications). Another example of an electric SLM includes magneto-optic devices that use pixelated crystals of aluminum garnet switched by an array of magnetic coils using the magneto-optical effect. Additional electronic SLMs include devices that use nanofabricated deformable or moveable mirrors that are electrostatically controlled to selectively deflect light.

[0037] The substrate 216 may be reconfigurable in that the optical properties of the various physical features 218 that form the artificial neurons may be changed, for example, by application of a stimulus (e.g., electrical current or field). An example includes spatial light modulators (SLMs) discussed above which can change their optical properties. In other embodiments, the layers may use the DC electro-optic effect to introduce optical nonlinearity into the substrates 216 of ONN 110 and require a DC electric-field for each substrate 216 of the ONN 110. This electric-field (or electric current) can be externally applied to each substrate layer 216 of ONN 110. Alternatively, one can also use poled materials with very strong built-in electric fields as part of the material (e.g., poled crystals or glasses). In this embodiment, the neuronal structure is not fixed and can be dynamically changed or tuned as appropriate. This embodiment, for example, can provide a learning ONN 110 or a changeable ONN 110 that can be altered on-the-fly to improve the performance, compensate for aberrations, or even change another task. To create ONN 110, a specific task / function may first be identified that the ONN 110 should perform. This may include classification of one or more objects 214 contained in an image or classification of the image itself. For example, a classification scheme may classify images run through system as a natural setting (e.g., forest or mountains) or a non -natural setting. The system may further be used to tag or identify certain features within the classified image. For example, the system may be able to tag or identify “trees” that are contained within a natural setting image. The task or function may also include performing one or more imaging operations (e.g., image magnification, enhance spatial features of the object 214, improved resolution, feature highlighting, image feature tagging, etc.). Once the task or function has been established, ONN 110 may be trained for the optimization of the optical mask(s) to performs the task or function. A computing device having one or more processors may execute software thereon to digitally train a model or mathematical representation of multilayer diffractive or reflective substrate layers 216 to the desired task or function to then generate a design for a physical embodiment of ONN 110. The design has the physical layout for the different physical features 218 that form the artificial neurons in each of the plurality of physical substrates 216 which are present in the ONN 110 may then be used to make a physical embodiment that reflects the computer-derived design. The design may then be used to manufacture or have manufactured the physical embodiment of the ONN 110 in accordance with the design. The design, in some embodiments, may be embodied in a software format (e.g., SolidWorks, AutoCAD, Inventor, or other computer-aided design (CAD) program or lithographic software program) may then be manufactured into a physical embodiment that includes the plurality of substrates 216. The physical substrate layers 216, once manufactured may be mounted or disposed in a holder, for example. The holder may include a number of slots formed therein to hold the substrates 216 in the required sequence and with the required spacing between adjacent layers (if needed). Once the physical embodiment of the ONN 110 has been made, the ONN 110 may then be used to perform the specific task or function. Once ONN 110 is optimized and in operation the power consumption is zero.

[0038] Fig- 3 illustrates an example of how an ONN 110 may classify handwritten input digits (0, 1, . . ., 9) based on ten (10) different detector regions at the output plane of ONN 110, each corresponding to one digit. Fig. 3 (top) illustrates an input digit “5” that is input to ONN 110 along with the output plane at the trained detector regions for each digit. The dotted squares represent trained detector regions for each digit (number is shown next to each region). Fig. 3 (bottom) illustrates a summary of some results achieved with the handwritten digit classification ONN. An energy distribution percentage corresponding to each digit at the output plane shows that ONN has the maximum energy focused on the target detector region of each respective digit.

[0039] Fig- 4 illustrates how an ONN 110 may classify sandal input images based on ten (10) different detector regions at the output plane of the ONN 110, with one detector region corresponding to a sandal image. Fig. 4a illustrates an input image of a sandal that is input to the ONN 110 along with the output plane at the trained detector regions. The dotted squares represent the trained detector regions for different image classes (number is shown next to each region). The sandal image class corresponds to detector #5 which is illuminated with light from the ONN 110. Fig. 4b illustrates sample experimental results for fashion product classifier ONN 110. The energy distribution percentage corresponding to each product at the output plane shows that ONN 110 has the maximum energy focused on the target detector region of each product.

[0040] Thus, the trained mapping function of the ONN 110 may comprise a classification function configured to classify the input optical image 105 into one of a plurality of classifications. In some example implementations, the input optical image 105 comprises one or more objects 214 and the plurality of classifications comprise object shape, object type, or object identification. In some example implementations, the apparatus 100 may be configured to determine the classification of the input optical image 105 based on a location and / or distribution of changes in brightness of the optical output image 125. More specifically, the classification of the input optical image 105 may be determined based on brightness changes in the trained detector regions of the optical output image 125.

[0041] Instead of using a standard camera at the output layer of ONN 110, embodiments of the present disclosure propose employing event camera 120 for outputting data-driven events that signal a place and time. Event camera 120 may detect brightness changes in the trained detector regions of the optical output image 125 and output corresponding event output signals 125 including place (detector region) and time of the brightness changes. In combination with ONN 110, event camera 120 can enable low power consumption of apparatus 100. In contrast to standard cameras, which acquire full images at a rate specified by an external clock (e.g., 30 fps), event cameras respond to brightness changes in the scene (output of ONN 110) asynchronously and independently for every pixel. Thus, an output 125 of event camera 120 is a variable data rate sequence of digital “events” or “spikes”, with each event representing a change of brightness (log intensity) of predefined magnitude at a pixel at a particular time. Each pixel of event camera 120 may memorize a log intensity each time it sends an event and may continuously monitor for a change of sufficient magnitude from this memorized value. When the change exceeds a threshold, event camera 120 may send an event output signal 125, which may be transmitted from the chip with the x, y location, the time / , and the 1-bit polarity p of the change (i.e., brightness increase (“ON”) or decrease (“OFF”)).

[0042] For example, events may be transmitted from the pixel array to periphery and then out of the event camera 120 using a shared digital output bus, typically by using address-event representation (AER) readout. This bus can become saturated, which perturbs the times that events are sent. Event cameras may have readout rates ranging from 2 MHz to 1200 MHz, depending on the chip and type of hardware interface. Event cameras are data-driven sensors: their output depends on the amount of motion or brightness change in the scene. The faster the motion, the more events per second are generated, since each pixel adapts its delta modulator sampling rate to the rate of change of the log intensity signal that it monitors. Events may be timestamped with microsecond resolution and may be transmitted with submillisecond latency, which make these sensors react quickly to visual stimuli. As event cameras transmit only brightness changes, and thus remove redundant data, power is only used to process changing pixels - leading to low power consumption.

[0043] Considering the examples of Figs. 3 and 4, the skilled person having benefit from the present disclosure will appreciate that event camera 120 is configured to generate an event output signal 125 corresponding to the classification of the input optical image 105. Different classifications correspond to different detector regions at the output plane of ONN 110. Event camera 120 may only generate an event output signal 125 in case a classification of the input optical image 105 changes. In this case a different detector region will be illuminated with light from the ONN 110 leading to a corresponding event output signal 125. As shown in Fig. 5, apparatus 100 may further comprise asynchronous electrical circuitry 130 (A-HW) coupled to the event camera 120. The skilled person will appreciate that also synchronous hardware may be used. However, asynchronous circuitry might offer some benefits. An asynchronous circuit, clockless, or self-timed circuit, is a sequential digital logic circuit which is not governed by a clock circuit or global clock signal. Instead, it often uses signals that indicate completion of instructions and operations, specified by simple data transfer protocols. This type of circuit is contrasted with synchronous circuits, in which changes to the signal values in the circuit are triggered by repetitive pulses called a clock signal. However asynchronous circuits have the potential to be faster, and may also have advantages in lower power consumption, lower electromagnetic interference, and better modularity in large systems.

[0044] Asynchronous electrical circuitry 130 may configured to initiate one or more actions in accordance with the event output signal 125 received from the event camera 120. In some example implementations, the asynchronous electrical circuitry 130 may be configured to determine a classification of the input optical image 105 based on the event output signal 125 of the event camera 120. This may be done by evaluating the event signal(s), e.g., by evaluating the x, y location, the time / , and the 1 -bit polarity p of the change(s).

[0045] In some example implementations, asynchronous electrical circuitry 130 may be configured to wake up classification-specific processing in response to the event output signal 125 indicating the classification of the input optical image 105. Classification-specific processing may be understood as processing initiated or performed by asynchronous electrical circuitry 130 which is specific for the detected classification. For example, for a first class of objects (e.g., humans) the classification-specific processing of asynchronous electrical circuitry 130 may be different than for a second class of objects (e.g., animals). In some implementations, the event camera 120 may be switched off after classification-specific processing was woke up.

[0046] Classification-specific processing of asynchronous electrical circuitry 130 may, for example, involve an asynchronous spiking neural network (SNN) which may be executing on a local signal at the perception layer similar to neuromorphic processing. SNNs are ANNs that more closely mimic natural neural networks. In addition to neuronal and synaptic state, SNNs incorporate the concept of time into their operating model. The idea is that neurons in the SNN do not transmit information at each propagation cycle (as it happens with typical multi-layer perceptron networks), but rather transmit information only when a membrane potential- an intrinsic quality of the neuron related to its membrane electrical charge - reaches a specific value, called the threshold. When the membrane potential reaches the threshold, the neuron fires, and generates a signal that travels to other neurons which, in turn, increase or decrease their potentials in response to this signal. A neuron model that fires at the moment of threshold crossing is also called a spiking neuron model.

[0047] In some example implementations, asynchronous processing circuitry 130 may be configured to turn off power of the event camera 120 during classification-specific processing by asynchronous processing circuitry 130 and to turn on power of the event camera after classification-specific processing by asynchronous processing circuitry 130. In this way, additional power savings may be achieved.

[0048] Embodiments of the present disclosure may be used for observation purposes, for example. Apparatus 100 may be used for surveillance and act as a low power event detector to wake up a system and avoid false positives. The input image 105 may correspond to a scene with a desired event in a region of interest (ROI), e.g., a person or car as objects 214. In this case, ONN 110 may detect / classify a desired event in a ROI and generate an output optical image 115 which corresponds to the detected class (e.g., a person appears). Event camera 120 may detect the change in the illumination from the status before and generate a corresponding event output signal 125. Asynchronous electrical circuitry 130 may execute a processing task related to the event, which was detected, e.g., set alarm or switch a light or guidance on or wake up another technical system. This would correspond to a true positive.

[0049] In another case, the input image 105 may correspond to a scene with an undesired event in a ROI, e.g., a cat. ONN 110 may generate another characteristic output optical image 115 (light pattern) corresponding to “not person”. Event camara 120 may detect the characteristic illumination change and generate a corresponding event output signal 125. Asynchronous electrical circuitry 130 may not trigger the same action as for the event “person” but trigger another action or no action at all. This would correspond to a false positive.

[0050] Embodiments of the present disclosure may be used for basic categorization purposes, for example. Apparatus 100 may be used for selective triggering of different systems by of- floading simple processing tasks into the optical path. The input image 105 may correspond to event A: e.g., face appears, object A appears. ONN 110 may detect / classify event A and generate a corresponding output optical image 115 (light pattern) A*. Event camara 120 may detect change for output optical image A* and create A** event. Asynchronous electrical circuitry 130 may trigger an event handler A, e.g., face detector (e.g., ANN), or robot A for pick A. The input image 105 may correspond to event B: e.g., hand appears, object B appears. ONN 110 may detect / classify Event B and generate an output optical image 115 (light pattern) B*. Event camara 120 may detect change in light pattern B*for event B and create B** event signal. Asynchronous electrical circuitry 130 may trigger event handler B, e.g., gesture detector (e.g., ANN) or robot B for pick B. As the type of event does not have to be permanently distinguished, the system can save power.

[0051] Embodiments of the present disclosure may be used for low latency applications, for example. Apparatus 100 may be used for observing a standard operation of another system. The input image 105 may correspond to the running standard process. In this case, ONN 110 may observe the scene and continuously generate an output optical image 115 (light pattern) which corresponds to the standard process. Event camara 120 may not detect a change in the continuous output optical image 115 which corresponds the standard processing mode. Asynchronous electrical circuitry 130 remains inactive as no event does not creates any action.

[0052] In a scenario where a rare but safety critical non-standard event happens which should result in instant change of operation, the apparatus 100 could work as follows: ONN 110 may detect / classify the non-standard event is detected and generate a non-standard light pattern 115. Thus, the light pattern 115 changes. Event camara 120 may detect the change and generate a corresponding event output signal 125. Asynchronous electrical circuitry 130 may triggers an action to handle the non-standard event. Here, the system does not have to distinguish permanently the type of event. Thus, the system can save power and create a very low latency non-standard signal.

[0053] Turning now to Fig. 6, it is shown a flowchart of a method 600 for event detection according to embodiments of the present disclosure. Method 600 includes mapping 610 an input optical image 105 to an output optical image 115 by using an ONN 110 comprising a plurality of structured optically transmissive and / or reflective substrate layers arranged in an optical path. The plurality of substrate layers collectively define a trained mapping function between the input optical image to the plurality of substrate layers and the output optical image from the plurality of substrate layers. Method 600 also includes detecting 620 local changes in brightness in the output optical image 115 of the ONN 110 with an event camera 120 and generating a corresponding event output signal 125.

[0054] As has been described before, method 600 may further include generating the trained mapping function using an ANN trained using a set of training images or data.

[0055] Note that the present technology can also be configured as described below.

[0056] Example 1 is an apparatus for event detection. The apparatus comprises an ONN, the ONN comprising a plurality of structured optically transmissive and / or reflective substrate layers arranged in an optical path. The plurality of substrate layers collectively define a trained mapping function between an input optical image to the plurality of substrate layers and an output optical image from the plurality of substrate layers. The apparatus further comprises an event camera configured to detect local changes in brightness in the output optical image of the ONN and generate a corresponding event output signal.

[0057] In Example 2, the trained mapping function of the ONN of Example 1 comprises a classification function configured to classify the input optical image into one of a plurality of classifications.

[0058] In Example 3, the input optical image of Example 2 comprises one or more objects and the plurality of classifications comprise object shape, object type, or object identification.

[0059] In Example 4, the apparatus of Example 2 is configured to determine the classification of the input optical image based on a location and / or distribution of changes in brightness of the optical output image. In Example 5, the event camera of any one of Examples 2 to 4is configured to generate an event output signal corresponding to the classification of the input optical image.

[0060] In Example 6, the apparatus of any one of the previous Examples further comprises asynchronous electrical circuitry coupled to the event camera and configured to initiate one or more actions in accordance with the event output signal of the event camera.

[0061] In Example 7, the asynchronous electrical circuitry of Example 6 is configured to determine a classification of the input optical image based on the event output signal of the event camera.

[0062] In Example 8, the asynchronous electrical circuitry of Example 7 is configured to wake up classification-specific processing in response to the event output signal indicating the classification of the input optical image.

[0063] In Example 9, the asynchronous processing circuitry of any one of Examples 6 to 8 is configured to turn off power of the event camera during classification-specific processing and to turn on power of the event camera after classification-specific processing.

[0064] In Example 10, the trained mapping function of any one of the previous Examples comprises an imaging function, acting on phase and / or amplitude channels of the input optical image and the optically transmissive and / or reflective substrate layers are structured in accordance with the trained mapping function.

[0065] In Example 11, the ONN and the event camera of any one of the previous Examples are arranged on a common substrate.

[0066] In Example 12, the ONN and the event camera of any one of the previous Examples are arranged in a common semiconductor package.

[0067] Example 13 is a method for event detection. The method includes mapping an input optical image to an output optical image by using an ONN comprising a plurality of structured optically transmissive and / or reflective substrate layers arranged in an optical path. The plurality of substrate layers collectively define a trained mapping function between the input optical image to the plurality of substrate layers and the output optical image from the plurality of substrate layers. The method further includes detecting local changes in brightness in the output optical image of the ONN with an event camera and generating a corresponding event output signal.

[0068] In Example 14, the method of Example 14 further includes generating the trained mapping function using an artificial neural network trained using a set of training images or data.

[0069] In Example 15, the trained mapping function of Examples 13 or 14 comprises physical locations and transmission and / or reflection coefficients including phase and amplitude of an array of neurons formed by a plurality of physical features of the plurality of substrate layers.

[0070] In Example 16, the trained mapping function of any one of Examples 13 to 15 comprises a classification function, wherein mapping the input optical image to the output optical image comprises classifying the input optical image into one of a plurality of classifications.

[0071] In Example 17, the input optical image of any one of Examples 13 to 16 comprises one or more objects and the plurality of classifications comprise object shape, object type, or object identification.

[0072] In Example 18, the method of Examples 16 or 17 further includes generating an event output signal corresponding to the classification of the input optical image.

[0073] In Example 19, the method of any one of Examples 13 to 18 further includes initiating, using an asynchronous electrical circuitry coupled to the event camera, one or more actions corresponding to the event output signal of the event camera.

[0074] In Example 20, the method of Example 19 further includes determining a classification of the input optical image based on the event output signal of the event camera.

[0075] In Example 21, the method of Example 20 further includes waking up classification-specific processing in response to the event output signal indicating the classification of the input optical image. In Example 22, the method of Example 21 further includes turning off power of the event camera during classification-specific processing and turning on power of the event camera after classification-specific processing.

[0076] Embodiments may be based on using a machine-learning model or machine-learning algorithm - in particular for training the ONN. Machine learning may refer to algorithms and statistical models that computer systems may use to perform a specific task without using explicit instructions, instead relying on models and inference. For example, in machinelearning, instead of a rule-based transformation of data, a transformation of data may be used, that is inferred from an analysis of historical and / or training data. For example, the content of images may be analyzed using a machine-learning model or using a machinelearning algorithm. In order for the machine-learning model to analyze the content of an image, the machine-learning model may be trained using training images as input and training content information as output. By training the machine-learning model with a large number of training images and / or training sequences (e.g. words or sentences) and associated training content information (e.g. labels or annotations), the machine-learning model "learns" to recognize the content of the images, so the content of images that are not included in the training data can be recognized using the machine-learning model. The same principle may be used for other kinds of sensor data as well: By training a machine-learning model using training sensor data and a desired output, the machine-learning model "learns" a transformation between the sensor data and the output, which can be used to provide an output based on non-training sensor data provided to the machine-learning model. The provided data (e.g. sensor data, meta data and / or image data) may be preprocessed to obtain a feature vector, which is used as input to the machine-learning model.

[0077] Machine-learning models may be trained using training input data. The examples specified above use a training method called "supervised learning". In supervised learning, the machine-learning model is trained using a plurality of training samples, wherein each sample may comprise a plurality of input data values, and a plurality of desired output values, i.e. each training sample is associated with a desired output value. By specifying both training samples and desired output values, the machine-learning model "learns" which output value to provide based on an input sample that is similar to the samples provided during the training. Apart from supervised learning, semi -supervised learning may be used. In semi- supervised learning, some of the training samples lack a corresponding desired output value. Supervised learning may be based on a supervised learning algorithm (e.g. a classification algorithm, a regression algorithm or a similarity learning algorithm. Classification algorithms may be used when the outputs are restricted to a limited set of values (categorical variables), i.e. the input is classified to one of the limited set of values. Regression algorithms may be used when the outputs may have any numerical value (within a range). Similarity learning algorithms may be similar to both classification and regression algorithms but are based on learning from examples using a similarity function that measures how similar or related two objects are. Apart from supervised or semi-supervised learning, unsupervised learning may be used to train the machine-learning model. In unsupervised learning, (only) input data might be supplied and an unsupervised learning algorithm may be used to find structure in the input data (e.g. by grouping or clustering the input data, finding commonalities in the data). Clustering is the assignment of input data comprising a plurality of input values into subsets (clusters) so that input values within the same cluster are similar according to one or more (pre-defined) similarity criteria, while being dissimilar to input values that are included in other clusters.

[0078] Reinforcement learning is a third group of machine-learning algorithms. In other words, reinforcement learning may be used to train the machine-learning model. In reinforcement learning, one or more software actors (called "software agents") are trained to take actions in an environment. Based on the taken actions, a reward is calculated. Reinforcement learning is based on training the one or more software agents to choose the actions such, that the cumulative reward is increased, leading to software agents that become better at the task they are given (as evidenced by increasing rewards).

[0079] Furthermore, some techniques may be applied to some of the machine-learning algorithms. For example, feature learning may be used. In other words, the machine-learning model may at least partially be trained using feature learning, and / or the machine-learning algorithm may comprise a feature learning component. Feature learning algorithms, which may be called representation learning algorithms, may preserve the information in their input but also transform it in a way that makes it useful, often as a pre-processing step before performing classification or predictions. Feature learning may be based on principal components analysis or cluster analysis, for example. In some examples, anomaly detection (i.e. outlier detection) may be used, which is aimed at providing an identification of input values that raise suspicions by differing significantly from the majority of input or training data. In other words, the machine-learning model may at least partially be trained using anomaly detection, and / or the machine-learning algorithm may comprise an anomaly detection component.

[0080] In some examples, the machine-learning algorithm may use a decision tree as a predictive model. In other words, the machine-learning model may be based on a decision tree. In a decision tree, observations about an item (e.g. a set of input values) may be represented by the branches of the decision tree, and an output value corresponding to the item may be represented by the leaves of the decision tree. Decision trees may support both discrete values and continuous values as output values. If discrete values are used, the decision tree may be denoted a classification tree, if continuous values are used, the decision tree may be denoted a regression tree.

[0081] Association rules are a further technique that may be used in machine-learning algorithms. In other words, the machine-learning model may be based on one or more association rules. Association rules are created by identifying relationships between variables in large amounts of data. The machine-learning algorithm may identify and / or utilize one or more relational rules that represent the knowledge that is derived from the data. The rules may e.g. be used to store, manipulate or apply the knowledge.

[0082] Machine-learning algorithms are usually based on a machine-learning model. In other words, the term "machine-learning algorithm" may denote a set of instructions that may be used to create, train or use a machine-learning model. The term "machine-learning model" may denote a data structure and / or set of rules that represents the learned knowledge (e.g. based on the training performed by the machine-learning algorithm). In embodiments, the usage of a machine-learning algorithm may imply the usage of an underlying machinelearning model (or of a plurality of underlying machine-learning models). The usage of a machine-learning model may imply that the machine-learning model and / or the data struc- ture / set of rules that is the machine-learning model is trained by a machine-learning algorithm. For example, the machine-learning model may be an artificial neural network (ANN). ANNs are systems that are inspired by biological neural networks, such as can be found in a retina or a brain. ANNs comprise a plurality of interconnected nodes and a plurality of connections, so-called edges, between the nodes. There are usually three types of nodes, input nodes that receive input values, hidden nodes that are (only) connected to other nodes, and output nodes that provide output values. Each node may represent an artificial neuron. Each edge may transmit information, from one node to another. The output of a node may be defined as a (non-linear) function of its inputs (e.g. of the sum of its inputs). The inputs of a node may be used in the function based on a "weight" of the edge or of the node that provides the input. The weight of nodes and / or of edges may be adjusted in the learning process. In other words, the training of an artificial neural network may comprise adjusting the weights of the nodes and / or edges of the artificial neural network, i.e. to achieve a desired output for a given input.

[0083] Alternatively, the machine-learning model may be a support vector machine, a random forest model or a gradient boosting model. Support vector machines (i.e. support vector networks) are supervised learning models with associated learning algorithms that may be used to analyze data (e.g. in classification or regression analysis). Support vector machines may be trained by providing an input with a plurality of training input values that belong to one of two categories. The support vector machine may be trained to assign a new input value to one of the two categories. Alternatively, the machine-learning model may be a Bayesian network, which is a probabilistic directed acyclic graphical model. A Bayesian network may represent a set of random variables and their conditional dependencies using a directed acyclic graph. Alternatively, the machine-learning model may be based on a genetic algorithm, which is a search algorithm and heuristic technique that mimics the process of natural selection.

[0084] The aspects and features described in relation to a particular one of the previous examples may also be combined with one or more of the further examples to replace an identical or similar feature of that further example or to additionally introduce the features into the further example.

[0085] Examples may further be or relate to a (computer) program including a program code to execute one or more of the above methods when the program is executed on a computer, processor or other programmable hardware component. Thus, steps, operations or processes of different ones of the methods described above may also be executed by programmed computers, processors or other programmable hardware components. Examples may also cover program storage devices, such as digital data storage media, which are machine-, processor- or computer-readable and encode and / or contain machine-executable, processorexecutable or computer-executable programs and instructions. Program storage devices may include or be digital storage devices, magnetic storage media such as magnetic disks and magnetic tapes, hard disk drives, or optically readable digital data storage media, for example. Other examples may also include computers, processors, control units, (field) programmable logic arrays ((F)PLAs), (field) programmable gate arrays ((F)PGAs), graphics processor units (GPU), application-specific integrated circuits (ASICs), integrated circuits (ICs) or system-on-a-chip (SoCs) systems programmed to execute the steps of the methods described above.

[0086] It is further understood that the disclosure of several steps, processes, operations or functions disclosed in the description or claims shall not be construed to imply that these operations are necessarily dependent on the order described, unless explicitly stated in the individual case or necessary for technical reasons. Therefore, the previous description does not limit the execution of several steps or functions to a certain order. Furthermore, in further examples, a single step, function, process or operation may include and / or be broken up into several sub-steps, -functions, -processes or -operations.

[0087] If some aspects have been described in relation to a device or system, these aspects should also be understood as a description of the corresponding method. For example, a block, device or functional aspect of the device or system may correspond to a feature, such as a method step, of the corresponding method. Accordingly, aspects described in relation to a method shall also be understood as a description of a corresponding block, a corresponding element, a property or a functional feature of a corresponding device or a corresponding system.

[0088] The following claims are hereby incorporated in the detailed description, wherein each claim may stand on its own as a separate example. It should also be noted that although in the claims a dependent claim refers to a particular combination with one or more other claims, other examples may also include a combination of the dependent claim with the sub- ject matter of any other dependent or independent claim. Such combinations are hereby explicitly proposed, unless it is stated in the individual case that a particular combination is not intended. Furthermore, features of a claim should also be included for any other independent claim, even if that claim is not directly defined as dependent on that other independent claim.

Claims

Claims1. Apparatus for event detection, the apparatus comprising an optical neural network, ONN, comprising a plurality of structured optically transmissive and / or reflective substrate layers arranged in an optical path, wherein the plurality of substrate layers collectively define a trained mapping function between an input optical image to the plurality of substrate layers and an output optical image from the plurality of substrate layers; and an event camera configured to detect local changes in brightness in the output optical image of the ONN and generate a corresponding event output signal.

2. The apparatus of claim 1, wherein the trained mapping function of the ONN comprises a classification function configured to classify the input optical image into one of a plurality of classifications.

3. The apparatus of claim 2, wherein the input optical image comprises one or more objects and the plurality of classifications comprise object shape, object type, or object identification.

4. The apparatus of claim 3, wherein apparatus is configured to determine the classification of the input optical image based on a location and / or distribution of changes in brightness of the optical output image.

5. The apparatus of claim 2, wherein the event camera is configured to generate an event output signal corresponding to the classification of the input optical image.

6. The apparatus of claim 1, further comprising asynchronous electrical circuitry coupled to the event camera and configured to initiate one or more actions in accordance with the event output signal of the event camera.

7. The apparatus of claim 6, wherein the asynchronous electrical circuitry is configured to determine a classification of the input optical image based on the event output signal of the event camera.

8. The apparatus of claim 7, wherein the asynchronous electrical circuitry is configured to wake up classification-specific processing in response to the event output signal indicating the classification of the input optical image.

9. The apparatus of claim 6, wherein the asynchronous processing circuitry is configured to turn off power of the event camera during classification-specific processing and to turn on power of the event camera after classification-specific processing.

10. The apparatus of claim 1, wherein the trained mapping function comprises an imaging function, acting on phase and / or amplitude channels of the input optical image and the optically transmissive and / or reflective substrate layers are structured in accordance with the trained mapping function.

11. The apparatus of claim 1, wherein the ONN and the event camera are arranged on a common substrate.

12. The apparatus of claim 1, wherein the ONN and the event camera are arranged in a common semiconductor package.

13. Method for event detection, the method comprising mapping an input optical image to an output optical image by using an optical neural network, ONN, comprising a plurality of structured optically transmissive and / or reflective substrate layers arranged in an optical path, wherein the plurality of substrate layers collectively define a trained mapping function between the input optical image to the plurality of substrate layers and the output optical image from the plurality of substrate layers; and detecting local changes in brightness in the output optical image of the ONN with an event camera and generating a corresponding event output signal.

14. The method of claim 13, further comprising generating the trained mapping function using an artificial neural network trained using a set of training images or data.

15. The method of claim 13, wherein the trained mapping function comprises physical locations and transmission and / or reflection coefficients including phase and ampli-tude of an array of neurons formed by a plurality of physical features of the plurality of substrate layers.

16. The method of claim 13, wherein the trained mapping function of the ONN comprises a classification function, wherein mapping the input optical image to the output optical image comprises classifying the input optical image into one of a plurality of classifications.

17. The method of claim 16, wherein the input optical image comprises one or more objects and the plurality of classifications comprise object shape, object type, or object identification.

18. The method of claim 16, comprising generating an event output signal corresponding to the classification of the input optical image.

19. The method of claim 13, further comprising initiating, using an asynchronous electrical circuitry coupled to the event camera, one or more actions corresponding to the event output signal of the event camera.

20. The method of claim 19, further comprising determining a classification of the input optical image based on the event output signal of the event camera.