CN108495185A - A kind of video title generation method and device - Google Patents
A kind of video title generation method and device Download PDFInfo
- Publication number
- CN108495185A CN108495185A CN201810210914.9A CN201810210914A CN108495185A CN 108495185 A CN108495185 A CN 108495185A CN 201810210914 A CN201810210914 A CN 201810210914A CN 108495185 A CN108495185 A CN 108495185A
- Authority
- CN
- China
- Prior art keywords
- target
- image
- text
- user
- video
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000004891 communication Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 10
- 238000012217 deletion Methods 0.000 claims description 8
- 230000037430 deletion Effects 0.000 claims description 8
- 238000012545 processing Methods 0.000 abstract description 9
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000012015 optical character recognition Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000005611 electricity Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/60—Type of objects
- G06V20/62—Text, e.g. of license plates, overlay texts or captions on TV images
- G06V20/635—Overlay text, e.g. embedded captions in a TV program
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/84—Generation or processing of descriptive data, e.g. content descriptors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
An embodiment of the present invention provides a kind of video title generation methods and device, the above method to include:Target video is played by video playback apparatus, when receiving image acquisition instruction input by user, obtains target image, Text region is carried out to target image, obtains the corresponding target text of target text, target video title is generated according to target text.Based on above-mentioned processing, the target text in target image can be identified, obtain target text, and then generate target video title, can improve the efficiency of video title generation.
Description
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of video title generation method and device.
Background technology
Video title has unique representativeness, and user can be helped to quickly understand the content of video, can also be certain
The playback volume of video is improved in degree.In general, user needs when making the program comprising video for video input video mark
Topic.In the prior art, user can determine video title, so after one section of video of preview according to the word occurred in the video
Afterwards, user can be manually entered video title.
However, inventor has found in the implementation of the present invention, at least there are the following problems for the prior art:
User is firstly the need of the word in browsing video content, and then, user determines video mark according to the word browsed to
Topic, and it is manually entered determining video title, finally, user needs to check whether video title inputs correctly.If video mark
Input error is inscribed, user needs to re-enter video title.As it can be seen that the efficiency that video title generates in the prior art is low.
Invention content
The embodiment of the present invention is designed to provide a kind of video title generation method and device, to improve video title life
At efficiency.Specific technical solution is as follows:
In a first aspect, in order to achieve the above object, it is above-mentioned the embodiment of the invention discloses a kind of video title generation method
Method includes:
Target video is played by video playback apparatus;
When receiving image acquisition instruction input by user, target image is obtained, wherein the target image is described
Include the image of target text in target video;
Text region is carried out to the target image, obtains the corresponding target text of the target text;
Target video title is generated according to the target text.
Optionally, the image identification of the target frame image where the target image is carried in described image acquisition instruction
And coordinate information of the target image in the target frame image;
The acquisition target image, including:
It is identified according to described image, obtains the target frame image;
According to the coordinate information, the target image is extracted from the target frame image.
Optionally, described that target video title is generated according to the target text, including:
The deletion instruction of the extra word in the correspondence input by user target text is received,
The extra word is deleted from the target text, obtains target video title.
Optionally, described that target video title is generated according to the target text, including:
Receive the addition instruction input by user, wherein carry the user in the addition instruction and need to add
Word and it is described need to the location information of word to be added in the target text;
It needs word to be added to be added to corresponding position in the target text user, obtains target video mark
Topic.
Optionally, described to be regarded according to target text generation target when the image acquisition instruction received is multiple
Frequency marking is inscribed, including:
Receive the selection instruction input by user;
The desired title text of user's selection is obtained from each target text of acquisition;
According to the desired title text generation target video title.
Optionally, after the generation target video title according to the target text, the method further includes:
The target video title is sent to preset user terminal, so that the user terminal exports the target and regards
Frequency marking is inscribed.
Second aspect, in order to achieve the above objectives, the embodiment of the invention discloses a kind of video title generating means, above-mentioned dresses
Set including:
Playing module plays target video for passing through video playback apparatus;
Acquisition module, for when receiving image acquisition instruction input by user, obtaining target image, wherein described
Target image is the image for including target text in the target video;
Identification module obtains the corresponding target text of the target text for carrying out Text region to the target image
This;
Generation module, for generating target video title according to the target text.
Optionally, the image identification of the target frame image where the target image is carried in described image acquisition instruction
And coordinate information of the target image in the target frame image;
The acquisition module obtains the target frame image specifically for being identified according to described image;
According to the coordinate information, the target image is extracted from the target frame image.
Optionally, the generation module is specifically used for receiving more in the correspondence target text input by user
The deletion of remaining word instructs,
The extra word is deleted from the target text, obtains target video title.
Optionally, the generation module is specifically used for receiving the addition instruction input by user, wherein the addition
The user is carried in instruction needs the position of word to be added and the need word to be added in the target text
Information;
It needs word to be added to be added to corresponding position in the target text user, obtains target video mark
Topic.
Optionally, when the image acquisition instruction received is multiple, the generation module is specifically used for receiving the use
The selection instruction of family input;
The desired title text of user's selection is obtained from each target text of acquisition;
According to the desired title text generation target video title.
Optionally, described device further includes:
Sending module, for the target video title to be sent to preset user terminal, so that the user terminal
Export the target video title.
In the another aspect that the present invention is implemented, in order to achieve the above object, the embodiment of the invention also discloses a kind of electronics
Equipment, the electronic equipment include processor, communication interface, memory and communication bus, wherein and the processor is described logical
Believe that interface, the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, is realized as described in above-mentioned first aspect
Video title generation method.
At the another aspect that the present invention is implemented, a kind of computer readable storage medium is additionally provided, it is described computer-readable
It is stored with instruction in storage medium, when run on a computer, realizes the video title life as described in above-mentioned first aspect
At method.
At the another aspect that the present invention is implemented, the embodiment of the present invention additionally provides a kind of computer program production comprising instruction
Product, when run on a computer so that computer executes the video title generation method described in above-mentioned first aspect.
Video title generation method provided in an embodiment of the present invention and device can play target by video playback apparatus
Video obtains target image when receiving image acquisition instruction input by user, carries out Text region to target image, obtains
To the corresponding target text of target text, target video title is generated according to target text.Based on above-mentioned processing, can identify
Target text in target image obtains target text, and then generates target video title, can improve video title generation
Efficiency.
Certainly, it implements any of the products of the present invention or method must be not necessarily required to reach all the above excellent simultaneously
Point.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described.
Fig. 1 is a kind of flow chart of video title generation method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart obtaining target image method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart for method of modifying to target text provided in an embodiment of the present invention;
Fig. 4 is that second pair of target text provided in an embodiment of the present invention is modified the flow chart of method;
Fig. 5 is a kind of application scenario diagram of video title generation method provided in an embodiment of the present invention;
Fig. 6 is a kind of structure chart of video title generating means provided in an embodiment of the present invention;
Fig. 7 is the structure chart of a kind of electronic equipment provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention is described.
In the prior art, during generating video title, user is firstly the need of the word in browsing video content, so
Afterwards, user determines video title according to the word browsed to, and is manually entered determining video title, and finally, user needs core
Whether video title is inputted correctly.If video title input error, user needs to re-enter video title.As it can be seen that existing
There is the efficiency that video title generates in technology low.
Based on above-mentioned consideration, the present patent application provides a kind of video title generation method and device, can be applied to electricity
Sub- equipment, the electronic equipment can be terminals, can also be server.Above-mentioned electronic equipment can be broadcast by video playback apparatus
Put target video.When receiving image acquisition instruction input by user, electronic equipment can obtain target image, and to target
Image carries out Text region, obtains the corresponding target text of target text.Then, electronic equipment can be generated according to target text
Target video title.Based on above-mentioned processing, electronic equipment can identify the target text in target image, obtain target text
This, and then target video title is generated, the efficiency of video title generation can be improved.
Referring to Fig. 1, Fig. 1 is a kind of flow chart of video title generation method provided in an embodiment of the present invention, including:
S101:Target video is played by video playback apparatus.
In force, it when user produces TV shows, needs to make video for the required target video of TV programme
Title.In general, target video can be the video for including the word needed for making video title in video content.It is regarded for news
Frequently, the producer of the news video would generally will represent the label character of the content of the news video in the news video
In, for example, can occur, with the image of " 60 anniversary ceremonies of founding the state " word, can also carrying in one section of news video
The image of " 20 anniversary of the return of Hong kong " word.
Electronic equipment can play target video by video playback apparatus, specifically, when electronic equipment is terminal, electricity
Target video can be sent to the display (video playback apparatus) of the electronic equipment by sub- equipment, to play target video;When
When electronic equipment is server, target video can be sent to the display terminal (video playing with display by electronic equipment
Equipment) so that display terminal plays target video.Specifically, electronic equipment can first compress target video, then
Compressed target video is sent to display terminal, the transmission rate of target video can be improved, further increases video mark
Inscribe the efficiency generated.
S102:When receiving image acquisition instruction input by user, target image is obtained.
Wherein, target image can be the image for including target text in target video, and target text can be that user uses
In the word for generating video object video title, for example, target text can include the theme or keyword of target video.
In force, user can watch target video by video playback apparatus.When in the target video of user's viewing
A certain frame image in containing user need target text when, can be to electronic equipment input picture acquisition instruction.Electronics is set
It is standby then image acquisition instruction can be received, the video pictures that current time video playback apparatus plays are obtained, as target figure
Picture.Wherein, target image can be the frame image in target video, specifically, electronic equipment can be according to target video
The duration of broadcasting determines current time video playback apparatus frame image being played on, as target image.Target image
It can be the image for only including target text part in a frame image.For target image be in a frame image only include target
The acquisition process of target image will be discussed in detail in the case where image of word segment in subsequent embodiment.
S103:Text region is carried out to target image, obtains the corresponding target text of target text.
In force, Text region algorithm can be prestored in electronic equipment, according to Text region algorithm, identify mesh
Word (target text) in logo image, obtains target text.Wherein, Text region algorithm can be OCR (Optical
Character Recognition, optical character identification) algorithm, which can pass through detection with the character in detection image
Secretly, bright pattern determines the shape of character, and shape is then translated into word with character identifying method.
S104:Target video title is generated according to target text.
In force, electronic equipment can generate target video title according to target text.Generating target video title
During, electronic equipment can also receive modification instruction input by user, be modified to target text according to modification instruction,
Generate target video title.Specifically, the method that electronic equipment modifies to target text will be in subsequent embodiment in detail
It introduces.
As seen from the above, the video title generation method based on the embodiment of the present invention, electronic equipment can identify target
Target text in image obtains target text, and then generates target video title, can improve the effect of video title generation
Rate.
Optionally, target image can be the image for only including target text part in a frame image.Specifically, referring to figure
2, Fig. 2 be a kind of flow chart obtaining target image method provided in an embodiment of the present invention, wherein can be in image acquisition instruction
The coordinate information of the image identification and target image of the target frame image where target image in target frame image is carried, on
The method of stating includes:
S201:According to image identification, target frame image is obtained.
Wherein, image identification can be timestamp of the target frame image in target video, can also be target frame image
The serial number arranged in all frame images of target video.
In force, when the target text needed containing user in a certain frame image in the target video of user's viewing
When, if electronic equipment is terminal (can be computer), user can be exemplary to electronic equipment input picture acquisition instruction
, user can press pre-set sectional drawing shortcut key " R " key on the keyboard of computer, wherein sectional drawing shortcut key can be by
User setting.Electronic equipment can then obtain the video pictures of display current time broadcasting, as target frame image.If electric
Sub- equipment is server, and user can then determine current time to electronic equipment input picture acquisition instruction, electronic equipment
Video playback apparatus frame image being played on, at this point, electronic equipment can be obtained from the target video being locally stored
The frame image of corresponding high definition is sent to video playback apparatus as target frame image, and by target frame image.
S202:According to coordinate information, from target frame extracting target from images image.
Wherein, when target image is rectangle, coordinate information may include four vertex pixels of target image in target
Coordinate in frame image;If target image is other shapes, coordinate information may include that the pixel at the edge of target image exists
Coordinate in target frame image.
In force, when the target text needed containing user in a certain frame image in the target video of user's viewing
When, can also directly target image be selected in video playback apparatus center.Electronic equipment can be according to coordinate information, in target frame
The position of target image is determined in image, and then obtains target image.
As seen from the above, the video title generation method based on the embodiment of the present invention, the target image that electronic equipment obtains
It can be the image for only including target text part in target frame image, the accuracy of Text region can be improved, and then improve
The efficiency that video title generates.
Optionally, it is a kind of stream for method of modifying to target text provided in an embodiment of the present invention referring to Fig. 3, Fig. 3
Cheng Tu, including:
S301:Receive the deletion instruction of the extra word in corresponding target text input by user.
Wherein, extra word can be one, can also be multiple.
In force, when user browse determine target text when, if user need it is more in delete target text
Remaining word can input to electronic equipment and delete instruction, and electronic equipment can then receive deletion instruction.
S302:Extra word is deleted from target text, obtains target video title.
In force, after electronic equipment receives deletion instruction, extra word can be deleted from target text.
As seen from the above, the video title generation method based on the embodiment of the present invention, electronic equipment can be with delete target texts
Extra word in this meets the individual demand of user, improves user experience.
Optionally, referring to Fig. 4, Fig. 4 is that second pair of target text provided in an embodiment of the present invention is modified method
Flow chart, including:
S401:Receive addition instruction input by user.
Wherein, user can be carried in addition instruction needs word to be added and needs word to be added in target text
In location information.It can be one to need word to be added, can also be multiple.
In force, when user browses the target text determined, if user needs to add text in target text
Word, can input addition instruction to electronic equipment, and electronic equipment can then receive addition instruction.
S402:It needs word to be added to be added to corresponding position in target text user, obtains target video title.
In force, after electronic equipment receives addition instruction, word to be added can be needed to be added to target user
Corresponding position in text.
As seen from the above, the video title generation method based on the embodiment of the present invention, electronic equipment can need user
The word of addition is added in target text, meets the individual demand of user, improves user experience.
Optionally, it can also realize that electronic equipment filters out the target text of user's selection from determining each target text
This.Specifically, when the image acquisition instruction that electronic equipment receives is multiple, above-mentioned processing step can also include:It receives
Selection instruction input by user;The desired title text of user's selection is obtained from each target text of acquisition;According to target mark
Inscribe text generation target video title.
In force, user repeatedly input picture acquisition instruction, electronic equipment can then can obtain each image and obtain
Instruction, and then determine corresponding each target text.Each target text determined can be passed through video playing by electronic equipment
Equipment is shown to user.User can then select as needed, be instructed to electronic equipment input selection.Electronic equipment then may be used
To receive selection instruction, the desired title text of user's selection is obtained from each target text, and according to desired title text
Generate target video title.Specifically, electronic equipment can join according to the step of desired title text generation target video title
It is admitted to the method for stating S104, details are not described herein.
As seen from the above, video title generation method based on the embodiment of the present invention, electronic equipment can be determined
Multiple target texts, and the desired title text generation target video title selected according to user, can improve user experience.
Optionally, the above method can also include:
Target video title is sent to preset user terminal, so that user terminal exports target video title.
Wherein, above-mentioned user terminal can be above-mentioned video playback apparatus, can also be other-end.
As seen from the above, the video title generation method based on the embodiment of the present invention, electronic equipment can be by target videos
Title is sent to the user terminal, so that user terminal exports target video title, facilitates user's browsing objective video title, is improved
User experience.
Referring to Fig. 5, Fig. 5 is a kind of application scenario diagram of video title generation method provided in an embodiment of the present invention, including:
Electronic equipment 501 and video playback apparatus 502, in this application scenarios, electronic equipment 501 can be server,
Video playback apparatus 502 can be computer.User can send video preprocessor by video playback apparatus 502 to electronic equipment 501
Look at request.Electronic equipment is sent to video playback apparatus 502 after can compressing target video, so that video playback apparatus 502
Target video is played, is broadcast with Animation Editors flash specifically, solid-state memory can be equipped in video playback apparatus 502
Device is put, for playing target video.User can watch the target video of the broadcasting of video playback apparatus 502, when user needs to obtain
When taking target image, video playback apparatus 502 can be used to send image to electronic equipment 501 and obtain request.Electronic equipment 501
Target frame image can be obtained, target frame image is sent to video playback apparatus 502.When user passes through video playback apparatus
When 502 viewing target frame image, target image can be selected by 502 frame of video playback apparatus.Then, user can be by regarding
Frequency playback equipment 502 sends OCR identification requests to electronic equipment 501, and the coordinate information of target image is sent to electronics and is set
Standby 501.Electronic equipment 501 can carry out Text region according to OCR recognizers to the target image that subscriber frame selects, and obtain target
Text, and target video title is generated, target video title is sent to video playback apparatus 502.Video playback apparatus 502 can
Target video title is shown to user.
Corresponding with the embodiment of the method for Fig. 1, referring to Fig. 6, Fig. 6 is a kind of video title life provided in an embodiment of the present invention
At the structure chart of device, including:
Playing module 601 plays target video for passing through video playback apparatus;
Acquisition module 602, for when receiving image acquisition instruction input by user, obtaining target image, wherein institute
It is the image for including target text in the target video to state target image;
Identification module 603 obtains the corresponding target of the target text for carrying out Text region to the target image
Text;
Generation module 604, for generating target video title according to the target text.
Optionally, the image identification of the target frame image where the target image is carried in described image acquisition instruction
And coordinate information of the target image in the target frame image;
The acquisition module 602 obtains the target frame image specifically for being identified according to described image;
According to the coordinate information, the target image is extracted from the target frame image.
Optionally, the generation module 604 is specifically used for receiving in the correspondence target text input by user
The deletion of extra word instructs,
The extra word is deleted from the target text, obtains target video title.
Optionally, the generation module 604 is specifically used for receiving the addition instruction input by user, wherein described to add
Add and carries user's need word to be added and user need word to be added in instruction in the target text
Location information;
It needs word to be added to be added to corresponding position in the target text user, obtains target video mark
Topic.
Optionally, when the image acquisition instruction received is multiple, the generation module 604 is specifically used for receiving and use
The selection instruction of family input;
The desired title text of user's selection is obtained from each target text of acquisition;
According to the desired title text generation target video title.
Optionally, described device further includes:
Sending module, for the target video title to be sent to preset user terminal, so that the user terminal
Export the target video title.
As seen from the above, the video title generating means based on the embodiment of the present invention, can identify in target image
Target text obtains target text, and then generates target video title, can improve the efficiency of video title generation.
The embodiment of the present invention additionally provides a kind of electronic equipment, as shown in fig. 7, comprises processor 701, communication interface 702,
Memory 703 and communication bus 704, wherein processor 701, communication interface 702, memory 703 are complete by communication bus 704
At mutual communication,
Memory 703, for storing computer program;
Processor 701 when for executing the program stored on memory 703, realizes following steps:
Target video is played by video playback apparatus;
When receiving image acquisition instruction input by user, target image is obtained, wherein the target image is described
Include the image of target text in target video;
Text region is carried out to the target image, obtains the corresponding target text of the target text;
Target video title is generated according to the target text.
The communication bus 704 that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral
Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry
Standard Architecture, abbreviation EISA) bus etc..The communication bus 704 can be divided into address bus, data/address bus,
Controlling bus etc..For ease of indicating, only indicated with a thick line in figure, it is not intended that an only bus or a type of
Bus.
Communication interface 702 is for the communication between above-mentioned electronic equipment and other equipment.
Memory 703 may include random access memory (Random Access Memory, abbreviation RAM), can also
Including nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Optionally, memory
703 can also be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor 701 can be general processor, including central processing unit (Central Processing
Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;It can also be digital signal processor
(Digital Signal Processing, abbreviation DSP), application-specific integrated circuit (Application Specific
Integrated Circuit, abbreviation ASIC), field programmable gate array (Field-Programmable Gate Array,
Abbreviation FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.
Electronic equipment provided in an embodiment of the present invention can identify the mesh in target image when generating video title
Word is marked, target text is obtained, and then generate target video title, the efficiency of video title generation can be improved.
The embodiment of the present invention additionally provides a kind of computer readable storage medium, is stored in the computer readable storage medium
There is instruction, when run on a computer so that computer executes video title generation method provided in an embodiment of the present invention.
Specifically, above-mentioned video title generation method, including:
Target video is played by video playback apparatus;
When receiving image acquisition instruction input by user, target image is obtained, wherein the target image is described
Include the image of target text in target video;
Text region is carried out to the target image, obtains the corresponding target text of the target text;
Target video title is generated according to the target text.
It should be noted that other realization methods of above-mentioned video title generation method and preceding method embodiment part phase
Together, which is not described herein again.
By running the instruction stored in computer readable storage medium provided in an embodiment of the present invention, video mark is being generated
When topic, the target text in target image can be identified, obtain target text, and then generate target video title, Neng Gouti
The efficiency that high video title generates.
The embodiment of the present invention additionally provides a kind of computer program product including instruction, when it runs on computers
When so that computer executes video title generation method provided in an embodiment of the present invention.
Specifically, above-mentioned video title generation method, including:
Target video is played by video playback apparatus;
When receiving image acquisition instruction input by user, target image is obtained, wherein the target image is described
Include the image of target text in target video;
Text region is carried out to the target image, obtains the corresponding target text of the target text;
Target video title is generated according to the target text.
It should be noted that other realization methods of above-mentioned video title generation method and preceding method embodiment part phase
Together, which is not described herein again.
It can be identified by running computer program product provided in an embodiment of the present invention when generating video title
Target text in target image obtains target text, and then generates target video title, can improve video title generation
Efficiency.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or its arbitrary combination real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.The computer program
Product includes one or more computer instructions.When loading on computers and executing the computer program instructions, all or
It partly generates according to the flow or function described in the embodiment of the present invention.The computer can be all-purpose computer, special meter
Calculation machine, computer network or other programmable devices.The computer instruction can be stored in computer readable storage medium
In, or from a computer readable storage medium to the transmission of another computer readable storage medium, for example, the computer
Instruction can pass through wired (such as coaxial cable, optical fiber, number from a web-site, computer, server or data center
User's line (DSL)) or wireless (such as infrared, wireless, microwave etc.) mode to another web-site, computer, server or
Data center is transmitted.The computer readable storage medium can be any usable medium that computer can access or
It is comprising data storage devices such as one or more usable mediums integrated server, data centers.The usable medium can be with
It is magnetic medium, (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor medium (such as solid state disk
Solid State Disk (SSD)) etc..
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is all made of relevant mode and describes, identical similar portion between each embodiment
Point just to refer each other, and each embodiment focuses on the differences from other embodiments.Especially for device,
For electronic equipment, computer readable storage medium, computer program product embodiments, implement since it is substantially similar to method
Example, so description is fairly simple, the relevent part can refer to the partial explaination of embodiments of method.
Claims (13)
1. a kind of video title generation method, which is characterized in that the method includes:
Target video is played by video playback apparatus;
When receiving image acquisition instruction input by user, target image is obtained, wherein the target image is the target
Include the image of target text in video;
Text region is carried out to the target image, obtains the corresponding target text of the target text;
Target video title is generated according to the target text.
2. according to the method described in claim 1, it is characterized in that, carrying the target image in described image acquisition instruction
Coordinate information of the image identification and the target image of the target frame image at place in the target frame image;
The acquisition target image, including:
It is identified according to described image, obtains the target frame image;
According to the coordinate information, the target image is extracted from the target frame image.
3. according to the method described in claim 1, it is characterized in that, described generate target video mark according to the target text
Topic, including:
The deletion instruction of the extra word in the correspondence input by user target text is received,
The extra word is deleted from the target text, obtains target video title.
4. according to the method described in claim 1, it is characterized in that, described generate target video mark according to the target text
Topic, including:
Receive the addition instruction input by user, wherein carrying the user in the addition instruction needs text to be added
The location information of word and the need word to be added in the target text;
It needs word to be added to be added to corresponding position in the target text user, obtains target video title.
5. according to the method described in claim 1, it is characterized in that, when the image acquisition instruction received be it is multiple when, it is described
Target video title is generated according to the target text, including:
Receive the selection instruction input by user;
The desired title text of user's selection is obtained from each target text of acquisition;
According to the desired title text generation target video title.
6. according to the method described in claim 1, it is characterized in that, generating target video mark according to the target text described
After topic, the method further includes:
The target video title is sent to preset user terminal, so that the user terminal exports the target video mark
Topic.
7. a kind of video title generating means, which is characterized in that described device includes:
Playing module plays target video for passing through video playback apparatus;
Acquisition module, for when receiving image acquisition instruction input by user, obtaining target image, wherein the target
Image is the image for including target text in the target video;
Identification module obtains the corresponding target text of the target text for carrying out Text region to the target image;
Generation module, for generating target video title according to the target text.
8. device according to claim 7, which is characterized in that carry the target image in described image acquisition instruction
Coordinate information of the image identification and the target image of the target frame image at place in the target frame image;
The acquisition module obtains the target frame image specifically for being identified according to described image;
According to the coordinate information, the target image is extracted from the target frame image.
9. device according to claim 7, which is characterized in that
The generation module is specifically used for receiving the deletion of the extra word in the correspondence target text input by user
Instruction,
The extra word is deleted from the target text, obtains target video title.
10. device according to claim 7, which is characterized in that
The generation module is specifically used for receiving the addition instruction input by user, wherein carry in the addition instruction
The user needs word to be added and the user to need location information of the word to be added in the target text;
It needs word to be added to be added to corresponding position in the target text user, obtains target video title.
11. device according to claim 7, which is characterized in that described when the image acquisition instruction received is multiple
Generation module is specifically used for receiving the selection instruction input by user;
The desired title text of user's selection is obtained from each target text of acquisition;
According to the desired title text generation target video title.
12. device according to claim 7, which is characterized in that described device further includes:
Sending module, for the target video title to be sent to preset user terminal, so that the user terminal exports
The target video title.
13. a kind of electronic equipment, which is characterized in that including processor, communication interface, memory and communication bus, wherein described
Processor, the communication interface, the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor when for executing the program stored on the memory, realizes any sides claim 1-6
Method step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810210914.9A CN108495185B (en) | 2018-03-14 | 2018-03-14 | Video title generation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810210914.9A CN108495185B (en) | 2018-03-14 | 2018-03-14 | Video title generation method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108495185A true CN108495185A (en) | 2018-09-04 |
CN108495185B CN108495185B (en) | 2021-04-16 |
Family
ID=63339301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810210914.9A Active CN108495185B (en) | 2018-03-14 | 2018-03-14 | Video title generation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108495185B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110399526A (en) * | 2019-07-26 | 2019-11-01 | 腾讯科技(深圳)有限公司 | Generation method, device and the computer readable storage medium of video title |
CN110489674A (en) * | 2019-07-02 | 2019-11-22 | 百度在线网络技术(北京)有限公司 | Page processing method, device and equipment |
CN110533079A (en) * | 2019-08-05 | 2019-12-03 | 贝壳技术有限公司 | Form method, apparatus, medium and the electronic equipment of image pattern |
CN111353070A (en) * | 2020-02-18 | 2020-06-30 | 北京百度网讯科技有限公司 | Video title processing method and device, electronic equipment and readable storage medium |
CN111368557A (en) * | 2020-03-06 | 2020-07-03 | 北京字节跳动网络技术有限公司 | Video content translation method, device, equipment and computer readable medium |
CN112418215A (en) * | 2020-11-17 | 2021-02-26 | 峰米(北京)科技有限公司 | Video classification identification method and device, storage medium and equipment |
CN112818984A (en) * | 2021-01-27 | 2021-05-18 | 北京奇艺世纪科技有限公司 | Title generation method and device, electronic equipment and storage medium |
CN113378000A (en) * | 2021-07-06 | 2021-09-10 | 北京奇艺世纪科技有限公司 | Video title generation method and device |
CN114363714A (en) * | 2021-12-31 | 2022-04-15 | 阿里巴巴(中国)有限公司 | Title generation method, title generation device and storage medium |
CN114938477A (en) * | 2022-06-23 | 2022-08-23 | 阿里巴巴(中国)有限公司 | Video topic determination method, device and equipment |
WO2023016349A1 (en) * | 2021-08-13 | 2023-02-16 | 北京字跳网络技术有限公司 | Text input method and apparatus, and electronic device and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006140603A (en) * | 2004-11-10 | 2006-06-01 | Pioneer Electronic Corp | Information processor, information processing method and program, and recording medium with the program recorded thereon, and display controller |
CN101609365A (en) * | 2009-07-21 | 2009-12-23 | 上海合合信息科技发展有限公司 | Characters input method and system, electronic equipment and keyboard thereof |
CN101790049A (en) * | 2010-02-25 | 2010-07-28 | 深圳市茁壮网络股份有限公司 | Newscast video segmentation method and system |
CN101887439A (en) * | 2009-05-13 | 2010-11-17 | 富士通株式会社 | Method and device for generating video abstract and image processing system including device |
CN103020581A (en) * | 2011-09-21 | 2013-04-03 | 富士施乐株式会社 | Information processing apparatus and information processing method |
CN103106387A (en) * | 2011-11-15 | 2013-05-15 | 中国科学院深圳先进技术研究院 | Method and device of image recognition |
US20150146984A1 (en) * | 2013-11-22 | 2015-05-28 | Parchment | System and method for identification and extraction of data |
CN105120338A (en) * | 2015-08-26 | 2015-12-02 | 无锡天脉聚源传媒科技有限公司 | Method and apparatus for processing television program pictures |
CN106845390A (en) * | 2017-01-18 | 2017-06-13 | 腾讯科技(深圳)有限公司 | Video title generation method and device |
CN107679156A (en) * | 2017-09-27 | 2018-02-09 | 努比亚技术有限公司 | A kind of video image identification method and terminal, readable storage medium storing program for executing |
-
2018
- 2018-03-14 CN CN201810210914.9A patent/CN108495185B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006140603A (en) * | 2004-11-10 | 2006-06-01 | Pioneer Electronic Corp | Information processor, information processing method and program, and recording medium with the program recorded thereon, and display controller |
CN101887439A (en) * | 2009-05-13 | 2010-11-17 | 富士通株式会社 | Method and device for generating video abstract and image processing system including device |
CN101609365A (en) * | 2009-07-21 | 2009-12-23 | 上海合合信息科技发展有限公司 | Characters input method and system, electronic equipment and keyboard thereof |
CN101790049A (en) * | 2010-02-25 | 2010-07-28 | 深圳市茁壮网络股份有限公司 | Newscast video segmentation method and system |
CN103020581A (en) * | 2011-09-21 | 2013-04-03 | 富士施乐株式会社 | Information processing apparatus and information processing method |
CN103106387A (en) * | 2011-11-15 | 2013-05-15 | 中国科学院深圳先进技术研究院 | Method and device of image recognition |
US20150146984A1 (en) * | 2013-11-22 | 2015-05-28 | Parchment | System and method for identification and extraction of data |
CN105120338A (en) * | 2015-08-26 | 2015-12-02 | 无锡天脉聚源传媒科技有限公司 | Method and apparatus for processing television program pictures |
CN106845390A (en) * | 2017-01-18 | 2017-06-13 | 腾讯科技(深圳)有限公司 | Video title generation method and device |
CN107679156A (en) * | 2017-09-27 | 2018-02-09 | 努比亚技术有限公司 | A kind of video image identification method and terminal, readable storage medium storing program for executing |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489674A (en) * | 2019-07-02 | 2019-11-22 | 百度在线网络技术(北京)有限公司 | Page processing method, device and equipment |
CN110399526A (en) * | 2019-07-26 | 2019-11-01 | 腾讯科技(深圳)有限公司 | Generation method, device and the computer readable storage medium of video title |
CN110399526B (en) * | 2019-07-26 | 2023-02-28 | 腾讯科技(深圳)有限公司 | Video title generation method and device and computer readable storage medium |
CN110533079B (en) * | 2019-08-05 | 2022-05-24 | 贝壳技术有限公司 | Method, apparatus, medium, and electronic device for forming image sample |
CN110533079A (en) * | 2019-08-05 | 2019-12-03 | 贝壳技术有限公司 | Form method, apparatus, medium and the electronic equipment of image pattern |
CN111353070A (en) * | 2020-02-18 | 2020-06-30 | 北京百度网讯科技有限公司 | Video title processing method and device, electronic equipment and readable storage medium |
CN111353070B (en) * | 2020-02-18 | 2023-08-18 | 北京百度网讯科技有限公司 | Video title processing method and device, electronic equipment and readable storage medium |
CN111368557A (en) * | 2020-03-06 | 2020-07-03 | 北京字节跳动网络技术有限公司 | Video content translation method, device, equipment and computer readable medium |
CN112418215A (en) * | 2020-11-17 | 2021-02-26 | 峰米(北京)科技有限公司 | Video classification identification method and device, storage medium and equipment |
CN112818984A (en) * | 2021-01-27 | 2021-05-18 | 北京奇艺世纪科技有限公司 | Title generation method and device, electronic equipment and storage medium |
CN112818984B (en) * | 2021-01-27 | 2023-10-24 | 北京奇艺世纪科技有限公司 | Title generation method, device, electronic equipment and storage medium |
CN113378000A (en) * | 2021-07-06 | 2021-09-10 | 北京奇艺世纪科技有限公司 | Video title generation method and device |
CN113378000B (en) * | 2021-07-06 | 2023-09-05 | 北京奇艺世纪科技有限公司 | Video title generation method and device |
WO2023016349A1 (en) * | 2021-08-13 | 2023-02-16 | 北京字跳网络技术有限公司 | Text input method and apparatus, and electronic device and storage medium |
CN114363714A (en) * | 2021-12-31 | 2022-04-15 | 阿里巴巴(中国)有限公司 | Title generation method, title generation device and storage medium |
CN114363714B (en) * | 2021-12-31 | 2024-01-05 | 阿里巴巴(中国)有限公司 | Title generation method, title generation device and storage medium |
CN114938477A (en) * | 2022-06-23 | 2022-08-23 | 阿里巴巴(中国)有限公司 | Video topic determination method, device and equipment |
CN114938477B (en) * | 2022-06-23 | 2024-05-03 | 阿里巴巴(中国)有限公司 | Video topic determination method, device and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108495185B (en) | 2021-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108495185A (en) | A kind of video title generation method and device | |
US9330098B2 (en) | User interface operating method and electronic device with the user interface and program product storing program for operating the user interface | |
CN109168026A (en) | Instant video display methods, device, terminal device and storage medium | |
CN109981695B (en) | Content pushing method, device and equipment | |
CN102831537B (en) | A kind of method and device obtaining network advertisement information | |
CN111541930B (en) | Live broadcast picture display method and device, terminal and storage medium | |
US10929460B2 (en) | Method and apparatus for storing resource and electronic device | |
CN104284249A (en) | Video playing method and device | |
CN108366278A (en) | A kind of user in video playing interacts implementation method and device | |
CN103634652A (en) | Station caption identification method, station caption identification device, TV (Television) and station caption identification system | |
CN105100911A (en) | Intelligent multimedia system and method | |
CN108228776B (en) | Data processing method, data processing device, storage medium and electronic equipment | |
US20230316529A1 (en) | Image processing method and apparatus, device and storage medium | |
CN104881486A (en) | Method, terminal equipment and system for querying information | |
CN111669622A (en) | Method and device for determining default play relationship of videos and electronic equipment | |
CN106407310B (en) | Video file processing method and video file processing device | |
CA3102425C (en) | Video processing method, device, terminal and storage medium | |
CN110198468A (en) | A kind of video caption display methods, device and electronic equipment | |
CN112788090B (en) | Network resource transmission method, device and system | |
WO2024002092A1 (en) | Method and apparatus for pushing video, and storage medium | |
CN112328895A (en) | User portrait generation method, device, server and storage medium | |
CN106375826A (en) | Video playing method and device | |
CN103631872A (en) | Method for playing multimedia files and electronic terminal | |
EP3598738A1 (en) | Video synthesis method, apparatus and device, and video playing method, apparatus and device | |
CN111414495B (en) | Multimedia data acquisition method, device and computer readable 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |