CN109725792A - A kind of drawing method based on question and answer interaction - Google Patents

A kind of drawing method based on question and answer interaction Download PDF

Info

Publication number
CN109725792A
CN109725792A CN201910138032.0A CN201910138032A CN109725792A CN 109725792 A CN109725792 A CN 109725792A CN 201910138032 A CN201910138032 A CN 201910138032A CN 109725792 A CN109725792 A CN 109725792A
Authority
CN
China
Prior art keywords
image
question
original image
topic
screen
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
Application number
CN201910138032.0A
Other languages
Chinese (zh)
Other versions
CN109725792B (en
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 Intellect Cloud Picture Polytron Technologies Inc
Original Assignee
Guangdong Intellect Cloud Picture Polytron Technologies Inc
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 Intellect Cloud Picture Polytron Technologies Inc filed Critical Guangdong Intellect Cloud Picture Polytron Technologies Inc
Priority to CN201910138032.0A priority Critical patent/CN109725792B/en
Publication of CN109725792A publication Critical patent/CN109725792A/en
Application granted granted Critical
Publication of CN109725792B publication Critical patent/CN109725792B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of drawing methods based on question and answer interaction, the first instruction is generated including the beginning option that response user clicks screen, the first image transferred at random in display pre-set image database, with the first topic of the first image corresponding in default problem data library, drawing operation is carried out in screen according to user, generate corresponding second image, response user clicks the second instruction of generation that saves options of screen, show that the second image combines the third image of generation with the corresponding multiple images of the first topic in pre-set image database, specify drawing direction, reduce drawing threshold, and the imagination and intention of child can be given full play to.

Description

A kind of drawing method based on question and answer interaction
Technical field
The present invention relates to field of computer technology more particularly to a kind of drawing methods based on question and answer interaction.
Background technique
The nature of child are exactly powerful and unconstrained style, need more more combinations that him is allowed to give the rein to imagination, excite intention;And How to improve child's interest and ingenuity then is the important ring of parent.Drawing is not only a kind of art, can also unfold child The hobby and interest of heart express the understanding and impression of external world, facilitate the intelligence growth of child.Therefore, many families It grows and just sets about cultivating oneself child's drawing in child's period.
There are mainly two types of properties for market drawing, are respectively: copying drawing and intention drawing.The former pays attention to example diagram or religion Data is copied, but the imagination for limiting child plays.The latter pays attention to imagination and intention plays, but improves child's Drawing threshold;In face of drawing area blank out, and human-subject test is limited, and child is easy to have no way of doing it.In addition, market electronics Graphic products operation is universal complicated, cumbersome, needs to create white space, selection paintbrush, setting paintbrush parameter (such as: thickness, brush Shape, transparency etc.), drawing, save.For child, the touch feeling of finger, also reduces and draws when not only losing drawing That draws product uses enthusiasm.
Summary of the invention
The purpose of the embodiment of the present invention is that providing a kind of drawing method based on question and answer interaction, drawing direction, drop are specified Low drawing threshold, and the imagination and intention of child can be given full play to.
To achieve the above object, including following the embodiment of the invention provides a kind of drawing method based on question and answer interaction Step:
The first instruction of beginning option generation that user clicks screen is responded, is transferred at random in display pre-set image database The first topic of the first image is corresponded in first image and default problem data library;
Drawing operation is carried out in the screen according to the user, the drawing is generated and operates corresponding second image;
Respond the second instruction of generation that saves options that the user clicks the screen, show second image with it is described First image combines the third image of generation.
The pre-set image database constructs by the following method:
Obtain the original image of multiple objects;
Deconsolidation process is carried out to each acquired original image, obtains multiple fractionation images;
According to the multiple fractionation image, image data base is established.
It is described that deconsolidation process is carried out to each acquired original image, multiple fractionation images are obtained, specifically:
Gray processing and binary conversion treatment are carried out to each acquired original image, obtain the profile diagram of multiple original images;
Automatically side is retouched to the profile diagram progress of the multiple original image, obtain multiple original images retouches edge graph;
Local fractionation is carried out to the edge graph of retouching of the multiple original image, obtains multiple fractionation images.
The default problem data library constructs by the following method:
Proposition is carried out to the multiple original image respectively, obtains multiple topics corresponding with original image;
According to the multiple topic, problem data library is established.
The first instruction is generated in the beginning option that response user clicks screen, shows in pre-set image database and transfers at random The first image and default problem data library in correspond to the first topic of the first image after, further includes:
The content of first topic is fed back in a manner of voice.
The original image includes personage, animal, landscape and articles for daily use.
The original image is still image.
The implementation of the embodiments of the present invention has the following beneficial effects:
Drawing method provided in an embodiment of the present invention based on question and answer interaction starts to select including response user's click screen Item generates the first instruction, shows corresponding in the first image transferred at random in pre-set image database and default problem data library First topic of the first image carries out drawing operation in screen according to user, generates corresponding second image, response user clicks The second instruction of generation that saves options of screen, the second image of display multiple figures corresponding with the first topic in pre-set image database Third image as combining generation specifies drawing direction, reduces drawing threshold, and can give full play to thinking for child As power and intention.
Detailed description of the invention
Fig. 1 is the flow diagram of one embodiment of the drawing method provided by the invention based on question and answer interaction.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It is the process signal of one embodiment of the drawing method provided by the invention based on question and answer interaction referring to Fig. 1, Fig. 1 Figure;The embodiment of the present invention provides a kind of drawing method based on question and answer interaction, including step S1 to S3;
S1, the beginning option that response user clicks screen generate the first instruction, show in pre-set image database and adjust at random The first image taken and the first topic that the first image is corresponded in default problem data library.
Preferably, the embodiment of the present invention is after step S1 further include: by the content of first topic with the side of voice Formula is fed back.While showing topic, item content is also played into user in a manner of voice, additionally it is possible to improve child Study reading ability.
In embodiments of the present invention, the beginning option on screen, one drawing topic of system automatically generated are clicked by user Mesh and an image paint towards the drawing item content for user based on described image, specify that user draws Direction is drawn, drawing threshold is reduced, avoids the case where having no way of doing it.
S2 carries out drawing operation in the screen according to the user, generates the drawing and operate corresponding second image.
In the present embodiment, user passes through finger with being intended to paint on provided first image, to supplement completely Object or scene content not only remain the performance space of user's imagination and intention, also add drawing interactivity, are promoted Drawing is horizontal.
It should be noted that being considered as drawing when hand touches screen and starting;When hand frameed out more than 1 second, it is considered as drawing knot Beam.
Preferably, the screen that this example uses is also possible to the electronics such as the daily mobile phone generally used of user for touch screen Equipment.
S3 responds the second instruction of generation that saves options that the user clicks the screen, show second image with The first image combines the third image of generation.
In embodiments of the present invention, when user's drawing finishes, saving options on screen is clicked, system is automatically being provided The first image and the second image for being painted of user carry out organic assembling, form the third image finally painted and simultaneously save display On the screen, reach the collaboration painting effect based on question and answer interaction.
In embodiments of the present invention, pre-set image database constructs by the following method: obtaining the original image of multiple objects; Deconsolidation process is carried out to each acquired original image, obtains multiple fractionation images;According to the multiple fractionation image, figure is established As database.
Default problem data library constructs by the following method: carrying out proposition to the multiple original image respectively, obtains multiple Topic corresponding with original image;According to the multiple topic, problem data library is established.
Wherein, the original image includes personage, animal, landscape and articles for daily use, and is still image, and data source can To be picture, it is also possible to video (being converted into picture in the form of frame to take out).
Further, deconsolidation process is carried out to each acquired original image, obtains multiple fractionation images, specifically: it is right Each acquired original image carries out gray processing and binary conversion treatment, obtains the profile diagram of multiple original images;To the multiple original The profile diagram progress of image retouches side automatically, and obtain multiple original images retouches edge graph;The edge graph of retouching of the multiple original image is carried out Part is split, and obtains multiple fractionation images.
In the present embodiment, gray proces can't influence the texture feature information of image, and each pixel only needs one A gray value can indicate, substantially increase image processing efficiency.Based on gray proces, the ash for obtaining each pixel of image is calculated Angle value, value range are 0-255, obtain subject image grayscale image.
256 brightness degrees of grayscale image are simplified to 0 and 255 this 2, reduce data volume, highlight by binary conversion treatment Objective contour.When pixel gray value be less than or equal to threshold values, be identified as 0, represent background;On the contrary, 255 are then identified as, generation Table object.Based on binary conversion treatment, the value of each pixel of grayscale image is calculated, subject image binary map, i.e. subject image are obtained Profile diagram, the profile diagram based on subject image, obtain image identification be 255 pixel distribution trajectory;Wherein, distribution trajectory It may be continuum, it is also possible to scattered point.
Based on label program, side is retouched automatically to the distribution trajectory of above-mentioned pixel in the form of lines, obtain image retouches side Figure.That is, the edge graph of retouching of subject image is by a plurality of continuous lines independently disconnected or multiple to be independently distributed Scattered point composition.The independent disconnection refers to that the physical location between image lines disconnects.
As the preferred embodiment of the present invention, additionally it is possible to oneself add drawing topic and corresponding image to problem data library In image data base,
Working principle in order to better illustrate the present invention, the following are the drawing methods of the invention based on question and answer interaction Process step: firstly, user clicks the beginning option on screen, system is automatically random in image data base and problem data library It extracts an image to paint with together with topic, be displayed on the screen, and topic of painting prompts in the form of speech;Then, when Occur an image on screen to paint with together with after topic, start to be painted on the screen with finger, until drawing is completed Afterwards, saving options on screen is clicked, system automatically organically combines the content of drawing and the image provided, forms final drawing And it saves and is displayed on the screen.
In conclusion the drawing method provided in an embodiment of the present invention based on question and answer interaction, including response user click screen The beginning option of curtain generates the first instruction, shows the first image and default topic number transferred at random in pre-set image database According to the first topic of the first image corresponding in library, drawing operation is carried out in screen according to user, corresponding second image is generated, rings The second instruction of generation that saves options of screen, the first topic pair in the second image of display and pre-set image database are clicked using family The multiple images answered combine the third image of generation.
A kind of drawing method based on question and answer interaction of embodiment provided by the invention, has the advantages that
(1) object parts are provided and split image and drawing topic, user's drawing direction is specified, reduces drawing door Sill avoid the case where having no way of doing it.
(2) fractionation image supplement complete object or scene content that user provides system based on drawing topic, retain The performance space of user's imagination and intention, it is interactive to increase drawing, improves drawing level.
(3) it paints easy to operate, user replaces paintbrush without creating white space and setting paintbrush parameter, finger, protects The touch feeling of finger, improves user's painting experience when having stayed drawing.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also considered as Protection scope of the present invention.

Claims (7)

1. a kind of drawing method based on question and answer interaction, which comprises the following steps:
The first instruction of beginning option generation that user clicks screen is responded, shows first transferred at random in pre-set image database The first topic of the first image is corresponded in image and default problem data library;
Drawing operation is carried out in the screen according to the user, the drawing is generated and operates corresponding second image;
The second instruction of generation that saves options that the user clicks the screen is responded, shows second image and described first Image combines the third image of generation.
2. the drawing method as described in claim 1 based on question and answer interaction, which is characterized in that the pre-set image database is logical Cross following methods building:
Obtain the original image of multiple objects;
Deconsolidation process is carried out to each acquired original image, obtains multiple fractionation images;
According to the multiple fractionation image, image data base is established.
3. the drawing method as claimed in claim 2 based on question and answer interaction, which is characterized in that described to each acquired original Image carries out deconsolidation process, obtains multiple fractionation images, specifically:
Gray processing and binary conversion treatment are carried out to each acquired original image, obtain the profile diagram of multiple original images;
Automatically side is retouched to the profile diagram progress of the multiple original image, obtain multiple original images retouches edge graph;
Local fractionation is carried out to the edge graph of retouching of the multiple original image, obtains multiple fractionation images.
4. the drawing method as claimed in claim 2 based on question and answer interaction, which is characterized in that the default problem data library is logical Cross following methods building:
Proposition is carried out to the multiple original image respectively, obtains multiple topics corresponding with original image;
According to the multiple topic, problem data library is established.
5. the drawing method as described in claim 1 based on question and answer interaction, which is characterized in that click screen in response user Start option and generate the first instruction, shows the first image transferred at random in pre-set image database and default problem data library After first topic of interior corresponding the first image, further includes:
The content of first topic is fed back in a manner of voice.
6. the drawing method according to any one of claims 1-4 based on question and answer interaction, which is characterized in that the original image packet Include personage, animal, landscape and articles for daily use.
7. the drawing method as claimed in claim 6 based on question and answer interaction, which is characterized in that the original image is static map Picture.
CN201910138032.0A 2019-02-25 2019-02-25 Question-answer interaction-based drawing method Active CN109725792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910138032.0A CN109725792B (en) 2019-02-25 2019-02-25 Question-answer interaction-based drawing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910138032.0A CN109725792B (en) 2019-02-25 2019-02-25 Question-answer interaction-based drawing method

Publications (2)

Publication Number Publication Date
CN109725792A true CN109725792A (en) 2019-05-07
CN109725792B CN109725792B (en) 2020-10-16

Family

ID=66301620

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910138032.0A Active CN109725792B (en) 2019-02-25 2019-02-25 Question-answer interaction-based drawing method

Country Status (1)

Country Link
CN (1) CN109725792B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111243378A (en) * 2020-03-17 2020-06-05 广东智媒云图科技股份有限公司 Drawing method and device based on fractal Brown motion model
CN116052492A (en) * 2023-03-29 2023-05-02 深圳市人马互动科技有限公司 Multi-mode information processing method, device and medium based on interactive drawing scenario

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404087A (en) * 2008-10-27 2009-04-08 浙江大学 Fast electronic painting creation method based on network search
CN102364426A (en) * 2011-07-29 2012-02-29 广东小天才科技有限公司 Drawing and writing method with self-learning function
EP2487573A2 (en) * 2011-02-14 2012-08-15 Hon Hai Precision Industry Co., Ltd. Electronic device and method for separating drawing content
CN106355973A (en) * 2016-10-28 2017-01-25 厦门优莱柏网络科技有限公司 Method and device for guiding drawing
JP2017151311A (en) * 2016-02-25 2017-08-31 株式会社すららネット Learning system
CN108898643A (en) * 2018-06-15 2018-11-27 广东数相智能科技有限公司 Image generating method, device and computer readable storage medium
CN109242787A (en) * 2018-08-15 2019-01-18 南京光辉互动网络科技股份有限公司 It paints in a kind of assessment of middle and primary schools' art input method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101404087A (en) * 2008-10-27 2009-04-08 浙江大学 Fast electronic painting creation method based on network search
EP2487573A2 (en) * 2011-02-14 2012-08-15 Hon Hai Precision Industry Co., Ltd. Electronic device and method for separating drawing content
CN102364426A (en) * 2011-07-29 2012-02-29 广东小天才科技有限公司 Drawing and writing method with self-learning function
JP2017151311A (en) * 2016-02-25 2017-08-31 株式会社すららネット Learning system
CN106355973A (en) * 2016-10-28 2017-01-25 厦门优莱柏网络科技有限公司 Method and device for guiding drawing
CN108898643A (en) * 2018-06-15 2018-11-27 广东数相智能科技有限公司 Image generating method, device and computer readable storage medium
CN109242787A (en) * 2018-08-15 2019-01-18 南京光辉互动网络科技股份有限公司 It paints in a kind of assessment of middle and primary schools' art input method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUANG BIZHU: "手指画", 《手指画 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111243378A (en) * 2020-03-17 2020-06-05 广东智媒云图科技股份有限公司 Drawing method and device based on fractal Brown motion model
CN111243378B (en) * 2020-03-17 2022-02-22 广东智媒云图科技股份有限公司 Drawing method and device based on fractal Brown motion model
CN116052492A (en) * 2023-03-29 2023-05-02 深圳市人马互动科技有限公司 Multi-mode information processing method, device and medium based on interactive drawing scenario
CN116052492B (en) * 2023-03-29 2023-06-23 深圳市人马互动科技有限公司 Multi-mode information processing method, device and medium based on interactive drawing scenario

Also Published As

Publication number Publication date
CN109725792B (en) 2020-10-16

Similar Documents

Publication Publication Date Title
Hughes et al. Generative adversarial networks–enabled human–artificial intelligence collaborative applications for creative and design industries: A systematic review of current approaches and trends
CN109992764A (en) A kind of official documents and correspondence generation method and device
CN109345612B (en) Image generation method, device, equipment and storage medium
CN106251389A (en) The method and apparatus making animation
CN109725792A (en) A kind of drawing method based on question and answer interaction
US20240095981A1 (en) Video generation method and apparatus, device and readable storage medium
CN113709549A (en) Special effect data packet generation method, special effect data packet generation device, special effect data packet image processing method, special effect data packet image processing device, special effect data packet image processing equipment and storage medium
JP2009104570A (en) Data structure for image formation and method of forming image
CN106791032A (en) The method and apparatus that still image is converted to dynamic image
CN116664726B (en) Video acquisition method and device, storage medium and electronic equipment
CN105575198B (en) The methods of exhibiting and device of instructional video
CN110298925B (en) Augmented reality image processing method, device, computing equipment and storage medium
CN114520924A (en) Bullet screen display method and device
CN106066692A (en) A kind of interacting toys based on AR technology and construction method
Yan et al. Design research of interactive picture books of cultural education based on augmented reality technology
CN102034256B (en) Mobile phone cartoon character creating method based on boundary tracking and pseudo-coloring
Kang et al. Emotional design of bamboo chair based on deep convolution neural network and deep convolution generative adversarial network
Periasamy et al. A Multimodal Literary Analysis of a Television Commercial.
CN117095071A (en) Picture or video generation method, system and storage medium based on main body model
Kalita The Art of Re-Interpreting Self: Self Imagery in the Works of Indian Artists
Chen et al. Idea-2-3D: Collaborative LMM Agents Enable 3D Model Generation from Interleaved Multimodal Inputs
CN111063339A (en) Intelligent interaction method, device, equipment and computer readable medium
Ando et al. Segmental Brush Synthesis with Stroke Images.
Liu et al. A Rational Survey of Art and Technology: From Traditional Painting to Intelligent Painting
Wang et al. AI Promotes the Inheritance and Dissemination of Chinese Boneless Painting——Research on Design Practice from Interdisciplinary Collaboration

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