Apparatus, method, and computer program for processing visual event data

By predicting visual events using machine-learning, the proposed method reduces latency in computer vision algorithms, allowing for earlier decision-making in real-time applications, enhancing the reliability and efficiency of systems like autonomous vehicles and drones.

WO2024200170A1PCT designated stage expired Publication Date: 2024-10-03SONY SEMICON SOLUTIONS CORP +1
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
PCT/EP2024/057485
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-29
Filing Date
2024-03-20
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Computer vision algorithms in real-time applications face challenges due to high computational costs and latency, which can be critical in situations like emergency braking systems and drone control, where timely decision-making is essential.

Method used

The approach involves using machine-learning to predict visual events, allowing computer vision algorithms to process predicted data instead of actual data, reducing latency by providing predicted visual event data earlier, thereby enabling earlier decision-making without compromising algorithm quality.

Benefits of technology

This method reduces latency and improves the reliability of computer vision pipeline outputs, enabling earlier and more reliable decision-making in real-time applications by processing predicted visual event data, which is generated using machine-learning models and applied through a computer vision algorithm.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2024057485_03102024_PF_FP_ABST
    Figure EP2024057485_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Examples relate to an apparatus (10), method and computer program for processing visual event data. The apparatus comprises an interface (12) for obtaining the visual event data, the visual event data representing an occurrence of visual events in a two-dimensional grid. The apparatus (10) comprises processing circuitry (14) to process the visual event data using at least one machine-learning model (102), the at least one machine-learning model being trained to output a prediction of an occurrence of visual events in the two-dimensional grid in the future based on the visual event data, and process the output of the machine-learning model using a computer vision algorithm (104).
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Apparatus, Method, and Computer Program for Processing Visual Event Data

[0002] Field

[0003] Examples relate to an apparatus, method, and computer program for processing visual event data.

[0004] Background

[0005] Computer vision algorithms can be computationally expensive and require input data to be acquired before the input data can be processed by the respective computer version algorithms. However, for real-time applications, compute time and induced latency are crucial, as any decision making may rely on these computer vision algorithms’ output. For example, an emergency braking system of an autonomous vehicle needs to detect a critical situation early to brake before it is too late. As another example, during a drone flight, a control system needs to be able to quickly know the behavior of the drone or the position of obstacles to react quickly. To address these issues, the complexity of the algorithm can be reduced (which is not trivial), and / or the compute power available on the machine can be increased (which costs money and energy during operation).

[0006] There may be a desire to provide an improved concept for processing visual data using a computer vision algorithm.

[0007] Summary

[0008] This desire is addressed by the subject-matter of the independent claims.

[0009] Various examples of the present disclosure are based on the finding, that the latency of computer vision algorithms being applied on sensor data of an event-based visual sensor can be reduced, with respect to the processing of visual event data, by replacing the processing of the visual event data with a processing of predicted visual event data. Machine-learning can be used to make a prediction of an occurrence of visual events, to predict what is going to be shown in the future in the next events (or images generated based on events) provided by the sensor, and one or more computer vision algorithms can be applied on these predicted events / images. With this approach, it is possible to reduce the latency (or event have a negative latency) when computing the (full) computer vision pipeline, such that a decision can be taken earlier, e.g., before the situation actually happens in the real world.

[0010] Some aspects of the present disclosure relate to an apparatus for processing visual event data. The apparatus comprises an interface for obtaining the visual event data. The visual event data represents an occurrence of visual events in a two-dimensional grid. The apparatus comprises processing circuitry to process the visual event data using at least one machine-learning model. The at least one machine-learning model is trained to output a prediction of an occurrence of visual events in the two-dimensional grid in the future based on the visual event data. The processing circuitry is to process the output of the machine-learning model using a computer vision algorithm. By predicting the occurrence of visual events in the future, the computer vision algorithm can be supplied with the predicted version of the visual event data earlier than the actual visual event data, which decreases the latency, so that decisions can be taken at an earlier time without compromising on the quality of the computer vision algorithms.

[0011] In some examples, the output of the at least one machine-learning model represents a probability distribution of the visual events occurring within the two-dimensional grid. Such a probability distribution is a better fit for the statistical nature of machine-learning based predictions, and is, at the same time, representable in a format that can be understood by a computer vision algorithm.

[0012] For example, the processing circuitry may generate processed visual event data based on the output of the at least one machine-learning model, by including visual events having a probability that may be at least a probability threshold in the processed visual event data, and to process the processed visual event data using the computer vision algorithm. By including only visual events having a high probability, artifacts originating from lower probability predictions can be removed, which may increase the reliability of the processed visual event data.

[0013] Alternatively, the processing circuitry may process the output of the at least one machinelearning model representing the probability distribution of the visual events occurring within the two-dimensional grid using the computer vision algorithm. In this case, nuanced information can be provided to the computer vision algorithm, which may enable early detection of some phenomena.

[0014] In the present disclosure, visual event data is used, which represents an occurrence of visual events in a two-dimensional grid. To have such visual event data be processed by computer vision algorithms that take frames as inputs, the events can be integrated over time to generate frames of visual event data. For example, the visual event data may comprise a plurality of frames of visual event data. Each frame of the visual event data may comprise, for each cell of the two-dimensional grid, information on a count of visual events having occurred in the cell of the two-dimensional grid during a pre-defined time-interval. Accordingly, the at least one machine-learning model may be trained to output frames of predicted visual event data, with each frame of the predicted visual event data comprising, for each cell of the two-dimensional grid, information on a probability distribution of visual events having occurred in the cell of the two-dimensional grid during a pre-defined time interval in the future. This type of frame-based visual event data can also be processed by frame-based computer vision algorithms.

[0015] Alternatively, the visual event data may represent a sequence of visual events. For example, the visual event data may comprise a sequence of visual events having occurred in the two- dimensional grid, the at least one machine-learning model may be trained to output a probability distribution of a sequence of visual events occurring in the two-dimensional grid in the future. This may enable predictions that rely on an inherent order in the sequence of events.

[0016] In some examples, the output of the computer vision algorithm may be used to improve the acquisition of the visual event data. For example, the interface circuitry may obtain the visual event data from an event-based sensor. The processing circuitry may determine one or more acquisition parameters for acquiring visual event data based on an output of the computer vision algorithm and control the acquisition of subsequent visual event data by the eventbased sensor based on the one or more acquisition parameters. This may improve the acquisition of the visual event data, e.g., by expending additional effort for a region or point of interest, by reducing the complexity by examining only a subset of the visual event data in detail, or by focusing the acquisition on a region or point of interest. As outlined above, visual event data is used, which represents an occurrence of visual events in a two-dimensional grid. Such visual event data is in contrast to standard cameras, which provide frames of image data, regardless of whether an event has occurred in the pixels of the image data. Such visual event data can be obtained from event-based vision sensor (e.g., Dynamic Vision Sensors, DVS), or from a Single Phonon Avalanche Diode (SPAD) sensor. Accordingly, the interface circuitry may obtain the visual event data from one of an eventbased vision sensor and a single photon avalanche diode-based sensor.

[0017] To make the prediction, attention-based networks are particularly suitable. For example, the at least one machine-learning model may be based on a transformer network or a network that contains an attention mechanism as in a transformer network. Such networks are also used as part of text completion machine-learning models for use in Natural Language processing and have been shown to be highly suitable for predicting future data.

[0018] For example, the at least one machine-learning model may comprise an encoding component, a transformer network component, and a decoding component. The encoder component may translate the visual event data into tokens, which the transformer network component uses as input. Based on the tokens, the transformer network component predicts the occurrence of visual events in the two-dimensional grid in the future, in a format that is translated to a desired output format by the decoding component.

[0019] In some examples, the computer vision algorithm may be implemented by a second machinelearning model. Machine-learning models have proven to be particularly suitable for performing computer vision tasks.

[0020] For example, the computer vision algorithm may be one of an object detection algorithm, an object tracking algorithm and a visual odometry algorithm. Such algorithms benefit greatly from the reduced latency enabled by the present disclosure.

[0021] In some examples, care may be taken that the predicted output does not deviate (too much) from the subsequently obtained visual event data. For example, the processing circuitry may compare an output of the at least one machine-learning model representing a prediction of an occurrence of visual events in the two-dimensional grid at a point of time or time interval with visual event data of a corresponding point of time or interval of time and calculate a divergence between the prediction and the visual event data. This divergence may then be used to determine, whether to “trust” the output of the computer vision algorithm (as the prediction of the machine-learning model is close enough to the actual visual event data). If the difference is too large, the calculation may be repeated based on the actual visual event data, and / or information may be provided to indicate that the output of the computer vision algorithm might not be trusted. In other words, the processing circuitry may invalidate an output of the computer vision algorithm if the divergence is larger than a threshold value. In this case, measures may be taken to mitigate the lack of dependability of the data.

[0022] Another aspect of the present disclosure relates to a system comprising the apparatus for processing visual event data (as introduced above) and an event-based sensor for providing the visual event data.

[0023] Another aspect of the present disclosure relate to a method for processing visual event data. The method comprises obtaining the visual event data, the visual event data representing an occurrence of visual events in a two-dimensional grid. The method comprises processing the visual event data using at least one machine-learning model, the at least one machine-learning model being trained to output a prediction of an occurrence of visual events in the two-dimensional grid in the future based on the visual event data. The method comprises processing the output of the machine-learning model using a computer vision algorithm.

[0024] Another aspect of the present disclosure relates to a non-transitory machine-readable storage medium including program code, when executed, to cause a machine to perform the above method.

[0025] Another aspect of the present disclosure relates to a computer program having a program code for performing the above method when the computer program is executed on a computer, a processor, or a programmable hardware component.

[0026] Brief description of the Figures

[0027] 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: Fig. la shows a schematic diagram of an example of an apparatus for processing visual event data, and of a system comprising such an apparatus and a sensor;

[0028] Fig. lb shows a flow chart of an example of a method for processing visual event data;

[0029] Fig. 2a shows a flow chart of an example of the proposed algorithm;

[0030] Fig. 2b shows a time chart of an example of the proposed algorithm;

[0031] Fig. 3 shows a schematic diagram of an example of a system overview of the proposed concept;

[0032] Fig. 4 shows a schematic diagram of an example of a prediction module;

[0033] Figs. 5a and 5b show diagrams of results of the event probability prediction;

[0034] Fig. 6a shows a schematic illustration of the dataflow from the point of view of the algorithm;

[0035] Fig. 6b shows a schematic illustration of the dataflow from point of view of the algorithm, where additional frames are predicted into the future;

[0036] Fig. 6c shows a schematic illustration of different frame durations;

[0037] Fig. 7 shows a schematic diagram of a pipeline for predicting greyscale frames from greyscale frames;

[0038] Fig. 8 shows a shows a schematic diagram of an example of a system overview of the proposed concept, with the system having a multi-view configuration; and

[0039] Fig. 9 shows a time chart illustrating an improvement in latency.

[0040] Detailed Description 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.

[0041] 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.

[0042] 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.

[0043] 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.

[0044] Fig. la shows a schematic diagram of an example of an apparatus (10) for processing visual event data, and of a system (100) comprising such an apparatus (10) and a sensor (20). The apparatus 10 comprises circuitry to provide the functionality of the apparatus 10. For example, the circuitry of the apparatus 10 may be configured to provide the functionality of the apparatus 10. For example, the apparatus 10 of Fig. la comprises interface circuitry 12, processing circuitry 14, and (optional) storage circuitry 16. For example, the processing circuitry 14 may be coupled with the interface circuitry 12, and storage circuitry 16. For example, the processing circuitry 14 may provide the functionality of the apparatus, in conjunction with the interface circuitry 12 (for exchanging information, e.g., with other components inside or outside the system 100 comprising the apparatus 10, such as the sensor 20 or an entity being controlled, such as an autonomous vehicle, a robot or a drone), and the storage circuitry 16 (for permanently or semi-permanently storing information, such as machine-readable instructions. In general, the functionality of the processing circuitry 14 may be implemented by the processing circuitry 14 executing machine-readable instructions. Accordingly, any feature ascribed to the processing circuitry 14 may be defined by one or more instructions of a plurality of machine-readable instructions. The apparatus 10 comprises the machine-readable instructions, e.g., within the storage circuitry 16.

[0045] The processing circuitry 14 is to obtain visual event data, via the interface 12, from the sensor 20. The visual event data represents an occurrence of visual events in a two-dimensional grid. The processing circuitry is to process the visual event data using at least one machine-learning model 102. The at least one machine-learning model is trained to output a prediction of an occurrence of visual events in the two-dimensional grid in the future based on the visual event data. The processing circuitry is to process the output of the machine-learning model using a computer vision algorithm 104.

[0046] Fig. lb shows a flow chart of an example of a corresponding method for processing visual event data. The method comprises obtaining 110 the visual event data. The method comprises processing 120 the visual event data using the at least one machine-learning model. The method comprises processing 130 the output of the machine-learning model using a computer vision algorithm. For example, the method may be performed by a computer system, e.g., by the apparatus 10 of Fig. la, or by a system comprising a computer system, e.g., by the system 100 of Fig. la.

[0047] In the following, the proposed apparatus, method, and of a corresponding computer program is introduced in more detail in connection with the apparatus of Fig. la. Features introduced in connection with the apparatus may likewise be applied to the corresponding method and computer program.

[0048] Various examples of the present disclosure relate to an apparatus, a method, and a computer program for processing visual event data. In the context of the present application, visual event data represents an occurrence of visual events in a two-dimensional grid. In contrast to camera sensors, where, regardless of whether there is a visible change in the field of view, a frame of image data is recorded in pre-defined time intervals, e.g., 24 frames per second, 30 frames per second or 60 frames per second. In contrast, in event-based sensors, events in the field of view are recorded. Such events may be changes in brightness, for example. Such changes of luminance are recorded by event-based vision sensors, which are also referred to as event cameras or dynamic vision sensors. Accordingly, the sensor 20 may be an eventbased vision sensors. Event-based vision sensors are bio-inspired sensors that differ from conventional frame cameras: Instead of capturing images at a fixed rate, they may asynchronously measure brightness changes, and output a stream of events, e.g., the event signal, that encode the time and sign or amplitude of the brightness changes. As the visual event data represents an occurrence of visual events in a two-dimensional grid, the eventbased vision sensor may comprise a plurality of photo-sensitive elements (“pixels”) for measuring brightness changes, which may be arranged in a two-dimensional grid. For example, the visual event data may encode per-pixel brightness changes. It may encode the location and sign / amplitude of the brightness changes, and, in some cases, also the time of the brightness changes (e.g., if the visual event data represents a sequence of events). Pixels in the event-based vision sensor 20 may work independently and asynchronously. Whenever one of the pixels observes a significant change in intensity, it may output an ON (positive) or OFF (negative) event along with the position of the sensing pixel (in case multiple pixels are used). An ON event stands for sensing an increasing change of luminance, whereas an OFF event stands for a decreasing change. Those pixels without significant change of intensity might trigger no output at all.

[0049] Alternatively, the sensor 20 may be a single photon avalanche diode-based sensor. A single photon avalanche diode (SPAD) is a type of photodetector that is capable of detecting individual photons of light. It is a highly sensitive device that operates under reverse bias conditions, meaning that the voltage applied to the diode is such that it causes the diode to act as an avalanche breakdown device. When a photon strikes the SPAD, it generates an electronhole pair that is accelerated by the electric field across the diode. If the voltage applied to the diode is high enough, the generated electron-hole pair can gain enough energy to ionize additional atoms, creating an avalanche of current. This avalanche current is detected as an event. Similar to the event-based vision sensor mentioned above, the single photon avalanche diode-based sensor may comprise a plurality of single photon avalanche diodes (“pixels”) for detecting the photos, which may be arranged in a two-dimensional grid.

[0050] Due to the event-based nature, the events may be obtained as a continuous stream of events from the respective sensor 20. In other words, the visual event data may comprise a sequence of visual events having occurred in the two-dimensional grid. In this case, the events included in the visual event data may be associated with a timestamp for indicating their position in the sequence of visual events. However, as an alternative, to facilitate processing of the visual event data by frame-based computer vision algorithms, the visual event data may be obtained as frame-based visual event data. In other words, the visual event data may be obtained as frame of data, comprising a representation of events having occurred in a pre-defined time interval (also denoted integration time). For example, a frame of visual event data may comprise a representation (e.g., an accumulation) of events having occurred in a pre-determined time interval, such as 20 ms. To accumulate the events, for each pixel of the two-dimensional, the number of events having occurred during the integration time may be counted, e.g., separated by type of event (e.g., on / off event, positive / negative event etc.). Accordingly, the visual event data may comprise a plurality of frames of visual event data. Each frame of the visual event data may comprise, for each cell of the two-dimensional grid, information on a count of visual events having occurred in the cell of the two-dimensional grid during a pre-defined time-interval (i.e., the integration time). This may differ from frames of conventional cameras by only representing the events having occurred, not portions of the field of view where no event has occurred (e.g., no brightness has been measured).

[0051] For example, as described above, an event frame may be the result of simple event detection (binary event frame representation), or an event frame may be a result of a memorization of the time of the last event in each pixel. There is a myriad of ways of representing events in visual event data. In some examples, the visual event data, or an event frame derived from the visual event data, may be generated using an (arbitrary) convolution kernel, convolving either though space (pixel grid) or time (in which case every pixel value corresponds to a “modi- fied / processed” timestamp value indicating a behavior throughout time). A convolutional kernel, which may be considered a filter, is a small matrix of numbers that is used to extract a specific feature or pattern from input data (such as an image frame, or in this case, a representation of events) in the process of convolution. The kernel is slid over the input data, computing the dot product between the kernel values and the corresponding values in the overlapping portion of the data, producing a new matrix of values that highlights the features that the kernel is looking for. For example, the convolutional kernel can be designed manually or trained.

[0052] The visual event data is then processed by the at least one machine-learning model. In the following, a short introduction on machine-learning is given, followed by a more detailed introduction of the machine-learning model used herein.

[0053] Machine learning refers 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 machine-learning, 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 machine-learning 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 associated training content information, the machine-learning model “learns” to recognize the content of the images, so the content of images that are not included of the training images can be recognized using the machinelearning 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 machinelearning model.

[0054] Machine-learning models are 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, 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 are 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.

[0055] 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.

[0056] 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).

[0057] In the present disclosure, the machine-learning model is trained to output, from the visual event data (as input), a prediction of an occurrence of visual events in the two-dimensional grid in the future. Such a prediction may, for example, be made using a transformer network (or similar machine-learning model). In other words, at least one machine-learning model may be based on a transformer network or a network that contains an attention mechanism as in a transformer network. A transformer network is a type of neural network architecture that is commonly used in natural language processing tasks such as language translation and text summarization. It processes an entire sequence of input tokens at once and determines a relationship among the input tokens using a self-attention mechanism. The self-attention mechanism is used to create an attention score for each input token based on its relationship with each other token of the input sequence, which is subsequently used to weigh the importance of different tokens when making predictions about an output sequence. This attention score is then used to weight the importance of each token when encoding it into a hidden representation (embedding). With respect to the sequence that is output by the transformer network, the attention score is used to determine the contribution of each input token to the output. Transformer networks typically consist of multiple layers of self-attention and feedforward networks, which are implemented as pairs of encoders and decoders (with each encoder / de- coder forming a layer, comprising at least one self-attention mechanism and a feed-forward network). In each layer, the input sequence is transformed using the self-attention mechanism and the feedforward network. The output of each layer is then passed on to the next layer, until the final output sequence is generated.

[0058] Transformer networks usually operate based on tokens, which are chunks of the data being processed. To obtain such tokens, an encoder may be used. At the other end of the pipeline, a decoder may be used to decode the tokens output by the transformer network into the desired output. Accordingly, at least one machine-learning model may comprise an encoding component (which may be a first machine-learning model), a transformer network component (which may comprise one or more second machine-learning models), and a decoding component (which may be a third machine-learning model). Such an architecture is shown in Fig. 4, for example.

[0059] In the present context, the layers of the transformer network may be trained using supervised (or self-supervised) learning, using a set of training data comprising visual event data. To train the machine-learning model, visual event data up to a first point in time (e.g., for a predefined time interval up to a time) may be used as training input data, and visual event data of a second point in time (that lies in the future relative to the first point in time) may be used as desired training output. For example, if frame-based visual event data is used, each training sample may comprise a sequence of frames of visual event data up to the first point in time as training input data and one or more frames at one or more second points in time (in the future relative to the first point of time) as desired training output. If sequence-based visual event data is used, the sequence may be provided up to the first point in time as training input data, and the continuation of the sequence up to a second point in time may be provided as desired training output. In some examples, this may be done automatically, by providing a sequence of frames or a sequence of events, and using self-supervised learning to automatically obtain the respective training data form the sequence of frame or sequence of events. For example, one aspect of the present disclosure may relate to an apparatus, method and computer program for training the machine-learning model (as described above, using a supervised or self-supervised training). Such a method may comprise obtaining the set of training data, and training the machine-learning model using supervised or self-supervised learning. This method may be performed by the apparatus, and implemented by the computer program. In some examples, the training may also be part of the apparatus 10 of Fig. la and the method of Fig. lb. However, preferably, the training is performed a priori by a different entity.

[0060] As an alternative to a network that is based on an attention mechanism, another architecture may be used, such as a ResNet architecture (as shown in Fig. 7). Such an approach is feasible if the visual event data is represented as an image, with the pixels of the image representing the events (e.g., with a more intense color / gradient of black indicating a higher number of events, or with different color representing different polarities of the event (on / off, posi- tive / negative).

[0061] The prediction performed by a machine-learning model is subject to uncertainty (as any prediction is). Therefore, instead of outputting a straight-forward prediction that has the same format as the visual event data being processed, the machine-learning model may provide a probability distribution at its output. A probability distribution is a mathematical function that describes the likelihood of obtaining the possible values of a variable. It represents the probabilities of the possible outcomes. For example, the output of the at least one machine-learning model may represent a probability distribution of the visual events occurring within the two- dimensional grid, e.g., on a per cell of the grid (per pixel) basis. For example, per pixel, a value representing the probability whether at least one event (e.g., of each polarity) is predicted to occur may be provided as an output. Such an output is shown in Fig. 5b on the right, for example. Alternatively, per pixel, the value (e.g., count of events) having the highest probability may be provided as an output. Alternatively, the entire probability distribution may be provided, on a per-pixel basis.

[0062] Similar to the format of the visual event data, the output of the machine-learning model may be provided in a similar format (by the machine-learning model itself, or by a post-processor). For example, the at least one machine-learning model may be trained to output frames of predicted visual event data, each frame of the predicted visual event data comprising, for each cell of the two-dimensional grid, information on a probability distribution of visual events having occurred in the cell of the two-dimensional grid during a pre-defined time interval in the future. Alternatively, the at least one machine-learning model may be trained to output a probability distribution of a sequence of visual events occurring in the two-dimensional grid in the future. Depending on the type of visual event data that is input into the machine-learning model (frame-based or sequence-based), the corresponding type of visual event data may be output.

[0063] In some examples, this probability distribution may be post-processed. For example, only values having a probability that is higher than a threshold might be included in the data provided to the computer vision algorithm. For example, the processing circuitry may generate processed visual event data based on the output of the at least one machine-learning model. Accordingly, as further shown in Fig. lb, the method may comprise generating 125 the processed visual event data. The processed visual event data may then be processed using the computer vision algorithm. For example, a two-dimensional image may be generated as processed visual event data, which may be processed by the computer vision algorithm. For example, the processed visual event data may be generated by including visual events having a probability that is at least a probability threshold in the processed visual event data. An example for this approach is shown in Fig. 5b (middle), where a probability threshold of 0.95 is used to determine whether an event is represented in the processed visual event data.

[0064] The (processed) output of the machine-learning model (e.g., the processed visual event data, which may be frames of predicted visual event data or processed visual event data comprising a probability distribution of a sequence of visual events) is then processed by the computer vision algorithm. For example, the processing circuitry may process the output of the at least one machine-learning model representing the probability distribution of the visual events occurring within the two-dimensional grid using the computer vision algorithm. Alternatively, the processing circuitry may process processed visual event data that is (only) based on visual events having a probability that is at least the aforementioned probability threshold.

[0065] In general, various types of computer vision algorithms may be used. A computer vision algorithm is a set of procedures and steps designed to enable a computer to interpret and understand visual data. This involves processing digital images and videos to extract meaningful information, such as identifying objects, faces, and other key features. Computer vision algorithms may use techniques such as pattern recognition, machine learning, and artificial intelligence to analyze and interpret visual data accurately. In particular, the computer vision algorithm may be a computer vision algorithm that is used to control an entity, such as a robot, a drone, or an autonomous vehicle. Such computer vision algorithms comprise algorithms, such as object detection algorithms (to detect objects in the environment of the ro- bot / drone / vehicle), an object tracking algorithm (to track objects in the environment of the robot / drone / vehicle) and a visual odometry algorithm (to determine the position of the ro- bot / drone / vehicle in an environment, e.g., by a Simultaneous Localization And Mapping system, SLAM). Such computer vision algorithms (and their application to robots, drones or autonomous vehicles) are well-known in literature, and will therefore not be introduced in more detail in the present disclosure. Commonly, such computer vision algorithms are implemented using a machine-learning model. Therefore, the computer vision algorithm 104 may be implemented by a second machine-learning model.

[0066] While the output of the computer vision algorithm can be used for a multitude of purposes, e.g., to control operation of a robot, drone, or autonomous vehicle, it may also be used to improve acquisition of the visual event data (e.g., to increase the quality of the visual event data). For example, the processing circuitry may determine one or more acquisition parameters for acquiring visual event data based on an output of the computer vision algorithm, and control the acquisition of subsequent visual event data by the event-based sensor based on the one or more acquisition parameters. Accordingly, as shown in Fig. lb, the method may comprise determining 140 the one or more acquisition parameters, and controlling 145 the acquisition of the subsequent visual event data. For example, the one or more acquisition parameters may include any acquisition parameter for acquiring the visual data, such as device parameters (threshold for triggering an event, exposure time, integration time, ISO (sensitivity), etc.), or more advanced capabilities of modern sensors such as ADC (Analog-to-Digital-Con- verter) precision (of an ADC of the sensor 20), or region of interests. For example, object detection may be used to determine an object of interest, and a region of interest may be determined surrounding the object of interest. This region of interest may then be used to control acquisition of the visual event data, e.g., using a higher ADC precision inside the region of interest, or lowering the threshold (e.g., within the region of interest) if an object of interest has been detected. The processing circuitry may further provide the output of the computer vision algorithm, e.g., to a control system of the robot, drone, or autonomous system. Accordingly, as further shown in Fig. lb, the method may comprise providing 150 the output of the computer vision algorithm.

[0067] In some cases, unexpected things may happen that could not be predicted by the machinelearning model. For example, the robot may fall down stairs, the drone may collide with a bird coming from behind, or another vehicle may lose cargo in front of the autonomous vehicle. In such cases, the output of the computer vision algorithm might not be reliable, as it is based on a false prediction of events. In such cases, a safety mechanism may be introduced, to invalidate output generated by the computer vision algorithm. For example, the processing circuitry may compare an output of the at least one machine-learning model representing a prediction of an occurrence of visual events in the two-dimensional grid at a point of time or time interval with visual event data of a corresponding point of time or interval of time, and calculate a divergence between the prediction and the visual event data. Accordingly, as further shown in Fig. lb, the method may comprise comparing 160 the output of the at least one machine-learning model with the visual event data, and calculating 165 the divergence. In case the divergence is too large, the prediction may be deemed unreliable, and thus also the output of the computer vision algorithm. Therefore, the processing circuitry may invalidate an output of the computer vision algorithm if the divergence is larger than a threshold value. Accordingly, the method may comprise invalidating the output of the computer vision algorithm. In such cases, the control system of the robot, drone or autonomous vehicles may take measures to prepare for an unexpected interrupt (e.g., enter a safe state). In addition, the actual visual event data of the corresponding point of time or interval of time may be processed by the computer vision framework, to have the computer vision algorithm provide a reliable output.

[0068] 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 machine-learning 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 structure / set of rules that is the machine-learning model is trained by a machine-learning algorithm.

[0069] 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 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 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. In at least some embodiments, the machine-learning model may be a deep neural network, e.g., a neural network comprising one or more layers of hidden nodes (i.e., hidden layers), preferably a plurality of layers of hidden nodes.

[0070] Alternatively, the machine-learning model may be a support vector machine. 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.

[0071] The interface circuitry 12 may correspond to one or more inputs and / or outputs for receiving and / or transmitting information, which may be in digital (bit) values according to a specified code, within a module, between modules or between modules of different entities. For example, the interface circuitry 12 may comprise circuitry configured to receive and / or transmit information.

[0072] For example, the processing circuitry 14 may be implemented using one or more processing units, one or more processing devices, any means for processing, such as a processor, a computer or a programmable hardware component being operable with accordingly adapted software. In other words, the described function of the processing circuitry 14 may as well be implemented in software, which is then executed on one or more programmable hardware components. Such hardware components may comprise a general-purpose processor, a Digital Signal Processor (DSP), a micro-controller, etc.

[0073] For example, the storage circuitry 16 may comprise at least one element of the group of a computer readable storage medium, such as a magnetic or optical storage medium, e.g. a hard disk drive, a flash memory, Floppy-Disk, Random Access Memory (RAM), Programmable Read Only Memory (PROM), Erasable Programmable Read Only Memory (EPROM), an Electronically Erasable Programmable Read Only Memory (EEPROM), or a network storage.

[0074] More details and aspects of the apparatus, system, method, and of a corresponding computer program are mentioned in connection with the proposed concept or one or more examples described above or below (e.g., Fig. 2a to 9). The apparatus, system, method, and corresponding computer program may comprise one or more additional optional features corresponding to one or more aspects of the proposed concept, or one or more examples described above or below.

[0075] Various examples of the present disclosure relate to a deep learning-based concept (e.g., method) to perform computer vision tasks in the future.

[0076] Using DVS (Dynamic Vision Sensor, an event-based sensor) events, the probability of a future state of a scene can be predicted using a machine-learning model (e.g., a deep learning model). Using the probability of subsequent events, it is possible to apply any conventional computer vision pipeline to gain information about the scene in the future. This can lead to an impressive gain in latency for the computer vision task - for example a SLAM system, or a feedback loop to control the next data acquisition - as the algorithm can then be run in advance (“in the future”) with respect to real world data. The input data type used here is an example, but it could be of any other type, as long as it is related to visual information, e.g., visual event data.

[0077] In various examples of the present disclosure, the proposed concept is implemented in two blocks. The first block is a prediction module. This module is configured to take some im- ages / events in input and to predict the next (in time) events / images as output. The second block can be any type of computer vision algorithm that uses frames or events in input. The idea is that this module takes the event / frame probabilities output by the first block as input and processes “as usual”. A main difference is that the computer vision algorithm should work on the input being a probability distribution and not actual events / frames. Under this configuration, the second module is then able to operate in advance with respect to a real-time situation, as the prediction data is available before the acquired data. From the output of this second block, it is also possible to actuate back to the sensor to change some parameters, set some region of interests, among other things. For example, the region of interest may be set to capture a moving object as the position of this object in the future has been predicted.

[0078] Fig. 2a shows a flow chart of an example of the proposed algorithm. The full pipeline presented in this report works continuously through time on a 3 or 4 operation basis. For lower power requirements, the prediction module may be switch off or on at will in practice, e.g., switched on only in some specific cases, where ultra-high speed is required, and / or switched off only when energy consumption becomes critical, for example when the device needs to go into an energy saving mode etc. The pipeline / apparatus may be able to deliver acquired data from the sensor without any modification if needed (e.g., if the apparatus is integrated as a single sensor realized with 3D stacking of a different layer.

[0079] First, visual data is acquired up to / at time t. Then, the next data is predicted (e.g., as probabilities) for t+1 (or t+2, t+3 . . .) by the prediction block (block 1) based on the data acquired at time t (or more). Then, after the prediction is output, a computer vision (CV) algorithm (i.e., block 2) is applied on the predicted data (probability) and generates an output for t+1 (which can be any type of output). Finally, and optionally, sensor parameters, a point of interest or a region of interest, or other acquisition configuration parameters may be updated for the next acquisition at t+1. Fig. 2b shows a time chart of an example of the proposed algorithm. At time t, the visual data is acquired, followed by prediction of the next data and evaluation by a CV algorithm. The output of the CV algorithm can then be used as sensor control feedback. Finally, visual data is acquired at time t+1. Between evaluation of the predicted data and acquisition of visual data t+1, additional time is afforded for decision making.

[0080] In another scenario, the time it takes to compute the CV algorithm for t+1 does not end before the actual t+1. The latency is thus still positive but reduced with respect to the latency without prediction. This scenario is shown in Fig. 9.

[0081] The full system can also be represented as in Fig. 3. Fig. 3 shows a schematic diagram of an example of a system overview of the proposed concept. As shown in Fig. 3, two modules are used - a first module 310 for performing the prediction, and a second module 320 for processing the predicted data using one or more computer vision algorithms.

[0082] In the first module 310, a prediction module 312 uses EVS data 311 (or image frames, SPAD data, or any other input) from times t-n to t to predict an output, such as a probability distribution 313 (from t+1 to t+m). In the second module 320, one or more computer vision algorithms are performed on the predicted data. In the module 2 shown in Fig. 3, an object detection algorithm 321 (which is a CV algorithm) is used to predict objection positions 322 in the future, and a visual odometry algorithm 322 (which is another CV algorithm) is used to predict the ego-position 324 in the future. In the second module 320 of Fig. 3, two examples of CV tasks are given. However, any kind of computer vision algorithm 325 could be used to predict any information 326 about the scene in the future, as represented by blocks 325 and 326. A feedback loop 330 may be provided for the acquisition of the visual data, to improve the acquisition of the visual data.

[0083] In the following, some examples are given with respect to the prediction block. For example, the prediction module may take as input one or more event frames and output an event probability. Event frames are a type of image reconstructed from DVS data. For example, to generate the frame, an event count per pixel may be taken, i.e., each pixel value of a frame may be the number of events received at this pixel position during the event frame integration time. While this approach was shown to work, the proposed concept is not limited to the kind of data (events of a DVS sensor) and to the following design choices (architecture, parameters, etc.).

[0084] The prediction module itself may be implemented as a machine-learning model, e.g., as a machine-learning model that is based on transformer networks, as depicted in Fig. 4.

[0085] Fig. 4 shows a schematic diagram of an example of a prediction module 420. The prediction module 420 of Fig. 4 takes events frames 410 as input. It includes an encoding component 421 (e.g., encoding layers) to generate input tokens 422, a transformer network 423 to output predicted features 424, and a decoding component 425 (e.g., decoding layers) to output an events probability per pixel 430. For example, the encoder and decoder can be attention layers, convolutional neural networks, or any other type of encoder / decoder that permit to project tensor features from one dimension to another. Results of the prediction obtained with this module can be seen Fig. 5.

[0086] Figs. 5a and 5b show diagrams of results of the event probability prediction. In Fig. 5a, three input event frames are shown, nl-n3. The network is given four frames in input and predicts a single frame as output. Each frame has accumulated events for 20ms. In Fig. 5b, on the left, the ground truth is shown for frame n4. In the middle, the predicted frame is shown for n4, with a prediction threshold of 0.95. On the right, the output probability is shown for n4. The output probability is the actual probability of an event predicted by the network. The darker, the higher. Also, the color (light grey, dark grey, black) of these frames depict the polarity of the DVS events. Black events indicate that the same pixel generated both positive and negative event within the 20ms. Finally, the precision of the prediction can be evaluated by comparing the ground truth frame (on the left) with the output probability (on the right). The “predicted frame” is simply depicting all pixels that have an event probability higher than 0.95.

[0087] For clarity, Fig. 6a depicts the input and output flow of the model presented above. Fig. 6a shows a schematic illustration of the dataflow from the point of view of the algorithm. Fig. 6a shows integration times of frames t+0 to t+3. Negative events 610 and positive events 620 are integrated to form the respective event frames. Using frames t+0 to t+3, frame t+4 is predicted, with the prediction including predicted negative events 615 and predicted positive events 625. In Fig. 6a, a single frame (t+4) is predicted. However, as shown in Fig. 6b, more than one frame can be predicted into the future. Fig. 6b shows a schematic illustration of the dataflow from point of view of the algorithm, where additional frames are predicted into the future, from t+4 to t+ 7. In experiments, it was shown that the model of Fig. 4 can be used to predict up to twelve frames into the future on highly predictable movements. However, predicting more frames in advance may slightly degrade the performance. If a certain threshold is surpassed (e.g., 12 frames), the performance decreases more severely. To improve the prediction, more successive frames may be given as ground truth during training. Additionally, or alternatively, the model may be trained to output multiple frames for the same point in time in the future, with each different time “branch” representing possible future outcomes. For example, in one branch, the human shown in Fig. 5a may move their hand in the previous direction, while, on another branch, the human may move its hand in the continued direction. During training, the loss is calculated on more frames.

[0088] In the present examples, it is mostly assumed that one or more frames are calculating starting from the next frame (frame at time / / ) following after the current frame (frame at time / ). However, in many cases, frames may be skipped, e.g., a single frame may be predicted at 2 or 4 frames into the future (e.g., at t+2 or t+4).

[0089] In the prediction module of Fig. 4, event frames are used. Such event frames can be generated (i.e., reconstructed) by integrating events over different time intervals (or different / variable modalities), and thus frame durations. Fig. 6c shows a schematic illustration of different frame durations. On the left, a shorter frame duration x 630 is shown. On the right, a longer frame duration 640 is shown.

[0090] However, the first module of Fig. 3 is not limited to the pipeline depicted in Fig. 4. Alternatively, a different pipeline may be used. Fig. 7 shows a schematic diagram of a pipeline for predicting greyscale frames from greyscale frames (instead of event frames, or with event frames represented as greyscale frames). This pipeline uses a simple ResNet architecture. Fig. 7 shows a schematic diagram of a pipeline for predicting image frames from image frames.

[0091] In the following, some examples are given with respect to the computer vision algorithm block (module 2). The second module / block of the system may include any computer vision algorithm. For example, the proposed concept is highly suitable for Visual Odometry, SLAM or Object detection. In some examples, the full system may even use multi-view prediction, for autonomous vehicle or AR / VR (Augmented Reality / Virtual Reality) applications for example.

[0092] Fig. 8 shows a schematic diagram of an example of a system overview of the proposed concept, with the system having a multi-view configuration. Compared to Fig. 3, two prediction modules 812, 815 are used to process two sets of visual data 811, 814 to generate predicted data, such as a probability distribution 813, 816. Again, the resulting data is then processed by one or more CV algorithms 821, 823, 825. A Feedback loop 830 is provided for the acquisition of the visual data, to improve the acquisition of the visual data based on the prediction.

[0093] In the following, some examples are given with respect to the feedback loop. For example, the feedback loop may act on any acquisition parameter for acquiring the visual data, such as device parameters (threshold, exposure time, ISO (sensitivity), etc.), or more advanced capabilities of modern sensors such as ADC precision, or region of interests. The Computer Vision algorithm deployed may be adapted to the parameter to be optimized, but such algorithms are often relatively fast to compute and many of them may be evaluated, potentially in parallel.

[0094] In some examples, it is possible to obtain a negative latency evaluation. For example, in the scenario shown in Fig. 2b, the latency between the CV evaluation for t+1 and the real acquisition at t+1, is negative, meaning that the (predicted) situation at t+1 is known before it happens. In some examples, however, the CV algorithm evaluation time is too long to obtain results before the acquisition time t+1. Even in this case, the latency is reduced with respect to the situation without prediction, as can be seen in Fig. 9.

[0095] Fig. 9 shows a time chart illustrating the improved latency in case the CV algorithm takes longer than acquisition of the frame at t+1. Fig. 9 shows the acquisition of a visual frame at t, followed by prediction of frame t+1. At time 910 the CV algorithm starts evaluation (before t+1), which lasts until time 920, which is after t+1, where the subsequent frame is captured. If the CV algorithm had used the actual frame from t+1, the evaluation would have ended at time 930, which is after t+2. Therefore, the latency can be reduced even in this case. In some examples, the retroaction (feedback loop) towards sensing parameters / configuration can happen before acquisition. It is therefore possible to adapt very precisely the acquisition parameter to the scene to improve the acquisition quality on specific part of the scene, and / or to acquire the minimum amount of information from the scene in order to, e.g., reduce energy consumption of the acquisition.

[0096] For example, the proposed concept may be used in applications such as AR / VR (and related products), autonomous vehicles / robots / drones, high speed and precise high acquisition (cinema, sport, others), phones, cars, or any objects requiring or having the functionality of movement detection (game controller, professional cameras, etc.), industrial (visual processing) pipelines, and / or sport-related products.

[0097] More details and aspects of the deep learning-based concept to perform computer vision tasks in the future are mentioned in connection with the proposed concept or one or more examples described above or below (e.g., Fig. la to lb). The deep learning-based concept to perform computer vision tasks in the future may comprise one or more additional optional features corresponding to one or more aspects of the proposed concept, or one or more examples described above or below.

[0098] In the following, some examples of the proposed concept are presented.

[0099] (1) An apparatus for processing visual event data, the apparatus comprising: an interface for obtaining the visual event data, the visual event data representing an occurrence of visual events in a two-dimensional grid; and processing circuitry to: process the visual event data using at least one machine-learning model, the at least one machine-learning model being trained to output a prediction of an occurrence of visual events in the two-dimensional grid in the future based on the visual event data; and process the output of the machine-learning model using a computer vision algorithm. (2) The apparatus according to (1), wherein the output of the at least one machine-learning model represents a probability distribution of the visual events occurring within the two-dimensional grid.

[0100] (3) The apparatus according to (2), wherein the processing circuitry is to generate processed visual event data based on the output of the at least one machine-learning model, by including visual events having a probability that is at least a probability threshold in the processed visual event data, and to process the processed visual event data using the computer vision algorithm.

[0101] (4) The apparatus according to one of (2) or (3), wherein the processing circuitry is to process the output of the at least one machine-learning model representing the probability distribution of the visual events occurring within the two-dimensional grid using the computer vision algorithm.

[0102] (5) The apparatus according to one of (1) to (4), wherein the visual event data comprises a plurality of frames of visual event data, each frame of the visual event data comprising, for each cell of the two-dimensional grid, information on a count of visual events having occurred in the cell of the two-dimensional grid during a pre-defined timeinterval.

[0103] (6) The apparatus according to (5), wherein the at least one machine-learning model is trained to output frames of predicted visual event data, each frame of the predicted visual event data comprising, for each cell of the two-dimensional grid, information on a probability distribution of visual events having occurred in the cell of the two- dimensional grid during a pre-defined time interval in the future.

[0104] (7) The apparatus according to one of (1) to (4), wherein the visual event data comprises a sequence of visual events having occurred in the two-dimensional grid, wherein the at least one machine-learning model is trained to output a probability distribution of a sequence of visual events occurring in the two-dimensional grid in the future.

[0105] (8) The apparatus according to one of (1) to (7), wherein the interface circuitry is to obtain the visual event data from an event-based sensor, and wherein the processing circuitry is to determine one or more acquisition parameters for acquiring visual event data based on an output of the computer vision algorithm, and to control the acquisition of subsequent visual event data by the event-based sensor based on the one or more acquisition parameters.

[0106] (9) The apparatus according to one of (1) to (8), wherein the interface circuitry is to obtain the visual event data from one of an event-based vision sensor and a single photon avalanche diode-based sensor.

[0107] (10) The apparatus according to one of (1) to (9), wherein the at least one machinelearning model is based on a transformer network or a network that contains an attention mechanism as in a transformer network.

[0108] (11) The apparatus according to (10), wherein the at least one machine-learning model comprises an encoding component, a transformer network component, and a decoding component.

[0109] (12) The apparatus according to one of (1) to (11), wherein the computer vision algorithm is implemented by a second machine-learning model.

[0110] (13) The apparatus according to one of (1) to (12), wherein the computer vision algorithm is one of an object detection algorithm, an object tracking algorithm and a visual odometry algorithm.

[0111] (14) The apparatus according to one of (1) to (13), wherein the processing circuitry is to compare an output of the at least one machine-learning model representing a prediction of an occurrence of visual events in the two-dimensional grid at a point of time or time interval with visual event data of a corresponding point of time or interval of time, and to calculate a divergence between the prediction and the visual event data.

[0112] (15) The apparatus according to (13), wherein the processing circuitry is to invalidate an output of the computer vision algorithm if the divergence is larger than a threshold value. (16) A system comprising the apparatus for processing visual event data according to one of (1) to (15) and an event-based sensor for providing the visual event data.

[0113] (17) A method for processing visual event data, the method comprising: obtaining the visual event data, the visual event data representing an occurrence of visual events in a two-dimensional grid; processing the visual event data using at least one machine-learning model, the at least one machine-learning model being trained to output a prediction of an occurrence of visual events in the two-dimensional grid in the future based on the visual event data; and processing the output of the machine-learning model using a computer vision algorithm.

[0114] (18) A non-transitory machine-readable storage medium including program code, when executed, to cause a machine to perform the method of (17).

[0115] (19) A computer program having a program code for performing the method of ( 17) when the computer program is executed on a computer, a processor, or a programmable hardware component.

[0116] 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.

[0117] 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, processor-executable 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),system-on-a-chip (SoCs) systems, System in Package (SiP) systems or 3D stacked processor systems programmed to execute the steps of the methods described above.

[0118] 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.

[0119] 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.

[0120] 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 subject 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

ClaimsWhat is claimed is:

1. An apparatus for processing visual event data, the apparatus comprising: an interface for obtaining the visual event data, the visual event data representing an occurrence of visual events in a two-dimensional grid; and processing circuitry to: process the visual event data using at least one machine-learning model, the at least one machine-learning model being trained to output a prediction of an occurrence of visual events in the two-dimensional grid in the future based on the visual event data; and process the output of the machine-learning model using a computer vision algorithm.

2. The apparatus according to claim 1, wherein the output of the at least one machinelearning model represents a probability distribution of the visual events occurring within the two-dimensional grid.

3. The apparatus according to claim 2, wherein the processing circuitry is to generate processed visual event data based on the output of the at least one machine-learning model, by including visual events having a probability that is at least a probability threshold in the processed visual event data, and to process the processed visual event data using the computer vision algorithm.

4. The apparatus according to claim 2, wherein the processing circuitry is to process the output of the at least one machine-learning model representing the probability distribution of the visual events occurring within the two-dimensional grid using the computer vision algorithm.

5. The apparatus according to claim 1, wherein the visual event data comprises a plurality of frames of visual event data, each frame of the visual event data comprising, for eachcell of the two-dimensional grid, information on a count of visual events having occurred in the cell of the two-dimensional grid during a pre-defined time-interval.

6. The apparatus according to claim 5, wherein the at least one machine-learning model is trained to output frames of predicted visual event data, each frame of the predicted visual event data comprising, for each cell of the two-dimensional grid, information on a probability distribution of visual events having occurred in the cell of the two- dimensional grid during a pre-defined time interval in the future.

7. The apparatus according to claim 1, wherein the visual event data comprises a sequence of visual events having occurred in the two-dimensional grid, wherein the at least one machine-learning model is trained to output a probability distribution of a sequence of visual events occurring in the two-dimensional grid in the future.

8. The apparatus according to claim 1, wherein the interface circuitry is to obtain the visual event data from an event-based sensor, and wherein the processing circuitry is to determine one or more acquisition parameters for acquiring visual event data based on an output of the computer vision algorithm, and to control the acquisition of subsequent visual event data by the event-based sensor based on the one or more acquisition parameters.

9. The apparatus according to claim 1, wherein the interface circuitry is to obtain the visual event data from one of an event-based vision sensor and a single photon avalanche diode-based sensor.

10. The apparatus according to claim 1, wherein the at least one machine-learning model is based on a transformer network or a network that contains an attention mechanism as in a transformer network.

11. The apparatus according to claim 10, wherein the at least one machine-learning model comprises an encoding component, a transformer network component, and a decoding component.

12. The apparatus according to claim 1, wherein the computer vision algorithm is implemented by a second machine-learning model.

13. The apparatus according to claim 1, wherein the computer vision algorithm is one of an object detection algorithm, an object tracking algorithm and a visual odometry algorithm.

14. The apparatus according to claim 1, wherein the processing circuitry is to compare an output of the at least one machine-learning model representing a prediction of an occurrence of visual events in the two-dimensional grid at a point of time or time interval with visual event data of a corresponding point of time or interval of time, and to calculate a divergence between the prediction and the visual event data.

15. The apparatus according to claim 14, wherein the processing circuitry is to invalidate an output of the computer vision algorithm if the divergence is larger than a threshold value.

16. A system comprising the apparatus for processing visual event data according to claim 1 and an event-based sensor for providing the visual event data.

17. A method for processing visual event data, the method comprising: obtaining the visual event data, the visual event data representing an occurrence of visual events in a two-dimensional grid; processing the visual event data using at least one machine-learning model, the at least one machine-learning model being trained to output a prediction of an occurrence of visual events in the two-dimensional grid in the future based on the visual event data; and processing the output of the machine-learning model using a computer vision algorithm.

18. A non-transitory machine-readable storage medium including program code, when executed, to cause a machine to perform the method of claim 17.

19. A computer program having a program code for performing the method of claim 17 when the computer program is executed on a computer, a processor, or a programmable hardware component.

Citation Information

Cited By

  • Optical fiber vibration threshold prediction method based on genetic algorithm

    CN120086709A

  • Visual model upgrading method, electronic equipment, storage medium and program product

    CN120371356A

  • System, event sensor, data processing device and method

    EP4808136A1

  • Next event and frame prediction system for live video

    US12445662B2

  • Next Event and Frame Prediction System for Live Video

    US20250063215A1