Abstract:
A method, system, and neural network for identifying direction of a document where the method comprises: extracting a text line in the document; calculating a first normal direction result indicative of the text line probably being in a normal direction and a first upside-down direction result indicative of the text line probably being in a direction upside-down with respect to the normal direction; calculating a second normal direction result indicative of the text line after being rotated by 180 degrees probably being in the normal direction and a second upside-down direction result indicative of the text line after being rotated by 180 degrees probably being in the direction upside-down with respect to the normal direction; and determining the direction of the document according to the first normal direction result, the first upside-down direction result, the second normal direction result and the second upside-down direction result.
Abstract:
A method and apparatus for removing black eyepits and sunglasses in first actual scenario data having an image containing a face acquired from an actual scenario, to obtain second actual scenario data; counting a proportion of wearing glasses in the second actual scenario data; dividing original training data composed of an image containing a face into wearing-glasses and not-wearing-glasses first and second training data, where a proportion of wearing glasses in the original training data is lower than a proportion in the second actual scenario data; generating wearing-glasses third training data based on glasses data and the second training data; generating fourth training data in which a proportion of wearing glasses is equal to the proportion of wearing glasses in the second actual scenario data, based on the third training data and the original training data; and training a face recognition model based on the fourth training data.
Abstract:
An image processing apparatus and an image processing method where the apparatus includes: a seam line acquisitor configured to acquire a seam line of a first image in images to be stitched; a segmenter configured to segment, in an extension direction of the seam line of the first image, a center region including the seam line in the first image into blocks, where an intersection point of a block boundary with the seam line of the first image is located in a strong gradient region; a matcher configured to perform keypoint matching based on the intersection point to find a coordinate point corresponding to the intersection point in a position region corresponding to the seam line in a second image in the images to be stitched; and a fuser configured to fuse the first image with the second image based on the intersection point and the coordinate point.
Abstract:
The present invention relates to a convolutional-neural-network-based classifier, a classifying method by using a convolutional-neural-network-based classifier and a method for training the convolutional-neural-network-based classifier. The convolutional-neural-network-based classifier comprises: a plurality of feature map layers, at least one feature map in at least one of the plurality of feature map layers being divided into a plurality of regions; and a plurality of convolutional templates corresponding to the plurality of regions respectively, each of the convolutional templates being used for obtaining a response value of a neuron in the corresponding region.
Abstract:
An image processing device includes: an image acquiring unit for acquiring an image containing pixels; a picture searching unit for searching for a picture region in the image; a background acquiring unit for performing a background connected region acquiring operation on a non-picture region of the image in which the picture region is not included and the picture region respectively, to obtain a non-picture background connected region and a picture background connected region respectively; a foreground acquiring unit for removing the non-picture background connected region and the picture background connected region from the non-picture region and the picture region respectively, to obtain a non-picture foreground region of the non-picture region and a picture foreground region of the picture region respectively; and a merging unit for merging the non-picture foreground region of the non-picture region and the picture foreground region of the picture region to obtain an ultimate image foreground region.
Abstract:
A method and a device for extracting a distorted straight line from an image. The method includes performing a line segment detection process on the image; for each line segment detected, finding adjacent line segments having a low non-collinear degree with a current line segment, so as to combine them together to obtain one or more line segment combinations; and extracting the distorted straight line according to the line segment combination.
Abstract:
An apparatus for and a method of processing a document image are provided. The apparatus comprises: an estimation unit for estimating a brightness image from the document image; and a correction unit for correcting the brightness image by using brightness values of at least a part of edge pixels which lie on or in the adjacency of edges of the brightness image in parallel with x direction, wherein directions of neighboring two edges of the brightness image are set to be x, y directions respectively, and wherein compared with x direction, brightness values of pixels of the brightness image change relatively slightly or do not change along y direction; wherein the correction unit performs interpolation on a straight line extending along y direction by using the brightness values of the edge pixels on the straight line, thereby correcting brightness values of other pixels on the straight line.
Abstract:
The disclosure provides an image processing device, image processing method, scanner and storage medium. The image processing device is used for tracing a boundary of an object image in an image, the boundary being continuous and the rate of change in slope between adjacent points on the boundary being slow. The image processing device includes: a boundary estimation unit, adapted to estimate the location of the boundary of the object image; an interfering gradient processing unit, adapted to process an interfering gradient near the estimated boundary, so as to reduce the interfering gradient or remove the interfering gradient from the image; and a boundary tracing unit, adapted to trace the boundary in the image having the interfering gradient processed. By using the technique of the disclosure, the accuracy of tracing a boundary of an image is improved significantly.
Abstract:
The present invention provides an image processing device, an image processing method and an apparatus so as to improve at least the precision of extracting document corners in image processing performed on an image captured for a document. The image processing device includes: an extracting unit for extracting boundaries of a document in a first direction and roughly-detected document corners, where the first direction is a horizontal direction or a vertical direction of the document image; a determining unit for determining candidate page corners on the boundaries in the first direction around the roughly-detected document corners; and a selecting unit for determining document corners of the document among the candidate page corners. With the foregoing technology of the invention, more precise document corners can be extracted, a better effect of image processing can be obtained, and applications in the field of image processing are possible.
Abstract:
Embodiments of the present invention provide a device and method for correcting a document image and a scanner. Wherein the device includes: an extracting unit configured to extract boundaries in a first direction of the document image and extract lines in the first direction according to a content of the document image, a filtering unit configured to filter the extracted lines, a constructing unit configured to extend and adjust the filtered lines and construct a correcting mesh, and a correcting unit configured to perform correcting according to the correcting mesh. An accurate correcting model can be constructed by taking document boundaries and document contents into account in constructing the correcting model and constructing a correcting mesh after filtering, extending and adjusting the extracted lines, thereby effectively eliminating distortion in the document image.