CN112396675A - Image processing method, device and storage medium - Google Patents

Image processing method, device and storage medium Download PDF

Info

Publication number
CN112396675A
CN112396675A CN201910740733.1A CN201910740733A CN112396675A CN 112396675 A CN112396675 A CN 112396675A CN 201910740733 A CN201910740733 A CN 201910740733A CN 112396675 A CN112396675 A CN 112396675A
Authority
CN
China
Prior art keywords
image
images
display document
target display
format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910740733.1A
Other languages
Chinese (zh)
Inventor
豆子飞
易彦
武隽
吴岳霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910740733.1A priority Critical patent/CN112396675A/en
Publication of CN112396675A publication Critical patent/CN112396675A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/168Details of user interfaces specifically adapted to file systems, e.g. browsing and visualisation, 2d or 3d GUIs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/2628Alteration of picture size, shape, position or orientation, e.g. zooming, rotation, rolling, perspective, translation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to an image processing method, an apparatus, and a storage medium, the method may include: selecting at least two first images from the images displayed on the browsing interface of the photo album; detecting a generating operation aiming at the browsing interface; and generating a target display document according to the at least two first images based on the generation operation. According to the technical scheme, the target display document is generated according to the at least two first images aiming at the generation operation of the browsing interface, and a third-party application program does not need to be downloaded; and the first image is directly processed on the browsing interface, and the user does not need to return to a certain specific interface to process the image, so that the operation steps can be reduced, and the convenience of image processing can be improved.

Description

Image processing method, device and storage medium
Technical Field
The present disclosure relates to computer technologies, and in particular, to an image processing method and apparatus, and a storage medium.
Background
At present, mobile terminals have become an indispensable part of people in life, work and study, and more users select to use a camera on the mobile terminal to perform image acquisition, and further process the acquired image as required, for example, combine a plurality of acquired images and the like. The current arrangement mode is mainly to process the collected images through a third-party application program, so that the process of importing the images is complex, and the operation steps are complicated.
Disclosure of Invention
The present disclosure provides an image processing method, apparatus, and storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided an image processing method, including:
selecting at least two first images from the images displayed on the browsing interface of the photo album;
detecting a generating operation aiming at the browsing interface;
and generating a target display document according to the at least two first images based on the generation operation.
Optionally, the method further includes:
carrying out image acquisition on an initial display document based on an image acquisition component to obtain a first image;
the format of the initial display document includes at least one of: a presentation Document (PPT) Format, a WORD Format, or a Portable Document Format (PDF).
Optionally, the method further includes:
adjusting the at least two selected first images based on an image processing algorithm, wherein the adjustment comprises at least one of the following: shearing, rotating, amplifying, moving and sharpening.
Optionally, the generating a target display document according to the at least two first images based on the generating operation includes:
generating a second image containing the at least two first images based on the generating operation;
generating a target display document containing the second image according to the second image, wherein the format of the target display document comprises at least one of the following: PPT format, WORD format, or PDF.
Optionally, the method further includes:
performing character recognition on the second image based on an optical character recognition algorithm to acquire text information in the second image, wherein the text information comprises at least one of the following: text, formulas and tables;
generating a target display document containing the second image according to the second image, comprising:
and combining the text information and the second image to generate the target display document simultaneously containing the second image and the text information.
Optionally, the method further includes:
storing the target display document and storing the associated information of the target display document and the second image;
when the associated display operation for the associated information is detected, the target display document and the second image are simultaneously displayed.
Optionally, the method further includes:
acquiring shooting time of the at least two first images;
and arranging the at least two first images in the second image according to the sequence of the shooting time.
Optionally, the method further includes:
and when the selection operation of selecting the images in the album is detected, enabling the photos on the browsing interface to enter a selectable state.
According to a second aspect of the embodiments of the present disclosure, there is provided an image processing apparatus including:
the first selection module is configured to select at least two first images from the images displayed on the browsing interface of the photo album;
the detection module is configured to detect a generation operation aiming at the browsing interface;
and the generating module is configured to generate a target display document according to the at least two first images based on the generating operation.
Optionally, the apparatus further comprises:
the first acquisition module is configured to acquire an image of an initial display document based on an image acquisition component to obtain a first image;
the format of the initial display document includes at least one of: PPT format, WORD format, or PDF.
Optionally, the apparatus further comprises:
an adjusting module configured to adjust the at least two selected first images based on an image processing algorithm, wherein the adjustment includes at least one of: shearing, rotating, amplifying, moving and sharpening.
Optionally, the generating module includes:
a first generation submodule configured to generate a second image including the at least two first images based on the generation operation;
a second generation sub-module configured to generate a target display document including the second image according to the second image, wherein a format of the target display document includes at least one of: PPT format, WORD format, or PDF.
Optionally, the apparatus further comprises:
a second obtaining module, configured to perform character recognition on the second image based on an optical character recognition algorithm, and obtain text information in the second image, where the text information includes at least one of: text, formulas and tables;
the second generation submodule is specifically configured to generate, in combination with the text information and the second image, the target display document including both the second image and the text information.
Optionally, the apparatus further comprises:
a storage module configured to store the target display document and store associated information of the target display document and the second image;
a display module configured to simultaneously display the target display document and the second image when a related display operation for the related information is detected.
Optionally, the apparatus further comprises:
the third acquisition module is configured to acquire the shooting time of the at least two first images;
and the sequencing module is configured to sequence the at least two first images in the second image according to the sequence of the shooting time.
Optionally, the apparatus further comprises:
and the second selection module is configured to enable the photos on the browsing interface to enter a selectable state when a selection operation of selecting the images in the album is detected.
According to a third aspect of the embodiments of the present disclosure, there is provided an image processing apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: when executed, implement the steps in the image processing method of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions thereon which, when executed by a processor of an image processing apparatus, enable the apparatus to perform the image processing apparatus method of the first aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, the target display document is generated according to the at least two first images through the generation operation aiming at the browsing interface, and the third-party application program does not need to be downloaded; and the first image is directly processed on the browsing interface, and the user does not need to return to a certain specific interface to process the image, so that the operation steps can be reduced, the convenience of image processing is improved, and the user experience is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a first flowchart illustration of an image processing method according to an exemplary embodiment;
FIG. 2 is a flowchart illustration two of an image processing method, according to an exemplary embodiment;
FIG. 3 is a third flowchart illustration of an image processing method, shown in accordance with an exemplary embodiment;
FIG. 4 is a fourth flowchart illustration of an image processing method, shown in accordance with an exemplary embodiment;
FIG. 5 is a fifth flowchart illustration of an image processing method, according to an exemplary embodiment;
FIG. 6 is a flowchart illustration six of an image processing method, shown in accordance with an exemplary embodiment;
FIG. 7 is an interface diagram illustrating image processing according to an exemplary embodiment; (ii) a
FIG. 8 is a block diagram of an image processing apparatus shown in accordance with an exemplary embodiment;
FIG. 9 is a block diagram of an image processing apparatus shown in accordance with an exemplary embodiment;
FIG. 10 is a block diagram of an image processing apparatus shown in accordance with an exemplary embodiment;
FIG. 11 is a block diagram of an image processing apparatus shown in accordance with an exemplary embodiment;
FIG. 12 is a block diagram of an image processing apparatus shown in accordance with an exemplary embodiment;
FIG. 13 is a block diagram six of an image processing apparatus, shown in accordance with an exemplary embodiment;
FIG. 14 is a block diagram seven of an image processing apparatus, shown in accordance with an exemplary embodiment;
fig. 15 is a block diagram illustrating an apparatus for image processing according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
An image processing method is provided in the embodiments of the present disclosure, fig. 1 is a first flowchart illustrating an image processing method according to an exemplary embodiment, and as shown in fig. 1, the method mainly includes the following steps:
in step 101, at least two first images are selected from the images displayed on the browsing interface of the album.
Here, the user may store an image captured by an image capture component on the mobile terminal, downloaded via a network, or copied from another electronic device into an album in the mobile terminal, which may be an album of the mobile terminal itself.
The first image is an image stored in an album of the mobile terminal. When a user needs to browse or use images stored in the album, an album opening instruction for opening the album can be input, when the mobile terminal receives the album opening instruction, the album is opened, the user enters a browsing interface of the album, and the user can select at least two first images from the images displayed on the browsing interface of the album according to the requirement.
In step 102, a generating operation for a browsing interface is detected.
Here, the operation may be generated based on input of a first control on the browsing interface, the first control may be at least one virtual button provided on the browsing interface, and the operation may be a single click, a double click, or a long press of the first control.
In step 103, a target display document is generated from at least two first images based on the generating operation.
Here, taking the first control as a virtual button provided on the browsing interface as an example, the user may input a generation operation by clicking the virtual button, and when the mobile terminal receives the generation operation, the target display document is generated from at least two first images.
In the embodiment of the disclosure, the target display document is generated according to the at least two first images through the generation operation aiming at the browsing interface, and a third-party application program does not need to be downloaded; and the first image is directly processed on the browsing interface, and the user does not need to return to a certain specific interface to process the image, so that the operation steps can be reduced, the convenience of image processing is improved, and the user experience is further improved.
Fig. 2 is a flowchart illustrating a second image processing method according to an exemplary embodiment, as shown in fig. 2, the method mainly includes the following steps:
in step 201, image acquisition is performed on an initial display document based on an image acquisition component to obtain a first image; the format of the initial display document includes at least one of: PPT format, WORD format, or PDF.
Here, the initial display document may be an initial display document. The initial display document includes at least one of: PPT, WORD documents, or PDF documents. Based on various display documents such as PPT, WORD documents, PDF documents, etc., which have become important expressions for various reports and education, the lecturer presents the lecture main contents to the audience by projecting the display documents onto a projection screen or a display. At this time, the viewer can utilize the image acquisition component on the mobile terminal to perform image acquisition on the content of the displayed document so as to obtain the first image.
Taking the PPT as an example, in the process of demonstrating the PPT, an image acquisition component or other image acquisition devices mounted on the mobile terminal may acquire an image of the PPT in the demonstration to obtain a first image, or it may be understood that the first image is an image including contents of the PPT in the demonstration, and the first image is stored or copied into an album of the mobile terminal.
In step 202, at least two first images are selected from the images displayed on the browsing interface of the album.
In step 203, a generation operation for the browsing interface is detected.
In step 204, a target display document is generated from the at least two first images based on the generating operation.
Fig. 3 is a third schematic flowchart illustrating an image processing method according to an exemplary embodiment, as shown in fig. 3, the method mainly includes the following steps:
in step 301, image acquisition is performed on an initial display document based on an image acquisition component to obtain a first image; the format of the initial display document includes at least one of: PPT format, WORD format, or PDF.
In step 302, at least two first images are selected from the images displayed on the browsing interface of the album.
In step 303, the at least two selected first images are adjusted based on an image processing algorithm, where the adjustment includes at least one of: shearing, rotating, amplifying, moving and sharpening.
Here, the image processing algorithm refers to an algorithm for processing an image, and includes not only the processing of cutting, rotating, enlarging, moving, and sharpening the first image, but also the processing of denoising, image transforming, image analyzing, image compressing, image enhancing, image blurring, and the like of the first image.
Taking the first image as an image including the PPT content as an example, based on an image processing algorithm, the PPT content can be quickly extracted from the first image, the extracted PPT content is adaptively adjusted, the first image including the PPT content is automatically generated, and the accuracy of image processing can be improved.
In step 304, a generating operation for a browsing interface is detected.
In step 305, a target display document is generated from at least two first images based on the generating operation.
Fig. 4 is a fourth flowchart illustrating an image processing method according to an exemplary embodiment, as shown in fig. 4, the method mainly includes the following steps:
in step 401, image acquisition is performed on an initial display document based on an image acquisition component to obtain a first image; the format of the initial display document includes at least one of: PPT format, WORD format, or PDF.
In step 402, at least two first images are selected from the images displayed on the browsing interface of the album.
In step 403, the at least two selected first images are adjusted based on an image processing algorithm, where the adjustment includes at least one of: shearing, rotating, amplifying, moving and sharpening.
In step 404, a generating operation for a browsing interface is detected.
In step 405, a second image comprising at least two first images is generated based on the generating operation.
Here, when the mobile terminal receives the generation operation, the second image including the image contents of the at least two first images may be generated in a stitching manner, that is, the at least two first images are stitched to generate the corresponding second image, or the image contents of the at least two first images are directly extracted to generate the second image according to the extracted image contents. After the second image is generated, the resolution of the second image may be adjusted to a set threshold according to the resolution of the first image to improve the sharpness of the second image.
In step 406, a target display document containing the second image is generated according to the second image, wherein the format of the target display document comprises at least one of the following: PPT format, WORD format, or PDF.
Here, the generated second image is in a picture format, for example, a Portable Network Graphics (PNG) file or a Joint Photographic Experts Group (JPG) file, which may not conform to the viewing and operating habits of the user.
Fig. 5 is a flowchart illustrating a fifth image processing method according to an exemplary embodiment, as shown in fig. 5, the method mainly includes the following steps:
in step 501, an image acquisition component acquires an image of an initial display document to obtain a first image.
In step 502, at least two first images are selected from the images displayed on the browsing interface of the album.
In step 503, the at least two selected first images are adjusted based on an image processing algorithm, where the adjustment includes at least one of: shearing, rotating, amplifying, moving and sharpening.
In step 504, a generating operation for the browsing interface is detected.
In step 505, a second image including at least two first images is generated based on the generating operation.
In step 506, performing character recognition on the second image based on an optical character recognition algorithm to obtain text information in the second image, where the text information includes at least one of the following: text, formulas, and tables.
In step 507, a target display document containing both the second image and the text information is generated by combining the text information and the second image.
The method can perform character recognition on the second image based on the optical character recognition algorithm, extract characters, formulas and tables in the second image, and generate the target display document simultaneously containing the second image and text information.
Fig. 6 is a flowchart illustrating a sixth method of image processing according to an exemplary embodiment, as shown in fig. 6, the method mainly includes the following steps:
in step 601, image capture is performed on the initial display document based on the image capture component to obtain a first image.
In step 602, at least two first images are selected from the images displayed on the browsing interface of the album.
In step 603, the at least two selected first images are adjusted based on an image processing algorithm, where the adjustment includes at least one of: shearing, rotating, amplifying, moving and sharpening.
In step 604, a generating operation for a browsing interface is detected.
In step 605, a second image including at least two first images is generated based on the generating operation.
In step 606, performing character recognition on the second image based on an optical character recognition algorithm to obtain text information in the second image, where the text information includes at least one of the following: text, formulas, and tables.
In step 607, the text information and the second image are combined to generate a target display document including both the second image and the text information.
In step 608, the target display document is stored, and the association information of the target display document and the second image is stored.
In step 609, upon detection of the association display operation for the association information, the target display document and the second image are simultaneously displayed.
Here, the second image and the target display document may be stored in an album or other folder. When the second image is generated, the association relationship between the second image and the target display document may be established, and the association relationship between the target display document and the second image is identified based on the association information, so that when the target display document or the second image is displayed, the corresponding second image or the target display document may be found based on the association information, and the target display document and the second image are displayed at the same time. Here, the association information may be a number or a name of an image, as long as the association relationship between the target display document and the second image can be identified.
In other alternative embodiments, when the target display document is stored, the association relationship between the first image, the second image, and the target display document may also be stored, and when the association display operation for the association information is detected, the first image, the target display document, and the second image are simultaneously displayed.
For example, when the user views the target display document, whether a second image corresponding to the target display document exists can be queried based on the associated information corresponding to the target display document, and if so, the second image can be directly called out, and the target display document and the second image are displayed at the same time. Therefore, the user does not need to frequently turn over the photo album to search for the second image or the target display document, and the convenience of viewing the image can be improved.
In other optional embodiments, the method further comprises: acquiring shooting time of at least two first images; and arranging at least two first images in the second image according to the sequence of the shooting time.
Here, when the first image is captured by the image capturing assembly, the photographing time for capturing the first image can be simultaneously acquired and stored. When the selection operation aiming at the first image is detected, the shooting time of the first image is obtained, and when the second image is generated according to the at least two first images based on the generation operation, the at least two first images in the second image can be arranged according to the sequence of the shooting time, so that the first images with the similar shooting time are spliced together, the continuity of the content can be ensured, and the reading by a user is facilitated.
In other optional embodiments, the method further comprises: and when a selection operation for selecting the images in the album is detected, enabling the photos on the browsing interface to enter a selectable state.
Here, the user may input a selection operation for an image in the album by clicking, double clicking, or long pressing a certain image, and when the mobile terminal receives the selection operation, the mobile terminal may enter the photo on the browsing interface into an optional state, and may conveniently and quickly identify which images are available for the selection operation by entering the corresponding images into the optional state, so as to reduce the probability of the misoperation.
At the same time, a selection control may be displayed at a set position on each image that enters a selectable state. Here, the setting position may be set at a lower right corner, an upper left corner, or a lower left corner of the image entering the selectable state, and by setting the corresponding selection control at the setting position of the image entering the selectable state, a user can select a desired image conveniently, so as to improve convenience of image processing. FIG. 7 is an interface diagram illustrating image processing according to an example embodiment, and as shown in FIG. 7, an album browsing interface 700 is displayed with images in an album and all images have entered selectable states, with a selection control 701 displayed on each image that enters a selectable state.
In other optional embodiments, after a plurality of collected PPT images are selected in the album, a first control on a browsing interface of the album may be selected, the first control is clicked, the selected PPT images are automatically identified, cut, stretched and spliced based on the generation operation directed at the first control, and the spliced images are sharpened. And after the images are processed, displaying the spliced images on a browsing interface or other display interfaces of the photo album. For example: and finally selecting a corresponding storage format, such as PDF, PNG or JPG format and the like, from a single page of single PPT, a longitudinal long image formed by splicing, a transverse long image formed by splicing, an image spliced into a nine-grid form or an image generated according to a set size and the like.
Fig. 8 is a block diagram illustrating an image processing apparatus according to an exemplary embodiment, where, as shown in fig. 8, the image processing apparatus 800 mainly includes:
a first selection module 801 configured to select at least two first images from the images displayed on the browsing interface of the album;
a detection module 802 configured to detect a generation operation for a browsing interface;
a generating module 803 configured to generate a target display document from the at least two first images based on the generating operation.
Fig. 9 is a block diagram of an image processing apparatus shown in accordance with an exemplary embodiment, and as shown in fig. 9, the image processing apparatus 900 mainly includes:
a first obtaining module 901 configured to perform image acquisition on an initial display document based on an image acquisition component to obtain a first image; the format of the initial display document includes at least one of: PPT format, WORD format, or PDF;
a first selection module 801 configured to select at least two first images from the images displayed on the browsing interface of the album;
a detection module 802 configured to detect a generation operation for a browsing interface;
a generating module 803 configured to generate a target display document from the at least two first images based on the generating operation.
Fig. 10 is a block diagram of an image processing apparatus shown in a third example, and as shown in fig. 10, the image processing apparatus 1000 mainly includes:
a first obtaining module 901 configured to perform image acquisition on an initial display document based on an image acquisition component to obtain a first image; the format of the initial display document includes at least one of: PPT format, WORD format, or PDF;
a first selection module 801 configured to select at least two first images from the images displayed on the browsing interface of the album;
an adjusting module 1001 configured to adjust the selected at least two first images based on an image processing algorithm, the adjustment including at least one of: shearing, rotating, amplifying, moving and sharpening;
a detection module 802 configured to detect a generation operation for a browsing interface;
a generating module 803 configured to generate a target display document from the at least two first images based on the generating operation.
Fig. 11 is a block diagram of an image processing apparatus shown in accordance with an exemplary embodiment, the image processing apparatus 1100 mainly includes, as shown in fig. 11:
a first selection module 801 configured to select at least two first images from the images displayed on the browsing interface of the album;
a detection module 802 configured to detect a generation operation for a browsing interface;
a generating module 803, comprising:
a first generation submodule 1101 configured to generate a second image including at least two first images based on the generation operation;
a second generating sub-module 1102 configured to generate a target display document containing the second image according to the second image, wherein the format of the target display document includes at least one of: PPT format, WORD format, or PDF.
Fig. 12 is a block diagram of an image processing apparatus shown in fig. 12 according to an exemplary embodiment, and as shown in fig. 12, the image processing apparatus 1200 mainly includes:
a first selection module 801 configured to select at least two first images from the images displayed on the browsing interface of the album;
a detection module 802 configured to detect a generation operation for a browsing interface;
a generating module 803, comprising:
a first generation submodule 1101 configured to generate a second image including at least two first images based on the generation operation;
a second obtaining module 1201, configured to perform character recognition on the second image based on an optical character recognition algorithm, and obtain text information in the second image, where the text information includes at least one of: text, formulas and tables;
the second generating sub-module 1102 is specifically configured to generate, in combination with the text information and the second image, a target display document including both the second image and the text information.
Fig. 13 is a block diagram six illustrating an image processing apparatus according to an exemplary embodiment, as shown in fig. 13, the image processing apparatus 1300 mainly includes:
a first selection module 801 configured to select at least two first images from the images displayed on the browsing interface of the album;
a detection module 802 configured to detect a generation operation for a browsing interface;
a generating module 803, comprising:
a first generation submodule 1101 configured to generate a second image including at least two first images based on the generation operation;
a second obtaining module 1201, configured to perform character recognition on the second image based on an optical character recognition algorithm, and obtain text information in the second image, where the text information includes at least one of: text, formulas and tables;
a second generation submodule 1102, configured to generate, in combination with the text information and the second image, a target display document including the second image and the text information at the same time;
a storage module 1301 configured to store the target display document and store the association information of the target display document and the second image;
a display module 1302 configured to simultaneously display the target display document and the second image when the associated display operation for the associated information is detected.
Fig. 14 is a block diagram seven illustrating an image processing apparatus according to an exemplary embodiment, as shown in fig. 14, the image processing apparatus 1400 mainly includes:
a first selection module 801 configured to select at least two first images from the images displayed on the browsing interface of the album;
a detection module 802 configured to detect a generation operation for a browsing interface;
a generating module 803, comprising:
a first generation submodule 1101 configured to generate a second image including at least two first images based on the generation operation;
a third acquiring module 1401 configured to acquire the shooting times of at least two first images;
the sorting module 1402 is configured to sort at least two first images in the second image according to the sequence of the shooting time;
a second generating sub-module 1102 configured to generate a target display document containing the second image according to the second image, wherein the format of the target display document includes at least one of: PPT format, WORD format, or PDF.
In other optional embodiments, the apparatus further comprises:
and the second selection module is configured to enable the photos on the browsing interface to enter a selectable state when the selection operation of selecting the images in the album is detected.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Correspondingly, the present disclosure also provides an image processing apparatus comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: when executed, implement the steps of any of the image processing methods in the above embodiments.
Fig. 15 is a block diagram illustrating an apparatus 1500 for image processing according to an exemplary embodiment. For example, the apparatus 1500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, an exercise device, a personal digital assistant, and so forth.
Referring to fig. 15, apparatus 1500 may include one or more of the following components: a processing component 1502, a memory 1504, a power component 1506, a multimedia component 1508, an audio component 1510, an input/output (I/O) interface 1512, a sensor component 1514, and a communications component 1516.
The processing component 1502 generally controls overall operation of the apparatus 1500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1502 may include one or more processors 1520 executing instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1502 may also include one or more modules that facilitate interaction between processing component 1502 and other components. For example, processing component 1502 may include a multimedia module to facilitate interaction between multimedia component 1508 and processing component 1502.
The memory 1504 is configured to store various types of data to support operations at the apparatus 1500. Examples of such data include instructions for any application or method operating on the apparatus 1500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1504 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 1506 provides power to the various components of the device 1500. The power assembly 1506 may include: a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 1500.
The multimedia component 1508 includes a screen that provides an output interface between the device 1500 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, multimedia component 1508 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 1500 is in an operation mode, such as a shooting mode or a video mode. Each front camera and/or rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1510 is configured to output and/or input audio signals. For example, the audio component 1510 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1504 or transmitted via the communication component 1516. In some embodiments, audio component 1510 also includes a speaker for outputting audio signals.
The I/O interface 1512 provides an interface between the processing component 1502 and peripheral interface modules, which can be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1514 includes one or more sensors for providing status assessment of various aspects of the apparatus 1500. For example, the sensor assembly 1514 can detect an open/closed state of the apparatus 1500, relative positioning of components such as a display and keypad of the apparatus 1500, the sensor assembly 1514 can also detect a change in position of the apparatus 1500 or a component of the apparatus 1500, the presence or absence of user contact with the apparatus 1500, orientation or acceleration/deceleration of the apparatus 1500, and a change in temperature of the apparatus 1500. The sensor assembly 1514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1516 is configured to facilitate wired or wireless communication between the apparatus 1500 and other devices. The apparatus 1500 may access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1516 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, or other technologies.
In an exemplary embodiment, the apparatus 1500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1504 comprising instructions, executable by the processor 1520 of the apparatus 1500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Accordingly, the present disclosure also provides a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of an image processing apparatus, enable the apparatus to perform the image processing method in the above embodiments, the method comprising:
selecting at least two first images from the images displayed on the browsing interface of the photo album;
detecting a generating operation aiming at the browsing interface;
and generating a target display document according to the at least two first images based on the generation operation.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. An image processing method, comprising:
selecting at least two first images from the images displayed on the browsing interface of the photo album;
detecting a generating operation aiming at the browsing interface;
and generating a target display document according to the at least two first images based on the generation operation.
2. The method of claim 1, further comprising:
carrying out image acquisition on an initial display document based on an image acquisition component to obtain a first image;
the format of the initial display document includes at least one of: a presentation document PPT format, a WORD format, or a portable document format PDF.
3. The method of claim 2, further comprising:
adjusting the at least two selected first images based on an image processing algorithm, wherein the adjustment comprises at least one of the following: shearing, rotating, amplifying, moving and sharpening.
4. The method according to claim 1, wherein generating a target display document from the at least two first images based on the generating operation comprises:
generating a second image containing the at least two first images based on the generating operation;
generating a target display document containing the second image according to the second image, wherein the format of the target display document comprises at least one of the following: PPT format, WORD format, or PDF.
5. The method of claim 4, further comprising:
performing character recognition on the second image based on an optical character recognition algorithm to acquire text information in the second image, wherein the text information comprises at least one of the following: text, formulas and tables;
generating a target display document containing the second image according to the second image, comprising:
and combining the text information and the second image to generate the target display document simultaneously containing the second image and the text information.
6. The method of claim 5, further comprising:
storing the target display document and storing the associated information of the target display document and the second image;
when the associated display operation for the associated information is detected, the target display document and the second image are simultaneously displayed.
7. The method of claim 4, further comprising:
acquiring shooting time of the at least two first images;
and arranging the at least two first images in the second image according to the sequence of the shooting time.
8. The method according to any one of claims 1 to 7, further comprising:
and when the selection operation of selecting the images in the album is detected, enabling the photos on the browsing interface to enter a selectable state.
9. An image processing apparatus characterized by comprising:
the first selection module is configured to select at least two first images from the images displayed on the browsing interface of the photo album;
the detection module is configured to detect a generation operation aiming at the browsing interface;
and the generating module is configured to generate a target display document according to the at least two first images based on the generating operation.
10. The apparatus of claim 9, further comprising:
the first acquisition module is configured to acquire an image of an initial display document based on an image acquisition component to obtain a first image;
the format of the initial display document includes at least one of: a presentation document PPT format, a WORD format, or a portable document PDF.
11. The apparatus of claim 10, further comprising:
an adjusting module configured to adjust the at least two selected first images based on an image processing algorithm, wherein the adjustment includes at least one of: shearing, rotating, amplifying, moving and sharpening.
12. The apparatus of claim 9, wherein the generating module comprises:
a first generation submodule configured to generate a second image including the at least two first images based on the generation operation;
a second generation sub-module configured to generate a target display document including the second image according to the second image, wherein a format of the target display document includes at least one of: PPT format, WORD format, or PDF.
13. The apparatus of claim 12, further comprising:
a second obtaining module, configured to perform character recognition on the second image based on an optical character recognition algorithm, and obtain text information in the second image, where the text information includes at least one of: text, formulas and tables;
the second generation submodule is specifically configured to generate, in combination with the text information and the second image, the target display document including both the second image and the text information.
14. The apparatus of claim 13, further comprising:
a storage module configured to store the target display document and store associated information of the target display document and the second image;
a display module configured to simultaneously display the target display document and the second image when a related display operation for the related information is detected.
15. The apparatus of claim 12, further comprising:
the third acquisition module is configured to acquire the shooting time of the at least two first images;
and the sequencing module is configured to sequence the at least two first images in the second image according to the sequence of the shooting time.
16. The apparatus of any one of claims 9 to 15, further comprising:
and the second selection module is configured to enable the photos on the browsing interface to enter a selectable state when a selection operation of selecting the images in the album is detected.
17. An image processing apparatus characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: when executed, implement the steps in the image processing method of any of the above claims 1 to 8.
18. A non-transitory computer readable storage medium, instructions in which, when executed by a processor of an image processing apparatus, enable the apparatus to perform the image processing method of any of claims 1 to 8 above.
CN201910740733.1A 2019-08-12 2019-08-12 Image processing method, device and storage medium Pending CN112396675A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910740733.1A CN112396675A (en) 2019-08-12 2019-08-12 Image processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910740733.1A CN112396675A (en) 2019-08-12 2019-08-12 Image processing method, device and storage medium

Publications (1)

Publication Number Publication Date
CN112396675A true CN112396675A (en) 2021-02-23

Family

ID=74602349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910740733.1A Pending CN112396675A (en) 2019-08-12 2019-08-12 Image processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN112396675A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022228301A1 (en) * 2021-04-29 2022-11-03 维沃移动通信有限公司 Document generation method and apparatus and electronic device
CN115565057A (en) * 2021-07-02 2023-01-03 北京小米移动软件有限公司 Map generation method, map generation device, legged robot, and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022228301A1 (en) * 2021-04-29 2022-11-03 维沃移动通信有限公司 Document generation method and apparatus and electronic device
CN115565057A (en) * 2021-07-02 2023-01-03 北京小米移动软件有限公司 Map generation method, map generation device, legged robot, and storage medium

Similar Documents

Publication Publication Date Title
JP2018500611A (en) Image processing method and apparatus
US20200210061A1 (en) Method, device and storage medium for sharing multimedia resource
CN109600303B (en) Content sharing method and device and storage medium
KR101817023B1 (en) Method and device for adding font, program and recording medium
CN110968364B (en) Method and device for adding shortcut plugins and intelligent device
EP3147802A1 (en) Method and apparatus for processing information
WO2022088823A1 (en) Image processing method and apparatus
CN104850643B (en) Picture comparison method and device
CN106527886B (en) Picture display method and device
CN109521938B (en) Method and device for determining data evaluation information, electronic device and storage medium
CN112396675A (en) Image processing method, device and storage medium
CN107105311B (en) Live broadcasting method and device
CN105260088B (en) Information classification display processing method and device
CN112087653A (en) Data processing method and device and electronic equipment
CN111832455A (en) Method, device, storage medium and electronic equipment for acquiring content image
WO2023115969A1 (en) Image posting method and apparatus
CN108491535B (en) Information classified storage method and device
WO2022199038A1 (en) Image adjustment parameter adjustment method and apparatus
CN110502484B (en) Method, device and medium for displaying file information on mobile terminal
CN112764599B (en) Data processing method, device and medium
CN112132762A (en) Data processing method and device and recording equipment
CN112346606A (en) Picture processing method and device and storage medium
CN106897876B (en) Terminal payment processing method and device
CN106569985B (en) Information editing method and device
CN112506393B (en) Icon display method and device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination