Image processing method and device
An image processing and image technology, applied in the field of image processing, can solve the problems of high implementation time complexity and incapability of real-time processing by terminals, and achieve the effect of reducing computational complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] In order to solve the technical problem in the prior art that the implementation time complexity is relatively high and real-time processing cannot be performed at the terminal, an embodiment of the present disclosure provides an image processing method. Such as figure 1 As shown, the image processing method mainly includes the following steps S11 to S13.
[0043] Step S11: Acquire the first image to be processed, and identify the text area included in the first image.
[0044] Wherein, the first image is an image containing text content (for example, lyrics, lines), that is, a text image.
[0045] Specifically, it may be a video image acquired in real time, for example, a live video in a short video application, or a video image or picture pre-stored in the terminal. Wherein, the terminal may be a mobile terminal, such as a smart phone or a tablet computer, or may be a fixed terminal, such as a desktop computer.
[0046] Step S12: Process the text area into at least...
Embodiment 2
[0064] In order to solve the technical problem of high time complexity in the prior art and the inability to perform real-time processing at the terminal, an embodiment of the present disclosure provides an image processing method. This embodiment is a specific embodiment, which is used to implement the technical The program is explained. Such as Figure 2a As shown, the image processing method mainly includes the following steps S21 to S27.
[0065] Step S21: Acquiring the first image to be processed, and identifying the text area included in the first image.
[0066] Specifically, such as Figure 2b Shown is an example of the first image, in which the text areas are arranged in rows.
[0067] Step S22: reducing the first image by a preset multiple to obtain a second image.
[0068] Such as Figure 2c Shown is an example of the second image obtained.
[0069] The purpose of this step reduction is to reduce the size of the image to speed up the algorithm.
[0070] Step ...
Embodiment 3
[0085] In order to solve the technical problem in the prior art that the implementation time complexity is relatively high and real-time processing cannot be performed at the terminal, an embodiment of the present disclosure provides an image processing device. The device can execute the steps in the image processing method embodiment described in the first embodiment above. Such as image 3 As shown, the device mainly includes: a character recognition module 31, a line segment processing module 32 and a word processing module 33; wherein,
[0086] The text recognition module 31 is used to obtain the first image to be processed, and identify the text area contained in the first image;
[0087] The line segment processing module 32 is used to process the text area into at least one continuous line segment; wherein, a line or a column of text corresponds to a line segment respectively;
[0088] The text processing module 33 is configured to process the text area according to t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


