Abstract:
An encoding method includes: encoding transform coefficients of a transform coefficient block according to a predetermined scan order, and encoding a set number of transform coefficients in each group until a last group of the transform coefficient block is encoded; storing an obtained map of non-zero transform coefficients, absolute values of transform coefficients, and positive and negative signs of non-zero transform coefficients; when the last group is being encoded, encoding the stored map of non-zero transform coefficients and the map of non-zero transform coefficients encoded in the last group into a bit stream; and encoding the stored absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients and the absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients encoded in the last group into the bit stream.
Abstract:
A scene recognition method and apparatus are provided. The method includes obtaining multiple local detectors by training a training image set, where one local detector in the multiple local detectors corresponds to one local area of a type of target, and the type of target includes at least two local areas; detecting a to-be-recognized scene by using the multiple local detectors, and acquiring a feature, which is based on a local area of the target, of the to-be-recognized scene; and recognizing the to-be-recognized scene according to the feature, which is based on the local area of the target, of the to-be-recognized scene.
Abstract:
A connector including a female pin and a male pin is disclosed, wherein the female pin includes a first elastic sheet seat and an elastic sheet, the first elastic sheet seat is provided with a first seat hole, a pin bar extending-out hole, and a guide transition hole communicated with the first seat hole and the pin bar extending-out hole. The elastic sheet is assembled inside the first seat hole. The male pin includes a base and a pin bar fastened to the base. The pin bar includes a large-diameter part and a small-diameter part, wherein the large-diameter part is used to fit a clamping portion of the elastic sheet, and wherein the small-diameter part is used to fit the pin bar extending-out hole. A guide transition hole and a pin bar extending-out hole of a first elastic sheet seat achieve a guiding function for insertion of a pin bar.
Abstract:
An image processing method and an apparatus are provided. The image processing method includes receiving information of starting a first camera and a second camera simultaneously to perform photographing; using the first camera to photograph and obtain a first image, and using the second camera to photograph and obtain a second image; and displaying the first image and the second image simultaneously. In the embodiments of the present invention, two cameras are started simultaneously to perform bidirectional photographing, and the images taken by both cameras are displayed simultaneously, so that front and back scene images are captured simultaneously and a panoramic image is obtained.
Abstract:
A scene recognition method and apparatus are provided. The method includes obtaining multiple local detectors by training a training image set, where one local detector in the multiple local detectors corresponds to one local area of a type of target, and the type of target includes at least two local areas; detecting a to-be-recognized scene by using the multiple local detectors, and acquiring a feature, which is based on a local area of the target, of the to-be-recognized scene; and recognizing the to-be-recognized scene according to the feature, which is based on the local area of the target, of the to-be-recognized scene.
Abstract:
An embodiment provides a multimedia question answering system and method. The system includes a question input unit, configured to receive a text question input by a user, a parsing unit, configured to acquire feature information and a semantic category of the text question, a category determining unit, configured to determine whether the semantic category exists in a preset multimedia database. The system further includes a similarity acquiring unit, configured to, when a determination result is yes, match the feature information with all text features corresponding to the semantic category in the database, so as to acquire a similarity between each text feature and the feature information. The system also includes a multimedia answer output unit, configured to acquire a corresponding text feature when the similarity is greater than a preset threshold, and output multimedia answer information corresponding to the text feature and prestored in the multimedia database.
Abstract:
Disclosure of the present invention provide a method and an apparatus for processing a video stream. The method includes: acquiring a request message from a terminal, where the request message carries address information of multiple sub video screens, according to the address information, acquiring multiple substreams corresponding to the multiple sub video screens in a one-to-one manner, merging the multiple substreams into a single stream, and generating an indication message used to indicate a picture parameter of the single stream, and sending the single stream and the indication message to the terminal, so that the terminal decodes the single stream and displays decoded multiple sub video screens according to the indication message.
Abstract:
An encoding method includes: encoding transform coefficients of a transform coefficient block according to a predetermined scan order, and encoding a set number of transform coefficients in each group until a last group of the transform coefficient block is encoded; storing an obtained map of non-zero transform coefficients, absolute values of transform coefficients, and positive and negative signs of non-zero transform coefficients; when the last group is being encoded, encoding the stored map of non-zero transform coefficients and the map of non-zero transform coefficients encoded in the last group into a bit stream; and encoding the stored absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients and the absolute values of transform coefficients and positive and negative signs of non-zero transform coefficients encoded in the last group into the bit stream.
Abstract:
Embodiments of this application provide a receive end apparatus. The receive end apparatus includes a trans-impedance amplifier TIA, a control apparatus, and a first storage module. The control apparatus is configured to receive a signal transmit identity of a first signal, and determine, based on a correspondence that is between a signal transmit identity and a gain and that is stored in the first storage module, a first gain corresponding to the signal transmit identity of the first signal, where the signal transmit identity indicates a transmit end apparatus of a signal or a channel for receiving the signal. The TIA is configured to obtain the first gain from the control apparatus, and after receiving the first signal, amplify the first signal by using the first gain.
Abstract:
This application relates to the field of artificial intelligence, and provides an identity authentication method. The method includes: obtaining a biological feature extracted from a first registration object in a registration scenario; obtaining a biological feature extracted from a first recognition object in a recognition scenario; calculating a likelihood score based on the biological feature of the first registration object and the biological feature of the first recognition object; and determining, based on the likelihood score, whether an identity of the first recognition object is consistent with an identity of the first registration object. The likelihood score includes a posterior probability part and a marginal probability part.