Abstract:
This application discloses a convolutional neural network-based image processing method and image processing apparatus in the artificial intelligence field. The method may include: receiving an input image; preprocessing the input image to obtain preprocessed image information; and performing convolution on the image information using a convolutional neural network, and outputting a convolution result. In embodiments of this application, the image processing apparatus may store primary convolution kernels of convolution layers, and before performing convolution using the convolution layers, generate secondary convolution kernels using the primary convolution kernels of the convolution layers.
Abstract:
A method, an apparatus and a terminal for reconstructing a three-dimensional object, where the method includes acquiring two-dimensional line drawing information, segmenting, according to the two-dimensional line drawing information and according to a degree of freedom, the two-dimensional line drawing to obtain at least one line sub-drawing, where the degree of freedom is a smallest quantity of vertices that need to be known for determining a spatial location of the three-dimensional object that includes planes, reconstructing a three-dimensional sub-object according to the line sub-drawing, and combining all three-dimensional sub-objects to obtain the three-dimensional object, and hence, the three-dimensional object can be automatically reconstructed according to two-dimensional line drawing information.
Abstract:
A video classification method and apparatus relate to the field of electronic and information technologies, so that precision of video classification can be improved. The method includes: segmenting a video in a sample video library according to a time sequence, to obtain a segmentation result, and generating a motion atom set; generating, by using the motion atom set and the segmentation result, a motion phrase set that can indicate a complex motion pattern, and generating a descriptive vector, based on the motion phrase set, of the video in the sample video library; and determining, by using the descriptive vector, a to-be-detected video whose category is the same as that of the video in the sample video library. The method is applicable to a scenario of video classification.
Abstract:
This application relates to an image recognition technology in the field of computer vision in the field of artificial intelligence, and provides an image classification method and apparatus. The method includes: obtaining an input feature map of a to-be-processed image; performing convolution processing on the input feature map based on M convolution kernels of a neural network, to obtain a candidate output feature map of M channels, where M is a positive integer; performing matrix transformation on the M channels of the candidate output feature map based on N matrices, to obtain an output feature map of N channels, where a quantity of channels of each of the N matrices is less than M, N is greater than M, and N is a positive integer; and classify the to-be-processed image based on the output feature map, to obtain a classification result of the to-be-processed image.
Abstract:
The present invention provides a method and an apparatus for determining an identity identifier of a face in a face image, and a terminal. The method includes: obtaining an original feature vector of a face image; selecting k candidate vectors from a face image database; selecting a matching vector of the original feature vector from the k candidate vectors; and determining, an identity identifier that is of the matching vector. In embodiments of the present invention, a face image database stores a medium-level feature vector formed by means of mutual interaction between a low-level face feature vector and autocorrelation and cross-correlation submatrices in a joint Bayesian probability matrix. The medium-level feature vector includes information about mutual interaction between the face feature vector and the autocorrelation and cross-correlation submatrices in the joint Bayesian probability matrix, so that efficiency and accuracy of facial recognition can be improved.
Abstract:
A method, an apparatus and a terminal for reconstructing a three-dimensional object, where the method includes acquiring two-dimensional line drawing information, segmenting, according to the two-dimensional line drawing information and according to a degree of freedom, the two-dimensional line drawing to obtain at least one line sub-drawing, where the degree of freedom is a smallest quantity of vertices that need to be known for determining a spatial location of the three-dimensional object that includes planes, reconstructing a three-dimensional sub-object according to the line sub-drawing, and combining all three-dimensional sub-objects to obtain the three-dimensional object, and hence, the three-dimensional object can be automatically reconstructed according to two-dimensional line drawing information.
Abstract:
The present application discloses an image generation method, a neural network compression method, and a related apparatus and device in the field of artificial intelligence. The image generation method includes: inputting a first matrix into an initial image generator to obtain a generated image; inputting the generated image into a preset discriminator to obtain a determining result, where the preset discriminator is obtained through training based on a real image and a category corresponding to the real image; updating the initial image generator based on the determining result to obtain a target image generator; and further inputting a second matrix into the target image generator to obtain a sample image. Further, a neural network compression method is disclosed, to compress the preset discriminator based on the sample image obtained by using the foregoing image generation method.
Abstract:
A neural network training method in the artificial intelligence field includes: inputting training data into a neural network; determining a first input space of a second target layer in the neural network based on a first output space of a first target layer in the neural network; and inputting a feature vector in the first input space into the second target layer, where a capability of fitting random noise by the neural network when the feature vector in the first input space is input into the second target layer is lower than a capability of fitting the random noise by using an output space that is in the neural network and that exists when a feature vector in the first output space is input into the second target layer. This application helps avoid an overfitting phenomenon that occurs when the neural network processes an image, text, or speech.
Abstract:
An image processing method and apparatus are disclosed. The method includes obtaining a two-dimensional target face image, receiving an identification curve marked by a user in the target face image, locating a facial contour curve of a face from the target face image according to the identification curve and by using an image segmentation technology, determining a three-dimensional posture and a feature point position of the face in the target face image, and constructing a three-dimensional shape of the face in the target face image according to the facial contour curve, the three-dimensional posture, and the feature point position of the face in the target face image by using a preset empirical model of a three-dimensional face shape and a target function matching the empirical model of the three-dimensional face shape.
Abstract:
A method and an apparatus for generating a facial feature verification model. The method includes acquiring N input facial images, performing feature extraction on the N input facial images, to obtain an original feature representation of each facial image, and forming a face sample library, for samples of each person with an independent identity, obtaining an intrinsic representation of each group of face samples in at least two groups of face samples, training a training sample set of the intrinsic representation, to obtain a Bayesian model of the intrinsic representation, and obtaining a facial feature verification model according to a preset model mapping relationship and the Bayesian model of the intrinsic representation. In the method and apparatus for generating a facial feature verification model in the embodiments of the present disclosure, complexity is low and a calculation amount is small.