Image processing method and device

By dividing or combining images according to display parameters in image processing, the problem of difficulty in reading text content when displaying images is solved, suitable display of text content is achieved, and user experience is improved.

CN113849111BActive Publication Date: 2024-10-22LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111137661.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-27
Publication Date
2024-10-22
Estimated Expiration
2041-09-27

AI Technical Summary

Technical Problem

The existing technology fails to effectively distinguish images and text content when displaying images, making the text difficult to read when zooming or rotating. In particular, when the image is enlarged or reduced, the text may not be fully displayed or may be too small to be recognized.

Method used

By obtaining an image containing text, determine the target display area and display parameters, divide or combine the image according to these parameters to form sub-images suitable for display, and ensure that the text content is appropriately arranged in the target area so that users can read comfortably.

Benefits of technology

On the basis of retaining the original text style, the text content is displayed in a suitable reading manner, which improves the user's reading experience and avoids reading obstacles caused by changes in size or position of the text.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113849111B_ABST
    Figure CN113849111B_ABST
Patent Text Reader

Abstract

The present application discloses an image processing method and device, which includes: obtaining a first image containing text content; determining a target display area of ​​the first image and display parameters of the target display area; determining multiple second images according to the display parameters; wherein the second image is formed by the first image, and the second image contains at least one text; arranging multiple second images in the target display area to display the text content through the target display area. The method processes an image containing text content, and on the basis of retaining the original text style, can display the text content in a display method suitable for reading, so that users can read the text content comfortably and smoothly, improving the user's reading experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to an image processing method and device. Background Art

[0002] With the development of electronic devices and image processing and other related technologies, the display methods of electronic devices for images are becoming more flexible and diversified. For example, for images displayed on smartphones, users can zoom in or out by sliding the touch screen. When the phone is rotated, the image will also rotate and the image size will be adjusted adaptively.

[0003] When an image contains text, the text is actually displayed in the form of an image. The image and the text contained in the image are displayed in the same display mode. When the display mode of the image changes, the display mode of the text in the image will also change synchronously. For example, when the image is scaled, the text will also scale synchronously, and when the image is rotated, the text will also rotate synchronously.

[0004] However, this method of displaying images in the same way without distinguishing the content may cause obstacles for users to read text in some cases. For example, when the image is enlarged to a size larger than the display screen, the text may not be fully displayed on the display screen, and the user may need to drag the image to view all the text. Alternatively, when the image is reduced to a size that can be displayed in full screen, the text content may not be recognized due to the small size of the text. Summary of the invention

[0005] The present application provides an image processing method and device. The technical solutions adopted in the embodiments of the present application are as follows:

[0006] The first aspect of the present application provides an image processing method, comprising:

[0007] Acquire a first image containing text content;

[0008] Determining a target display area of ​​the first image and display parameters of the target display area;

[0009] Determine a plurality of second images according to the display parameters; wherein the second images are formed by the first images, and the second images contain at least one character;

[0010] Arrange a plurality of the second images in the target display area to display the text content through the target display area.

[0011] In some embodiments, determining a plurality of second images according to the display parameters includes:

[0012] The first image is divided into a plurality of the second images according to the display parameter.

[0013] In some embodiments, acquiring the first image containing text content includes:

[0014] Performing text line detection on the third image containing text content to obtain a text line image containing the text line;

[0015] Correspondingly, dividing the first image into a plurality of the second images according to the display parameter includes:

[0016] The text line image is divided into a plurality of second images according to the display parameters.

[0017] In some embodiments, determining a plurality of second images according to the display parameters includes:

[0018] According to the display parameters, a plurality of the first images are combined to form the second image.

[0019] In some embodiments, acquiring the first image containing text content includes:

[0020] Detecting each character in the third image containing text content to obtain a single-character image containing a single character;

[0021] Performing text recognition on the single-word image to obtain text information corresponding to the text content.

[0022] In some embodiments, in some embodiments, combining a plurality of the first images to form the second image according to the display parameter comprises:

[0023] According to the display parameters and the text information, a plurality of the single-word images are combined to form the second image.

[0024] In some embodiments, determining a plurality of second images according to the display parameters includes:

[0025] Determining an arrangement scheme of the first image in the target display area according to the display parameter and the image parameter of the first image;

[0026] According to the arrangement scheme, the first image is processed to form a plurality of the second images.

[0027] In some embodiments, determining a target display area of ​​the first image and display parameters of the target display area includes:

[0028] The target display area is determined in an application program interface of a target application, and display parameters of the target display area are determined.

[0029] In some embodiments, determining the target display area in the application program interface of the target application includes:

[0030] The target display area is determined in the application program interface according to the current display content of the application program interface.

[0031] A second aspect of the present application provides an image processing device, comprising:

[0032] An acquisition module, used for acquiring a first image containing text content;

[0033] A first determining module, used to determine a target display area of ​​the first image and display parameters of the target display area;

[0034] A second determination module, configured to determine a plurality of second images according to the display parameters; wherein the second images are formed by the first images, and the second images contain at least one character;

[0035] An arrangement module is used to arrange the plurality of second images in the target display area so as to display the text content through the target display area.

[0036] The image processing method of the embodiment of the present application obtains a first image containing text content, determines a target display area of ​​the first image and display parameters of the target display area, processes the first image according to the display parameters, forms a plurality of second images adapted to the target display area, arranges the plurality of second images in the target display area, and displays the text content through the target display area. In this way, the text content can be displayed in a manner suitable for reading while retaining the original text style, so that the user can read the text content comfortably and smoothly, which is beneficial to improving the user's reading experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a flowchart of an image processing method according to a first embodiment of the present application;

[0038] Figures 2 to 4 A schematic diagram of a scenario of an image processing method according to a first embodiment of the present application;

[0039] Figures 5 to 7 A schematic diagram of another scenario of the image processing method of the first embodiment of the present application;

[0040] Figure 8 This is a flowchart of step S101 of the image processing method of the first embodiment of the present application;

[0041] Fig. 9 A schematic diagram of another scenario of the image processing method of the first embodiment of the present application;

[0042] Fig.10 This is a structural block diagram of an image processing device according to a second embodiment of the present application;

[0043] Fig.11 This is a structural block diagram of an electronic device according to the third embodiment of the present application. DETAILED DESCRIPTION

[0044] Various aspects and features of the present application are described herein with reference to the accompanying drawings.

[0045] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.

[0046] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0047] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.

[0048] It should also be understood that, although the present application has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the present application that have the features described in the claims and are therefore within the scope of protection defined thereby.

[0049] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.

[0050] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.

[0051] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.

[0052] The first embodiment of the present application provides an image processing method for processing an image containing text content. While retaining the original text style, the text content can be displayed in a manner suitable for reading, allowing users to read the text content comfortably and smoothly, thereby improving the user's reading experience.

[0053] Figure 1 This is a flowchart of the image processing method of the first embodiment of the present application, see Figure 1 As shown, the image processing method of the embodiment of the present application may specifically include the following steps:

[0054] S101, acquiring a first image containing text content.

[0055] The first image may be an image containing only text content, for example, the first image may be a screenshot of a text editor or a text reader. The first image may also contain, for example, a background image, a pattern or other image elements. In a specific implementation, one first image containing text content may be obtained, or multiple first images containing text content may be obtained.

[0056] In the initial state, the first image may be a separate image. For example, when the first image needs to be inserted into the application program interface of the target application, the first image is acquired. For another example, when a display operation is performed on the first image, the first image is acquired. For another example, during the display of the first image, the first image may be acquired in response to an operation instruction to adjust the display mode of the first image.

[0057] In the initial state, the first image may also be included in another image. For example, when the other image is displayed, the first image containing text content in the other image is obtained. Alternatively, when the display mode of the other image is adjusted, the first image containing text content in the other image is obtained.

[0058] S102: Determine a target display area of ​​the first image and display parameters of the target display area.

[0059] The target display area may be a display area where the text content in the first image is to be displayed, or may be a display area currently displaying the first image. The display parameters of the target display area may include parameters such as the size, resolution, brightness and contrast of the display area.

[0060] For example, an operation instruction may be obtained, the operation instruction being used to instruct to place the first image or another image containing the first image in a target display area for display; based on the operation instruction, the target display area indicated by the operation instruction may be determined, and display parameters of the target display area may be determined.

[0061] For another example, during the process of displaying the first image, if an operation instruction for adjusting the display mode of the first image is obtained, the target display area after the display mode of the first image is adjusted can be determined based on the operation instruction, and the display parameters of the target display area can be determined. For example, the size and resolution of the target display area can be determined.

[0062] S103, determining a plurality of second images according to the display parameters; wherein the second images are formed by the first images, and the second images contain at least one character.

[0063] In order to make the text content fit the target display area, the first image may be processed based on the display parameters of the target display area to obtain multiple second images, so as to achieve the purpose of combining or dividing the text content, so that the multiple second images can fit the target display area. For example, the image size of the second image is made to fit the display size of the target display area, or, based on the resolution and display size of the target display area, the text content contained in the second image can be suitable for viewing when it is displayed in the target display area.

[0064] In an optional embodiment, the arrangement scheme of the first image in the target display area can be determined based on the display parameters and the image parameters of the first image. For example, the arrangement scheme of the first image in the target display area is determined based on the size and resolution of the target display area and the size and resolution of the first image. The arrangement scheme actually represents the arrangement scheme of the text content in the first image. According to the arrangement scheme, the first image is processed to form a plurality of second images. For example, the first image is segmented or combined to form a plurality of second images.

[0065] S104, arranging the plurality of second images in a target display area to display the text content through the target display area.

[0066] Since the second image is compatible with the target display area, arranging multiple second images in the target display area can achieve the purpose of arranging the text content in the target display area in a manner suitable for viewing, so as to display the text content through the target display area. For example, arranging multiple second images in the application interface of the target application, through the application interface of the target application, the text content is displayed in a manner suitable for viewing. Optionally, on the basis of determining the arrangement scheme of the first image in the target display area, the multiple second images can be arranged in the target display area based on the arrangement scheme.

[0067] The image processing method of the embodiment of the present application obtains a first image containing text content, determines a target display area of ​​the first image and display parameters of the target display area, processes the first image according to the display parameters, forms a plurality of second images adapted to the target display area, arranges the plurality of second images in the target display area, and displays the text content through the target display area. In this way, the text content can be displayed in a manner suitable for reading while retaining the original text style, so that the user can read the text content comfortably and smoothly, which is beneficial to improving the user's reading experience.

[0068] In some embodiments, step S102, determining a target display area of ​​the first image and display parameters of the target display area, includes:

[0069] A target display area is determined in an application program interface of a target application, and display parameters of the target display area are determined.

[0070] The target application may be an application that is about to display the text content in the first image. Optionally, an operation instruction may be obtained, the operation instruction being used to instruct to display the first image through the target application, the target application may be determined according to the operation instruction, and then the interface parameters of the application program interface of the target application may be determined, and the target display area in the application program interface and the display parameters of the target display area may be determined according to the interface parameters.

[0071] For example, with Figure 2 As shown, when the user sends an operation instruction through the input device to instruct to insert the first image into the text editor, according to the operation instruction, the text editor can be determined as the target application, and the page margin parameters of the text editor can be determined. For example, the top, bottom, left and right margins of the text editor are 2.7 cm, 2.6 cm, 2.7 cm and 2 cm respectively. According to the page margin parameters of the text editor, the target display area is the middle area of ​​the application program interface of the text editor excluding the page margin area, as shown in FIG. Figure 2 shown.

[0072] The target application may also be an application currently displaying the first image. Optionally, when the image editor displays the first image, Figure 5 As shown, if the display mode of the first image is adjusted, for example, the first image is enlarged, as shown in Figure 6 As shown, the text content in the first image will be incompletely displayed, and the display mode of the text content in the first image needs to be adjusted so that the user can view the complete text content. At this time, the image editor is the target application, the application program interface of the target application is the application program interface of the image editor, and the target display area is the area in the image editor for displaying images, such as Figure 5 and Figure 6 shown.

[0073] In some embodiments, determining the target display area in the application program interface of the target application includes:

[0074] According to the current display content of the application program interface, a target display area is determined in the application program interface.

[0075] In the case where the current display content already exists in the application interface, the target display area can be determined in the application interface according to the current display content. Since the current display content already exists, there are two main ways to arrange the second image in the application interface. One is to arrange the current display content and the second image without overlapping each other. In this case, the target display area can be determined in the display area not occupied by the current display content in the application interface.

[0076] Another is that the second image can be superimposed on the currently displayed content. For this case, it is necessary to consider the visual effect after the second image is superimposed on the currently displayed content. The content type of the currently displayed content can be determined, and the target display area can be determined based on the content type of the currently displayed content. For example, in the case where there is a currently displayed image in the application interface, the element type of each image element in the currently displayed image can be determined, and the target display area can be determined based on the element type of the image element. For example, the area with a single background color in the currently displayed image can be determined as the target display area. In this way, when multiple second images are arranged in the target display area and superimposed on the currently displayed image, they can form a better display effect together.

[0077] It should be noted that the currently displayed image may be another image different from the first image, or may be the first image itself. For example, when the image editor displays the first image, when a zoom operation is performed on the first image, the display mode of the first image in the image viewer will change, and based on the display mode of the first image in the image viewer, a target display area may be determined in the image viewer; according to the display parameters of the target display area, multiple second images containing text content in the first image may be obtained; and the multiple second images may be superimposed on the first image after the display mode has changed.

[0078] It should also be noted that, in a specific implementation, the target display area is not limited to the area in the application interface, but may also be other areas, such as a display area on a specific display unit, or a picture area on a picture, etc.

[0079] In some embodiments, step S103, determining a plurality of second images according to the display parameters, may include:

[0080] The first image is divided into a plurality of second images according to the display parameter.

[0081] Optionally, the first image may be divided into a plurality of second images according to the display parameters of the target display area and the image parameters of the first image, so that the second images are adapted to the target display area. For example, the first image may be divided into a plurality of second images according to the size of the target display area, the size of the first image, and the size of a single text in the first image. In this way, when the divided plurality of second images are placed in the target display area, the text content contained in the second images can be displayed at a size suitable for viewing.

[0082] Taking the interactive scenario as an example, when the user sends a screenshot image containing text content to the interactive object, the screenshot image is the first image. The target display area is the window of the instant interactive program, and the display parameters of the window are determined. The arrangement scheme of the screenshot image can be determined according to the size and resolution of the window, as well as the size and resolution of the screenshot image, and the screenshot image can be divided into multiple second images according to the arrangement scheme. For example, when the screenshot image includes multiple text areas, a single text area can be divided into a second image, and then multiple text areas can be divided into multiple second images. In this way, when the second image composed of a single text area is displayed in the window, the size and resolution of the text content are suitable for viewing, and the interactive object can comfortably view the text content in the text area.

[0083] In an optional embodiment, step S101, obtaining a first image containing text content, may include:

[0084] Performing text line detection on the third image containing text content to obtain a text line image containing the text line;

[0085] Accordingly, according to the display parameters, the first image is divided into a plurality of second images, including:

[0086] The text line image is divided into a plurality of second images according to the display parameters.

[0087] That is, the first image may be a text line image contained in the third image, and the third image containing text content may be obtained, and text line detection may be performed on the third image to obtain a text line image containing text lines. According to the display parameters of the target display area, the text line image may be divided into a plurality of second images.

[0088] For example, the first image is a text line image, and the third image is a complete image including the text line image. When the image editor displays the third image, the text content in the third image is not displayed completely due to scaling. Figure 5 and Figure 6 At this time, the target display area is narrower, and the text line image is wider. The first image can be subjected to text line detection to obtain a text line image containing the text line, and the text line image can be divided into multiple segments to form multiple narrow text line images as the second image. Then, the multiple second images are arranged in the target display area, as shown in FIG. Figure 7 As shown, the text content in the first image can be displayed in an appropriate size and as a whole, making it easier for users to read.

[0089] In some embodiments, step S103, determining a plurality of second images according to the display parameters, includes:

[0090] According to the display parameters, a plurality of first images are combined to form a second image.

[0091] That is, in specific implementation, it is not limited to dividing the first image into multiple second images, but multiple first images can be combined to form a second image. For example, each first image contains less text and the size of the target display area is larger. In this case, multiple first images can be combined to form a second image. Then, the second images are arranged in the target display area so that the text content can be displayed as a whole, which is convenient for users to read.

[0092] Combining multiple first images to form a second image may be combining multiple first images into one image, or combining multiple first images in a fixed relative position relationship to form an image group. That is, the second image may be a single image, or may be an image group formed by combining multiple first images in a fixed relative position relationship.

[0093] Cooperate Figure 8 As shown, in some embodiments, step S101, obtaining a first image containing text content, includes:

[0094] Detecting each character in the third image containing text content to obtain a single-character image containing a single character;

[0095] Perform text recognition on single-word images to obtain text information corresponding to the text content;

[0096] Accordingly, according to the display parameters, a plurality of first images are combined to form a second image, including:

[0097] According to the display parameters and the text information, a plurality of single-word images are combined to form a second image.

[0098] Optionally, after obtaining a third image containing text content, the third image may be subjected to text line detection through a text detection module to obtain a text line image, and a single word in the text line image may be detected to obtain a single word image containing a single word. Based on the text line detection results and the single word detection results, index information of each single word image is obtained, and the index information is used to identify the order of the single word images. The single word images are subjected to text recognition through a text recognition module to obtain text information; based on the index information, the text information is combined to form text information corresponding to the text content. These single word images and text information may be stored in a single word image database.

[0099] After the target display area is determined, the multiple single-word images can be combined to form a second image through the arrangement module according to the display parameters and text information of the target display area. For example, in the process of displaying the third image through the image viewer, if the display mode of the third image is adjusted, such as performing a zoom operation on the third image, resulting in incomplete display of the text content, the target display area can be re-determined in the image viewer, and the single-word images can be combined to form a second image based on the display parameters and text information of the target display area, and the second image can be stacked and arranged in the target display area, and multiple second images can be superimposed on the third image to generate a fourth image, such as Fig. 9 shown.

[0100] For example, when a third image containing text needs to be inserted into Figure 2 In the text editor shown in FIG. 1 , since the width of the third image is relatively wide and the width of the text editor is relatively narrow, the effect of directly inserting the third image into the text editor may be as follows: Figure 3As shown, due to the small font size, the user cannot see the text clearly. If the text information is directly recognized and inserted into the text editor, the text style may change due to the lack of a font template. At this time, the image processing method of the embodiment of the present application can be used to detect each character in the third image, obtain a single-character image containing a single character, and perform text recognition to obtain text information corresponding to the text content. According to the display parameters and text information of the target display area, multiple single-character images are recombined to form a text line image, and the multiple recombined text line images are arranged in the target display area, such as Figure 4 shown.

[0101] See also Fig.10 As shown, the second embodiment of the present application provides an image processing device, including:

[0102] An acquisition module 201 is used to acquire a first image containing text content;

[0103] A first determining module 202, configured to determine a target display area of ​​the first image and display parameters of the target display area;

[0104] A second determination module 203 is used to determine a plurality of second images according to the display parameters; wherein the second images are formed by the first images, and the second images contain at least one character;

[0105] The arrangement module 204 is used to arrange the plurality of the second images in the target display area so as to display the text content through the target display area.

[0106] In some embodiments, the second determining module 203 is specifically configured to:

[0107] The first image is divided into a plurality of the second images according to the display parameter.

[0108] In some embodiments, the acquisition module 201 is specifically used for:

[0109] Performing text line detection on the third image containing text content to obtain a text line image containing the text line;

[0110] Accordingly, the second determining module 203 is specifically configured to:

[0111] The text line image is divided into a plurality of second images according to the display parameters.

[0112] In some embodiments, the second determining module 203 is specifically configured to:

[0113] According to the display parameters, a plurality of the first images are combined to form the second image.

[0114] In some embodiments, the acquisition module 201 is specifically used for:

[0115] Detecting each character in the third image containing text content to obtain a single-character image containing a single character;

[0116] Performing text recognition on the single-word image to obtain text information corresponding to the text content.

[0117] In some embodiments, the second determining module 203 is specifically configured to:

[0118] According to the display parameters and the text information, a plurality of the single-word images are combined to form the second image.

[0119] In some embodiments, the second determining module 203 is specifically configured to:

[0120] Determining an arrangement scheme of the first image in the target display area according to the display parameter and the image parameter of the first image;

[0121] According to the arrangement scheme, the first image is processed to form a plurality of the second images.

[0122] In some embodiments, the first determining module 202 is specifically configured to:

[0123] The target display area is determined in an application program interface of a target application, and display parameters of the target display area are determined.

[0124] In some embodiments, the first determining module 202 is specifically configured to:

[0125] The target display area is determined in the application program interface according to the current display content of the application program interface.

[0126] See also Fig.11 As shown, the third embodiment of the present application further provides an electronic device, which at least includes a memory 301 and a processor 302, wherein the memory 301 stores a program, and the processor 302 implements the method of any of the above embodiments when executing the program on the memory 301.

[0127] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, electronic equipment, computer-readable storage media or computer program products. Therefore, the present application may adopt the form of complete hardware embodiments, complete software embodiments or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media that include computer-usable program code. When implemented by software, these functions may be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0128] The processor may be a general purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof. The general purpose processor may be a microprocessor or any conventional processor.

[0129] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0130] The above-mentioned readable storage medium can be a disk, an optical disk, a DVD, a USB, a read-only memory (ROM) or a random access memory (RAM), etc. This application does not limit the specific form of the storage medium.

[0131] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.

Claims

1. An image processing method, comprising: Acquire a first image containing text content; Determining a target display area of ​​the first image and display parameters of the target display area; Determine a plurality of second images according to the display parameters; wherein the second images are formed by the first images, and the second images contain at least one character; Arranging a plurality of the second images in the target display area to display the text content through the target display area; Wherein, determining a plurality of second images according to the display parameters includes: According to the display parameters, a plurality of the first images are combined to form the second image.

2. The method according to claim 1, wherein: The step of determining a plurality of second images according to the display parameters comprises: The first image is divided into a plurality of the second images according to the display parameter.

3. The method according to claim 2, wherein: The step of acquiring a first image containing text content includes: Performing text line detection on the third image containing text content to obtain a text line image containing the text line; Correspondingly, dividing the first image into a plurality of the second images according to the display parameter includes: The text line image is divided into a plurality of second images according to the display parameters.

4. The method according to claim 1, wherein: The step of acquiring a first image containing text content includes: Detecting each character in the third image containing text content to obtain a single-character image containing a single character; Performing text recognition on the single-word image to obtain text information corresponding to the text content.

5. The method according to claim 4, wherein: Combining the plurality of first images to form the second image according to the display parameter comprises: According to the display parameters and the text information, a plurality of the single-word images are combined to form the second image.

6. The method according to claim 1, wherein: The step of determining a plurality of second images according to the display parameters comprises: Determining an arrangement scheme of the first image in the target display area according to the display parameter and the image parameter of the first image; According to the arrangement scheme, the first image is processed to form a plurality of the second images.

7. The method according to claim 1, wherein: The determining a target display area of ​​the first image and display parameters of the target display area includes: The target display area is determined in an application program interface of a target application, and display parameters of the target display area are determined.

8. The method according to claim 7, wherein: Determining the target display area in the application program interface of the target application includes: The target display area is determined in the application program interface according to the current display content of the application program interface.

9. An image processing device, comprising: An acquisition module, used for acquiring a first image containing text content; A first determining module, used to determine a target display area of ​​the first image and display parameters of the target display area; A second determination module, configured to determine a plurality of second images according to the display parameters; wherein the second images are formed by the first images, and the second images contain at least one character; an arrangement module, configured to arrange the plurality of the second images in the target display area, so as to display the text content through the target display area; Wherein, determining a plurality of second images according to the display parameters comprises: According to the display parameters, a plurality of the first images are combined to form the second image.