CN110246196A - A kind of method and electronic equipment generating dynamic picture based on artificial intelligence - Google Patents

A kind of method and electronic equipment generating dynamic picture based on artificial intelligence Download PDF

Info

Publication number
CN110246196A
CN110246196A CN201910335072.4A CN201910335072A CN110246196A CN 110246196 A CN110246196 A CN 110246196A CN 201910335072 A CN201910335072 A CN 201910335072A CN 110246196 A CN110246196 A CN 110246196A
Authority
CN
China
Prior art keywords
picture
dynamic picture
static images
artificial intelligence
broadcasting speed
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
CN201910335072.4A
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.)
Shenzhen Dianmao Technology Co Ltd
Original Assignee
Shenzhen Dianmao Technology 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 Shenzhen Dianmao Technology Co Ltd filed Critical Shenzhen Dianmao Technology Co Ltd
Priority to CN201910335072.4A priority Critical patent/CN110246196A/en
Publication of CN110246196A publication Critical patent/CN110246196A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • 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
    • G06T13/00Animation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Circuits (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention discloses a kind of method and electronic equipment that dynamic picture is generated based on artificial intelligence, the method includes the steps: plurality of pictures is directed into a picture editor interface in advance;Broadcasting speed is set, and is synthesized according to plurality of pictures of the broadcasting speed to importing, Target Photo is obtained.The method provided through the invention, user can first add plurality of pictures, then set broadcasting speed, thus the Target Photo met the requirements.Solve the problems, such as directly set dynamic picture broadcasting speed in the prior art, also, method provided by the invention have the characteristics that it is simple, high-efficient.

Description

A kind of method and electronic equipment generating dynamic picture based on artificial intelligence
Technical field
Field of image processing of the present invention more particularly to a kind of method and electronics that dynamic picture is generated based on artificial intelligence Equipment.
Background technique
With the continuous development of life, dynamic picture also plays an increasingly important role in people's lives.With Family can be exchanged by dynamic picture, for example, having the expression packet of text;A variety of letters can also be obtained by dynamic picture Breath, for example, obtaining figure action information etc..
Moreover, more and more programming softwares support addition dynamic picture, for example, source code editing machine, source code editor Device is a kind of editing machine of code comprising drawing board unit, music unit etc..Background sound can be edited out by source code editing machine Happy, cartoon video etc..
When source code editing machine adds dynamic picture, user is often desirable to participate in the synthesis of dynamic picture, editor, however, Its broadcasting speed of the tool of existing synthesis dynamic picture is fixed, and can not be changed.That is, there is no change the prior art Become the method or apparatus of picture playing speed.
Therefore, the existing technology needs to be improved and developed.
Summary of the invention
In view of above-mentioned deficiencies of the prior art, the purpose of the present invention is to provide one kind is broadcast based on artificial intelligence control picture Put the method and electronic equipment of speed, it is intended to solve the problems, such as the problems such as can not directly setting dynamic picture broadcasting speed.
Technical scheme is as follows:
A method of dynamic picture being generated based on artificial intelligence comprising step:
A, plurality of pictures is directed into a picture editor interface in advance;
B, broadcasting speed is set, and is synthesized according to plurality of pictures of the broadcasting speed to importing, target figure is obtained Piece.
Preferably, after the step A, before B further include:
It responds user and adds the instruction of text and/or figure, and the text and/or figure are added to the picture In.
Preferably, the picture is dynamic picture or static images.
Preferably, when the picture is dynamic picture, after the step A, before B further include:
Dynamic picture is resolved to the instruction of multiple static images by response user, obtains multiple static images.
Preferably, dynamic picture is resolved to the instruction of multiple static images by the response user, obtains multiple static maps After the step of piece, before step B further include:
The instruction that user selects static images is responded, corresponding static images are selected.
Preferably, the broadcasting speed is arranged by a speed adjustment module.
Preferably, the step B is specifically included:
B1, when playing when the user clicks, pass through display module preview result of broadcast;
B2, broadcasting speed is set by the speed adjustment module, picture is synthesized according to the broadcasting speed of setting, Obtain Target Photo.
Preferably, after the step B further include:
The Target Photo is added to material database or saved to the instruction of memory by response user, and Target Photo is protected It deposits.
The present invention also provides a kind of electronic equipment comprising:
Processor is adapted for carrying out each instruction, and
Equipment is stored, is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being executed by processor:
Plurality of pictures is directed into a picture editor interface in advance;
Broadcasting speed is set, and is synthesized according to plurality of pictures of the broadcasting speed to importing, Target Photo is obtained.
Preferably, the picture is dynamic picture or static images.
The utility model has the advantages that the method provided through the invention, user can first add plurality of pictures, then set broadcasting speed, Target Photo to be met the requirements.Asking for dynamic picture broadcasting speed can not directly be set in the prior art by solving Topic, also, method provided by the invention have the characteristics that it is simple, high-efficient.
Detailed description of the invention
Fig. 1 is the flow chart that the method preferred embodiment of dynamic picture is generated the present invention is based on artificial intelligence.
Fig. 2 is the structural block diagram of a kind of electronic equipment preferred embodiment of the present invention.
Specific embodiment
The present invention provides the method and electronic equipment that dynamic picture is generated based on artificial intelligence, to make mesh of the invention , technical solution and effect it is clearer, clear, the present invention is described in more detail below.It should be appreciated that described herein Specific embodiment be only used to explain the present invention, be not intended to limit the present invention.
Referring to Fig. 1, the method for generating dynamic picture based on artificial intelligence comprising step:
S1, plurality of pictures is directed into a picture editor interface in advance;
S2, setting broadcasting speed, and synthesized according to plurality of pictures of the broadcasting speed to importing, obtain target figure Piece.
The method provided through the invention need to only import picture, the mesh that setting broadcasting speed can be met the requirements It marks on a map piece, this method undoubtedly has the characteristics that simple, convenient, efficient.Moreover, method of the invention is suitble to each age The user of stratum, even if the Target Photo that the method that child can also provide through the invention is met the requirements.
In the step S1, the picture is dynamic picture or static images, and the dynamic picture specifically refers to GIF format Dynamic Graph, the static images can be the image of JPG format, the image for being also possible to PNG format etc..The picture is compiled Editing interface refers to the interface for being edited to picture, and specifically how to edit to be described in detail below.In this way, user can By picture, including exterior artwork (for example, picture in mobile USB flash disk) and intra pictures (for example, picture of electronic equipment internal) It adds in (importing) to the picture editor interface.
Preferably, after the step S1, before S2 further include:
It responds user and adds the instruction of text and/or figure, and the text and/or figure are added to the picture In.
After user adds picture, it can also be checked by the display module in the picture editor interface and preview graph Piece.Also, user can also add text, increase figure etc. for picture, can also amplify, reduce, rotate to picture Deng.For example, be the increased text of picture A be " 123456 ", and for picture A increase by one " triangle ", picture A is amplified to original 2 times come, rotate clockwise 90 ° etc. around the central point of figure for picture A.
Preferably, when the picture is dynamic picture, after the step S1, before S2 further include:
Y, dynamic picture is resolved to the instruction of multiple static images by response user, obtains multiple static images.
Picture in the present invention can be static images, be also possible to dynamic picture.Explanation about dynamic picture has existed It is illustrated in above-mentioned steps, so not repeating them here.
In the step Y, if the picture of user's addition is dynamic picture, i.e. GIF Dynamic Graph, then the picture editor The dynamic picture that user adds will be resolved to multiple static images automatically by interface.Specifically, since dynamic picture is by more Static images composition is opened, every static images are that the frame picture of dynamic picture (forms the minimum picture list of dynamic picture Position), in this way, dynamic picture sequence can be turned to static images (specifically referring to frame picture) by way of parsing.For example, Dynamic picture A is made of 5 static images, then can will move after dynamic picture is directed into the picture editor interface State picture A resolves to 5 static images, and five static images are respectively a, b, c, d and e.In this way, can be directly by dynamic Picture resolves to static images.
Preferably, the mode of parsing can be realized in the way of Fixed Time Interval, can also be according to fixed frame number Mode realize.
The Fixed Time Interval refers to pre-defined time interval, is then separated by according to the time and solves to dynamic picture Analysis.For example, pre-defined time interval is 0.5s, the dynamic picture A of a length of 2s of clock synchronization is parsed, then will be in dynamic picture 0.5s at, parsed at 1s, at 1.5s and at 2s, obtain 4 static images, i.e. totally 4 frame pictures;Again For example, pre-defined time interval is 0.5s, the dynamic picture B of a length of 4s of clock synchronization is parsed, will be the of dynamic picture It is parsed, is obtained at 0.5s, at 1s, at 1.5s, at 2s, at 2.5s, at 3s, at 3.5s and at 4s 8 static images, i.e. totally 8 frame pictures.
The fixed frame number specifically refers to first set frame number threshold value, then according to the frame number threshold value of setting to dynamic picture into Row parsing, obtains static images.For example, presetting frame number threshold value is 5, the dynamic picture A of a length of 1s of clock synchronization is parsed, that It will be parsed at the 0.2s of dynamic picture, at 0.4s, at 0.6s, at 0.8s and at 1s, obtain 5 Static images, i.e. totally 5 frame pictures;For another example presetting frame number threshold value is 5, the dynamic picture B of a length of 5s of clock synchronization is solved Analysis, then by being parsed at the 1s of dynamic picture, at 2s, at 3s, at 4s and at 5s, obtain 5 it is quiet State picture, i.e. totally 5 frame pictures.
In the step S2, broadcasting speed is first set, then picture editor interface is according to the broadcasting speed of setting to user The picture of addition is synthesized, and Target Photo is obtained.Specific step will be described in detail below.
Preferably, the broadcasting speed is arranged by a speed adjustment module.
The picture editor interface includes above-mentioned display module and speed adjustment module.The speed adjustment module tool Body refers to speed regulating key (virtual key), can set broadcasting speed by the speed regulating key, specifically visible to broadcast It puts speed and is set as 0.2X, 0.5X, 0.8X, 1X, 2X, 3X, 4X, 5X, 10X etc., X among the above specifically refers to multiple, and before X The numerical value in face is bigger, and broadcasting speed is faster, for example, the broadcasting speed of 10X is greater than the broadcasting speed of 0.2X.
Preferably, the speed regulating key is roller type press key.User can be changed by upward, drag down idler wheel Become broadcasting speed.
Preferably, the speed regulating key includes that speed plus key and speed subtract key.User can be by clicking the speed Plus key increases broadcasting speed, and user can subtract key reduction broadcasting speed by clicking the speed.
Preferably, after the step Y, before step B further include:
Z, response user selects the instruction of static images, selects corresponding static images.
In the step Z, after dynamic picture is resolved to static images by the picture editor interface, user can also lead to It crosses the picture editor interface and selects one or more static images therein.It will dynamic for example, first passing through picture editor interface Picture A resolves to 5 static images, and five static images are respectively a, b, c, d and e, then select static images c, d and e. In this way, user can select in dynamic picture suitable, clearly static images.
Preferably, the step S2 is specifically included:
S21, when playing when the user clicks, pass through display module preview result of broadcast;
S22, broadcasting speed is set by the speed adjustment module, picture is closed according to the broadcasting speed of setting At obtaining Target Photo.
In the step S21, the click play refers to click " broadcasting " key (virtual key), presses in click " broadcasting " It, can be by the effect of the display module preview picture at the picture editor interface, for example, passing through the display module preview after key Picture after adding text;Picture after adding figure by the display module preview;It is quiet by the display module preview State picture (static images parsed by dynamic picture) etc..
In the step S22, institute can be passed through at the same time by first passing through the speed adjustment module setting broadcasting speed Display module preview effect is stated, if met the requirements, picture can be synthesized according to the broadcasting speed, is obtained corresponding Target Photo.
Preferably, after the step S2 further include:
The Target Photo is added to material database or saved to the instruction of memory, by target figure by S3, response user Piece saves.
The material database specifically indicates that the server of Target Photo can be stored, and Target Photo can be uploaded to material by user Library can also download Target Photo by material database.The memory is specially that mobile USB flash disk, mobile hard disk, CD, hard disk etc. are deposited Reservoir.In this way, Target Photo can be saved, and can be with invocation target picture.
It should be noted that the present invention is applied particularly to the drawing board unit in source code editor.The source code editing machine exists It is discussed in detail in background technique, so not repeating them here.
Below by 2 specific embodiments, the present invention will be further described, but is not used in the limitation present invention.
Embodiment 1
For picture be static images the case where.Static images A, static images B and static images C are first added to by user It in picture editor interface, and can be that static images add text, figure etc. by picture editor interface.For example, by text " 124789 " are added in static images A;Figure " circle " is added in static images B;Pass through the rubber at picture editor interface Skin wipes the word segment etc. of tool erasing static images C, it is, of course, also possible to be carried out by picture editor interface to static images The operations such as rotation, amplification, diminution.Also, user can carry out preview to picture by the display module.
Then, suitable broadcasting speed is set by the broadcasting speed control module, for example, the broadcasting speed set as 0.5X, in this way, dynamic picture D (i.e. Target Photo) can be synthesized by static images A, static images B and static images C.
Embodiment 2
It is dynamic picture for picture.Dynamic picture A, dynamic picture B are first added to the picture editor interface by user In, then dynamic picture will be parsed into multiple static images (frame picture), and dynamic picture A automatically by the picture editor interface It parses obtained frame picture to specifically include: frame picture q, frame picture w, frame picture e, frame picture r and frame picture t;Dynamic picture B solution It analyses obtained frame picture to specifically include: frame picture a, frame picture s, frame picture d and frame picture f.Likewise, user can pass through picture Editing interface is to frame picture addition text, figure etc., and specific step of adding is described in detail in above-mentioned steps, so not doing superfluous It states.
Then, user can set suitable broadcasting speed by the broadcasting speed control module, for example, setting is broadcast Putting speed is 2X, and selects frame picture r, frame picture t, frame picture d and frame picture f therein, in this way, can be to selection dynamic The partial frame picture in partial frame picture and dynamic picture B in picture A is synthesized, and dynamic picture C (i.e. target figure is obtained Piece).
Certainly, after user adds dynamic picture by the picture editor interface, broadcasting speed can be directly set, so After synthesize, obtain Target Photo.For example, first dynamic picture D is added in the picture editor interface, then setting plays speed Degree, obtains new dynamic picture E (i.e. Target Photo).
Moreover, user can also directly carry out frame picture q, frame picture w, frame picture e, frame picture r and frame picture t It saves, that is to say, that frame picture q, frame picture w, frame picture e, frame picture r and frame picture t are Target Photo.
Referring to Fig. 2, the present invention also provides a kind of electronic equipment 10 comprising:
Processor 110 is adapted for carrying out each instruction, and
Equipment 120 is stored, is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being executed by processor:
Plurality of pictures is directed into a picture editor interface in advance;
Broadcasting speed is set, and is synthesized according to plurality of pictures of the broadcasting speed to importing, Target Photo is obtained.
Preferably, the picture is dynamic picture or static images.
The processor 110 can for general processor, digital signal processor (DSP), specific integrated circuit (ASIC), Field programmable gate array (FPGA), single-chip microcontroller, ARM (Acorn RISC Machine) or other programmable logic device are divided Any combination of vertical door or transistor logic, discrete hardware component or these components.In addition, processor can also be any Conventional processors, microprocessor or state machine.Processor also may be implemented as calculating the combination of equipment, for example, DSP and Wei Chu Manage combination, multi-microprocessor, one or more microprocessors combination DSP core or any other this configuration of device.
It stores equipment 120 and is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software Program, non-volatile computer executable program and module, as generated dynamic based on artificial intelligence in the embodiment of the present invention The corresponding program instruction of the method for picture.Processor is stored in the non-volatile software program stored in equipment by operation, referred to It enables and unit is realized thereby executing the various function application and data processing for being generated dynamic picture based on artificial intelligence The method that dynamic picture is generated based on artificial intelligence in above method embodiment.
Particular technique details about above-mentioned electronic equipment 10 has been described in detail in above-mentioned steps, so not repeating them here.
It should be understood that the application of the present invention is not limited to the above for those of ordinary skills can With improvement or transformation based on the above description, all these modifications and variations all should belong to the guarantor of appended claims of the present invention Protect range.

Claims (10)

1. a kind of method for generating dynamic picture based on artificial intelligence, which is characterized in that comprising steps of
A, plurality of pictures is directed into a picture editor interface in advance;
B, broadcasting speed is set, and is synthesized according to plurality of pictures of the broadcasting speed to importing, Target Photo is obtained.
2. according to claim 1 based on artificial intelligence generate dynamic picture method, which is characterized in that the step A it Afterwards, before B further include:
It responds user and adds the instruction of text and/or figure, and the text and/or figure are added in the picture.
3. the method for generating dynamic picture based on artificial intelligence according to claim 1, which is characterized in that the picture is State picture or static images.
4. the method for generating dynamic picture based on artificial intelligence according to claim 3, which is characterized in that when the picture is When dynamic picture, after the step A, before B further include:
Dynamic picture is resolved to the instruction of multiple static images by response user, obtains multiple static images.
5. the method for generating dynamic picture based on artificial intelligence according to claim 4, which is characterized in that the response user The instruction that dynamic picture is resolved to multiple static images is also wrapped after the step of obtaining multiple static images, before step B It includes:
The instruction that user selects static images is responded, corresponding static images are selected.
6. the method for generating dynamic picture based on artificial intelligence according to claim 1, which is characterized in that pass through a speed tune It saves module and the broadcasting speed is set.
7. the method for generating dynamic picture based on artificial intelligence according to claim 6, which is characterized in that the step B tool Body includes:
B1, when playing when the user clicks, pass through display module preview result of broadcast;
B2, broadcasting speed is set by the speed adjustment module, picture is synthesized according to the broadcasting speed of setting, is obtained Target Photo.
8. according to claim 1 based on artificial intelligence generate dynamic picture method, which is characterized in that the step B it Afterwards further include:
The Target Photo is added to material database or saved to the instruction of memory by response user, and Target Photo is saved.
9. a kind of electronic equipment characterized by comprising
Processor is adapted for carrying out each instruction, and
Equipment is stored, is suitable for storing a plurality of instruction, described instruction is suitable for being loaded and being executed by processor:
Plurality of pictures is directed into a picture editor interface in advance;
Broadcasting speed is set, and is synthesized according to plurality of pictures of the broadcasting speed to importing, Target Photo is obtained.
10. electronic equipment according to claim 9, which is characterized in that the picture is dynamic picture or static images.
CN201910335072.4A 2019-04-24 2019-04-24 A kind of method and electronic equipment generating dynamic picture based on artificial intelligence Pending CN110246196A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910335072.4A CN110246196A (en) 2019-04-24 2019-04-24 A kind of method and electronic equipment generating dynamic picture based on artificial intelligence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910335072.4A CN110246196A (en) 2019-04-24 2019-04-24 A kind of method and electronic equipment generating dynamic picture based on artificial intelligence

Publications (1)

Publication Number Publication Date
CN110246196A true CN110246196A (en) 2019-09-17

Family

ID=67883228

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910335072.4A Pending CN110246196A (en) 2019-04-24 2019-04-24 A kind of method and electronic equipment generating dynamic picture based on artificial intelligence

Country Status (1)

Country Link
CN (1) CN110246196A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009043246A1 (en) * 2007-09-24 2009-04-09 Tencent Technology (Shenzhen) Company Limited Method and system for photograph processing
CN102368196A (en) * 2011-10-02 2012-03-07 上海量明科技发展有限公司 Method, terminal and system for editing dynamical picture in content sending window of client side
CN102520864A (en) * 2011-12-16 2012-06-27 北京新媒传信科技有限公司 Method for continuously playing images and device
CN109286842A (en) * 2018-08-23 2019-01-29 深圳点猫科技有限公司 A kind of method based on graphic programming interface loop play background, electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009043246A1 (en) * 2007-09-24 2009-04-09 Tencent Technology (Shenzhen) Company Limited Method and system for photograph processing
CN102368196A (en) * 2011-10-02 2012-03-07 上海量明科技发展有限公司 Method, terminal and system for editing dynamical picture in content sending window of client side
CN102520864A (en) * 2011-12-16 2012-06-27 北京新媒传信科技有限公司 Method for continuously playing images and device
CN109286842A (en) * 2018-08-23 2019-01-29 深圳点猫科技有限公司 A kind of method based on graphic programming interface loop play background, electronic equipment

Similar Documents

Publication Publication Date Title
CN110489116B (en) Page rendering method and device and computer storage medium
WO2020125567A1 (en) Automatic animation generation method, and automatic animation generation system
US20060204214A1 (en) Picture line audio augmentation
WO2020151316A1 (en) Web-side animation configuration method and device
US10108437B2 (en) Rendition of a content editor
CN113655999B (en) Page control rendering method, device, equipment and storage medium
JP2023533457A (en) Method, Apparatus, and Device for Posting and Replying to Multimedia Content
WO2020093876A1 (en) Video editing method and apparatus, computer device and readable storage medium
Van Every Pro Android Media: Developing Graphics, Music, Video, and Rich Media Apps for Smartphones and Tablets
CN108320319A (en) A kind of caricature synthetic method, device, equipment and computer readable storage medium
CN110246196A (en) A kind of method and electronic equipment generating dynamic picture based on artificial intelligence
JP2022511590A (en) Application sharing methods and sharing devices, electronic devices, computer readable media
KR102613143B1 (en) Text-to-video production methods, devices, facilities and media
KR20210114536A (en) Video data production method and apparatus, electronic device, computer readable medium
CN116055799B (en) Multi-track video editing method, graphical user interface and electronic equipment
WO2022252916A1 (en) Method and apparatus for generating special effect configuration file, device and medium
Woods et al. Mastering 3ds max 4
Shadab et al. OMT: A Demand-Adaptive, Hardware-Targeted Bonsai Merkle Tree Framework for Embedded Heterogeneous Memory Platform
Murdock Anime Studio 6: The Official Guide
Geesing A web-based video editor for PCIT-VR
CN117744617A (en) Method, apparatus, device and storage medium for template generation
Kyle Essential Flash 5 for web professionals
Fagnou et al. Furtility: Dynamic grooming for wolfman
Batte et al. Clouds with character: partly cloudy
Taylor Innovation in animation: exiting the comfort zone

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190917