Abstract:
An image processing apparatus includes a generation unit that generates feature data based on an image, classification units that classify a predetermined pattern by referring to the feature data, and a control unit that controls operations of the classification units. The classification units include a first classification unit and a second classification unit, processing results of which do not depend on each other, and a third classification unit. The first and the second classification units are operated in parallel. When either of the first and the second classification units determines that a classification condition is not satisfied, the control unit stops operations of all of the classification units. When both the first and the second classification units determine the classification condition is satisfied, the control unit operates the third classification unit by using classification results of the first and the second classification units.
Abstract:
In an information processing apparatus that includes sequences of weak classifiers which are logically cascade-connected in each sequence and the sequences respectively correspond to categories of an object and in which the weak classifiers are grouped into at least a first group and a second group in the order of connection, classification processing by weak classifiers belonging to the first group of respective categories is performed by pipeline processing. Based on the processing results of the weak classifiers belonging to the first group of the respective categories, categories in which classification processing by weak classifiers belonging to the second group is to be performed are decided out of the categories. The classification processing by the weak classifiers respectively corresponding to the decided categories and belonging to the second group is performed by pipeline processing.
Abstract:
An image processing method includes, calculating a partial distance between a pixel of interest in an image and each of reference pixels, sequentially calculating a total distance between the pixel of interest and each of the plurality of the reference pixels based on the partial distance, determining a shortest total distance among the total distances that have been already calculated, in the sequential calculation of the total distance, and categorizing the pixel of interest based on the reference pixel corresponding to the shortest total distance, wherein, if the partial distance between the pixel of interest and a specific one of the reference pixels to be calculated is equal to or greater than the shortest total distance in the sequential calculation of the total distance, the calculation of the total distance between the pixel of interest and the specific one of the reference pixels to be calculated is omitted.
Abstract:
A method and an apparatus for optimizing and applying a multilayer neural network model, and a storage medium are provided. The optimization method includes, dividing out at least one sub-structure from the multilayer neural network model to be optimized, wherein a tail layer of the divided sub-structure is a quantization layer, and transferring operation parameters in layers other than the quantization layer to the quantization layer for each of the divided sub-structures and updating quantization threshold parameters in the quantization layer based on the transferred operation parameters. When a multilayer neural network model optimized based on the optimization method is operated, the necessary processor resources can be reduced.
Abstract:
A method for generating a multilayer neural network including acquiring a multilayer neural network, wherein the multilayer neural network includes at least convolutional layers and quantization layers; generating, for each of the quantization layers in the multilayer neural network, quantization threshold parameters based on a quantization bit parameter and a learnable quantization interval parameter in the quantization layer; and updating the multilayer neural network to obtain a fixed-point neural network based on the generated quantization threshold parameters and operation parameters for each layer in the multilayer neural network.
Abstract:
A method of generating a quantized neural network comprises: determining, based on a floating-point weight in a neural network to be quantized, networks which correspond to the floating-point weights and are used for directly outputting quantized weights, respectively; quantizing, using the determined network, the floating-point weight corresponding to the network to obtain a quantized neural network; updating, based on a loss function value obtained via the quantized neural network, the determined network, the floating-point weight and the quantized weight in the quantized neural network.
Abstract:
A training and application method, apparatus, system and storage medium of a neural network model is provided. The training method comprises: determining a constraint threshold range according to the number of training iterations and a calculation accuracy of the neural network model, and constraining a gradient of a weight to be within the constraint threshold range, so that when the gradient of a low-accuracy weight is distorted due to a quantization error, the distortion of the gradient is corrected by the constraint of the gradient, thereby making the trained network model achieve the expected performance.
Abstract:
Acquiring a current image from an inputted video and a background model which comprises a background image and foreground/background classification information of visual elements; classifying the visual elements in the current image as foreground or background; determining similarity measures between the current image and groups in the background model, wherein visual elements in the current image are the visual elements in the current image which are classified as the foreground, wherein visual elements in the groups in the background model are the visual elements whose classification information is the foreground, and wherein the visual elements in the groups in the background model are the visual elements which neighbour to corresponding portions of the visual elements in the groups in the current image; and identifying whether the visual elements in the current image which are classified as the foreground are falsely classified or not according to the determined similarity measures.
Abstract:
An image processing apparatus comprising, a first processing unit configured to process a first image stored in a first memory and output a first processing result in a first size, a conversion unit configured to, if the first size matches a second size, output the first processing result, and if the first size is different from the second size, convert the first processing result into the second size and output a result of the conversion, and a second processing unit configured to process the first processing result outputted from the conversion unit and a second image of the second size stored in a second memory, and to store a second processing result in the second memory in the second size.
Abstract:
There is provided with a data processing apparatus for detecting an object from an image using a hierarchical neural network. The data processing apparatus has parallel first and second neural networks. An obtaining unit obtains a table which defines different first and second portions. An operation unit performs calculation of the feature data of a third portion based on feature data of the first portion identified using the table and on a weighting parameter between first and second layers of the first neural network, and calculation of feature data of a fourth portion based on feature data of the second portion identified using the table and on a weighting parameter between the first and second layers of the second neural network.