CN112070860A - Picture processing method - Google Patents

Picture processing method Download PDF

Info

Publication number
CN112070860A
CN112070860A CN202010766578.3A CN202010766578A CN112070860A CN 112070860 A CN112070860 A CN 112070860A CN 202010766578 A CN202010766578 A CN 202010766578A CN 112070860 A CN112070860 A CN 112070860A
Authority
CN
China
Prior art keywords
picture
text information
audio
pictures
file
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
CN202010766578.3A
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.)
Guangdong Yinuo Communication Co Ltd
Original Assignee
Guangdong Yinuo Communication 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 Guangdong Yinuo Communication Co Ltd filed Critical Guangdong Yinuo Communication Co Ltd
Priority to CN202010766578.3A priority Critical patent/CN112070860A/en
Publication of CN112070860A publication Critical patent/CN112070860A/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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/0021Image watermarking

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Editing Of Facsimile Originals (AREA)

Abstract

The invention provides a picture processing method, which comprises the following steps: acquiring pictures, including calling the pictures from a database or taking the pictures in real time, wherein the called pictures in the database are divided into audio pictures and silent pictures; identifying a picture; if the picture is recognized as the audio picture, decoding the audio picture to generate a primary picture file and an audio file, and decoding the audio information of the audio file into character text information; and (3) superposing the text information to a native picture file in a watermark mode or storing the text information in exif to generate a final picture, analyzing exif data to display the text information when a user needs the text information, and performing the step if the text information is identified as a silent picture or a real-time shot picture. The picture type is distinguished, the audio information in the picture is decoded and read, the audio file is converted into the text information, and the text information is overlapped in the picture in multiple modes, so that the picture information can be quickly known when the audio picture is inconvenient to use.

Description

Picture processing method
Technical Field
The invention belongs to the technical field of picture processing, and particularly relates to a picture processing method.
Background
At present, smart phones are more powerful, the function of taking pictures is also the momentum of chasing up cameras, and people sometimes need to explain pictures when taking pictures, so that sound is added to produce sound pictures. However, the space occupied by the storage of the sound is large, and the sound cannot be played in some occasions, so that the sound information needs to be converted into the character information, and meanwhile, the equipment of the sound photo does not support, so that the reading has a problem.
In summary, there is a need for a method for solving the above-mentioned technical problems, which can distinguish the picture type, decode the audio information in the read picture, convert the audio file into text information, and superimpose the text information in the picture in multiple ways, and generate a photo with a more versatile format, so that the picture information can be quickly known when the audio photo is not convenient to use, and an information description can be added to the ordinary silent photo.
Disclosure of Invention
In view of the defects of the prior art, the invention aims to provide a picture processing method, and aims to solve the problems that the existing sound picture occupies a large space, part of equipment does not support the existing sound picture, and part of occasions are not suitable for playing sound.
In order to achieve the purpose, the invention adopts the following technical scheme:
an image processing method is characterized by comprising the following steps:
acquiring pictures, including calling the pictures from a database or taking the pictures in real time, wherein the called pictures in the database are divided into audio pictures and silent pictures;
identifying a picture;
if the picture is recognized as the audio picture, decoding the audio picture to generate a primary picture file and an audio file, and decoding the audio information of the audio file into text information;
superposing the text information to the original picture file in a watermark mode or storing the text information to exif to generate a final picture, and analyzing exif data to display the text information when a user needs;
and if the silent picture or the real-time shot picture is identified, editing and inputting text information, overlaying the text information to the silent picture or the real-time shot picture in a watermark mode, or storing the text information into an exif to generate a final picture, and analyzing exif data to display the text information when a user needs.
Preferably, the real-time shot picture is in a bitmap format.
Preferably, the watermark superposition position of the watermark pattern is variable.
Preferably, the final picture is in a jpeg format.
Preferably, the text information of the edited input characters comprises voice input, handwriting input and pinyin input.
Compared with the prior art, the invention has the beneficial effects that:
the invention provides a picture processing method, which comprises the following steps: acquiring pictures, including calling the pictures from a database or taking the pictures in real time, wherein the called pictures in the database are divided into audio pictures and silent pictures; identifying a picture; if the picture is recognized as the audio picture, decoding the audio picture to generate a primary picture file and an audio file, and decoding the audio information of the audio file into text information; superposing the text information to the original picture file in a watermark mode or storing the text information to exif to generate a final picture, and analyzing exif data to display the text information when a user needs; and if the silent picture or the real-time shot picture is identified, editing and inputting text information, overlaying the text information to the silent picture or the real-time shot picture in a watermark mode, or storing the text information into an exif to generate a final picture, and analyzing exif data to display the text information when a user needs. The picture type is distinguished, the audio information in the picture is decoded and read, the audio file is converted into the text information, the text information is overlapped in the picture in multiple modes, and the picture with higher format universality is generated, so that the picture information can be quickly known when the audio picture is inconvenient to use, and information explanation can be added to the common soundless picture.
Drawings
FIG. 1 is a block flow diagram of the present invention.
Detailed Description
In order to make the objects, technical solutions and effects of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the image processing method provided by the present invention is characterized by comprising the following steps:
acquiring pictures, including calling the pictures from a database or taking the pictures in real time, wherein the called pictures in the database are divided into audio pictures and silent pictures;
identifying a picture;
if the picture is recognized as the audio picture, decoding the audio picture to generate a primary picture file and an audio file, and decoding the audio information of the audio file into text information;
superposing the text information to the original picture file in a watermark mode or storing the text information to exif to generate a final picture, and analyzing exif data to display the text information when a user needs;
and if the silent picture or the real-time shot picture is identified, editing and inputting text information, overlaying the text information to the silent picture or the real-time shot picture in a watermark mode, or storing the text information into an exif to generate a final picture, and analyzing exif data to display the text information when a user needs.
Specifically, the method includes the steps of firstly obtaining a picture, wherein the picture is directly called from a database, the picture called from the database is divided into a sound picture and a soundless picture, the picture is shot in real time, the shot picture is the soundless picture without an audio file, then the obtained picture is identified, the type of the picture is judged, if the picture is the sound picture, the sound picture is decoded into a primary picture file and an audio file, and information of the audio file is decoded into text information. Then, the text information is superposed to the original picture file and a final picture is generated, two modes are adopted in the process, one mode is a watermark mode, the text information is superposed to the original picture file in a watermark mode and is directly displayed; the other method is to store the text information into exif data, then generate the final picture, and analyze the exif data to display the text information when the information needs to be acquired. If the picture is a silent picture or a real-time picture, the text character information is superimposed to the original picture file by adopting the two modes to generate a final picture.
In some embodiments, the live photograph is taken in bitmap format and the bitmap is a Windows standard format graphics file that defines an image as being made up of dots (pixels) that can be represented by a variety of colors, including 2, 4, 8, 16, 24, and 32 bit colors. For example, a 32-bit true color picture with 1024 × 768 resolution is stored in 1024 × 768 × 32/(8 × 1024) ═ 3072 KB.
In some embodiments, the watermark superposition position of the watermark mode is variable, and the default position of the watermark is adjusted through background editing control.
In some embodiments, the final picture is in a jpeg format, and the compression technology is advanced, so that redundant images and color data are removed by a lossy compression method, and a very rich and vivid image can be displayed while an extremely high compression rate is obtained, in other words, a better image quality can be obtained with a minimum of disk space.
In some embodiments, the editing input text information includes voice input, handwriting input, and pinyin input. Wherein. The voice input is that the internal voice recognition module recognizes the voice information and converts the voice information into the character information.
In summary, the working principle of the invention is as follows:
the invention provides a picture processing method, which comprises the following steps: acquiring pictures, including calling the pictures from a database or taking the pictures in real time, wherein the called pictures in the database are divided into audio pictures and silent pictures; identifying a picture; if the picture is recognized as the audio picture, decoding the audio picture to generate a primary picture file and an audio file, and decoding the audio information of the audio file into text information; superposing the text information to the original picture file in a watermark mode or storing the text information to exif to generate a final picture, and analyzing exif data to display the text information when a user needs; and if the silent picture or the real-time shot picture is identified, editing and inputting text information, overlaying the text information to the silent picture or the real-time shot picture in a watermark mode, or storing the text information into an exif to generate a final picture, and analyzing exif data to display the text information when a user needs. The picture type is distinguished, the audio information in the picture is decoded and read, the audio file is converted into the text information, the text information is overlapped in the picture in multiple modes, and the picture with higher format universality is generated, so that the picture information can be quickly known when the audio picture is inconvenient to use, and information explanation can be added to the common soundless picture.
It should be understood that equivalents and modifications of the technical solution and inventive concept thereof may occur to those skilled in the art, and all such modifications and alterations should fall within the scope of the appended claims.

Claims (5)

1. An image processing method is characterized by comprising the following steps:
acquiring pictures, including calling the pictures from a database or taking the pictures in real time, wherein the called pictures in the database are divided into audio pictures and silent pictures;
identifying a picture;
if the picture is recognized as the audio picture, decoding the audio picture to generate a primary picture file and an audio file, and decoding the audio information of the audio file into text information;
superposing the text information to the original picture file in a watermark mode or storing the text information to exif to generate a final picture, and analyzing exif data to display the text information when a user needs;
and if the silent picture or the real-time shot picture is identified, editing and inputting text information, overlaying the text information to the silent picture or the real-time shot picture in a watermark mode, or storing the text information into an exif to generate a final picture, and analyzing exif data to display the text information when a user needs.
2. The picture processing method according to claim 1, wherein the real-time taken picture is in bitmap format.
3. The picture processing method according to claim 1, wherein a watermark superimposing position of the watermark pattern is variable.
4. The picture processing method according to claim 1, wherein the final picture is in jpeg format.
5. The method of claim 1, wherein the editing input text information comprises voice input, handwriting input, and pinyin input.
CN202010766578.3A 2020-08-03 2020-08-03 Picture processing method Pending CN112070860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010766578.3A CN112070860A (en) 2020-08-03 2020-08-03 Picture processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010766578.3A CN112070860A (en) 2020-08-03 2020-08-03 Picture processing method

Publications (1)

Publication Number Publication Date
CN112070860A true CN112070860A (en) 2020-12-11

Family

ID=73657203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010766578.3A Pending CN112070860A (en) 2020-08-03 2020-08-03 Picture processing method

Country Status (1)

Country Link
CN (1) CN112070860A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1552001A (en) * 2001-03-15 2004-12-01 Picture changer with recording and playback capability
CN1748426A (en) * 2003-02-10 2006-03-15 汤姆森许可贸易公司 Method to transmit and receive font information in streaming systems
CN1947120A (en) * 2004-06-25 2007-04-11 苹果电脑有限公司 Methods and systems for managing data
CN1969540A (en) * 2005-04-11 2007-05-23 索尼株式会社 Information processing device, information processing method, program storage medium, program, data structure, and recording medium manufacturing method
CN101174448A (en) * 2007-12-10 2008-05-07 北京炬力北方微电子有限公司 Talking picture playing method and device, method for generating index file of talking picture
CN106792145A (en) * 2017-02-22 2017-05-31 杭州当虹科技有限公司 A kind of method and apparatus of the automatic overlapping text of audio frequency and video
CN107222792A (en) * 2017-07-11 2017-09-29 成都德芯数字科技股份有限公司 A kind of caption superposition method and device
CN110428804A (en) * 2019-09-04 2019-11-08 广东以诺通讯有限公司 A kind of intelligent communication method and system
CN110874526A (en) * 2018-12-29 2020-03-10 北京安天网络安全技术有限公司 File similarity detection method and device, electronic equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1552001A (en) * 2001-03-15 2004-12-01 Picture changer with recording and playback capability
CN1748426A (en) * 2003-02-10 2006-03-15 汤姆森许可贸易公司 Method to transmit and receive font information in streaming systems
CN1947120A (en) * 2004-06-25 2007-04-11 苹果电脑有限公司 Methods and systems for managing data
CN1969540A (en) * 2005-04-11 2007-05-23 索尼株式会社 Information processing device, information processing method, program storage medium, program, data structure, and recording medium manufacturing method
CN101174448A (en) * 2007-12-10 2008-05-07 北京炬力北方微电子有限公司 Talking picture playing method and device, method for generating index file of talking picture
CN106792145A (en) * 2017-02-22 2017-05-31 杭州当虹科技有限公司 A kind of method and apparatus of the automatic overlapping text of audio frequency and video
CN107222792A (en) * 2017-07-11 2017-09-29 成都德芯数字科技股份有限公司 A kind of caption superposition method and device
CN110874526A (en) * 2018-12-29 2020-03-10 北京安天网络安全技术有限公司 File similarity detection method and device, electronic equipment and storage medium
CN110428804A (en) * 2019-09-04 2019-11-08 广东以诺通讯有限公司 A kind of intelligent communication method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王丽灵;: "图书馆文献数字化转换格式探讨", 《广东科技》, no. 22, pages 42 - 43 *

Similar Documents

Publication Publication Date Title
CN110557678B (en) Video processing method, device and equipment
WO2018028583A1 (en) Subtitle extraction method and device, and storage medium
TWI253860B (en) Method for generating a slide show of an image
US8265167B2 (en) Application specific video format
JP2006101521A (en) Method, computer program, and data processing system for determining visual representation of input media object
KR20110115357A (en) Method and apparatus for generating of animation message
JP2006135939A (en) Method for encoding media objects, computer program and data processing system
JP2006155580A (en) Method of generating media object, computer program and data processing system
KR101458521B1 (en) A system for play a contents of augmented reality
CN109168006A (en) The video coding-decoding method that a kind of figure and image coexist
WO2023284295A1 (en) Method and system for processing webpage video background of mobile end, and storage medium
CN104243886A (en) High-speed image analyzing and video generating technology based on plug-in technology
CN117499755A (en) Method for embedding watermark or subtitle into hard decoding video based on GPU hard layer
JP4441300B2 (en) Image processing apparatus, image processing method, image processing program, and recording medium storing the program
JP2005259017A (en) Image processing apparatus, image processing program and storage medium
CN106162328A (en) A kind of video synchronizing information methods of exhibiting and system
CN112070860A (en) Picture processing method
CN104517259B (en) Embedding algorithm method and apparatus in color text file
CN113037947B (en) Method for coding spatial information in continuous dynamic image
WO2021088333A1 (en) Image storage method, image reading method, image memory and storage medium
JP5159588B2 (en) Image processing apparatus, image processing method, and computer program
CN114549270A (en) Anti-shooting monitoring video watermarking method combining depth robust watermarking and template synchronization
JP2012049860A (en) Image processor, image processing method and program
CN113192102B (en) JPEG-based background-removed portrait photo generation and extraction method
JP2010108296A (en) Information processor and information processing method

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240507

AD01 Patent right deemed abandoned