Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a conversion system for artware and literature of artware pictures and emotional music, which can intelligently show the artware and literature and the unique music corresponding to the artware by combining the artware and the artware.
In order to achieve the purpose, the invention provides the following technical scheme: a conversion system for craft files and emotional music of artwork pictures comprises a picture acquisition module, a picture processing module, a music matching module, a file database and a picture presentation module, wherein the picture acquisition module is in communication connection with the picture processing module to acquire the artwork pictures and send the artwork pictures to the picture processing module, the picture processing module is used for user interaction to perform file marking on the artwork pictures, and the music matching module is in communication connection with the picture processing module to acquire file marks of the picture processing module on the artwork pictures and match background music according to the file marks; the file database is in communication connection with the picture processing module, file data corresponding to different processes are arranged in the file database, and a user obtains the file data of the file database through interaction with the picture processing module and fixes the file data at a position corresponding to the processes on the handicraft picture; the music matching module acquires multiple corresponding file data on the handicraft picture, acquires the process types of the corresponding file data, and matches different tones and volumes according to the process types; the picture presentation module is in communication connection with the picture processing module and the music matching module, the processed artwork picture is obtained and displayed for user interaction, and when the position of the artwork picture fixed with the file data is clicked, the picture presentation module displays the file data on the artwork picture and outputs music matched with the music matching module.
As a further improvement of the present invention, the pattern data includes material data and shape data, and the music matching module matches the tone according to the material and matches the volume according to the shape; the music matching module matches the tone from hard to soft to high to low according to the hardness of the material and matches the tone from sharp to smooth to high to low according to the shape.
As a further improvement of the invention, the music matching module further matches the specific gravity from at least more in number to high in tone according to the number of the file data of materials with different hardness on the same handicraft picture, and the music matching module further matches the specific gravity from high in tone to low in number to sharp in shape to smooth in different shapes on the same handicraft picture.
As a further improvement of the invention, the image processing module is provided with a tag interaction module, interaction tags in different shapes are arranged in the tag interaction module, and each interaction tag is associated with different material data and different shape data in the file data; the interactive label is dragged by a user in an interactive way and can be fixed at the position of the handicraft picture corresponding to the process; when the interactive label is clicked, the picture presentation module displays corresponding material data and shape data on the artwork picture and outputs music matched with the music matching module.
As a further improvement of the invention, the matching formula of the music matching module for the hardness of the material from hard to soft is as follows: output pitch-pitch sum/amount of pattern data.
As a further improvement of the invention, the system further comprises a picture acquisition module, a mapping module and a display module, wherein the picture acquisition module comprises an import module and a mapping module, and the mapping module is connected with the import module so as to map, label and import the watermark into the picture imported by the import module; the import module is connected with the picture processing module and sends the handicraft picture imported from the outside and subjected to primary processing to the picture processing module.
As a further improvement of the present invention, the drawing module is connected to the picture presenting module, the drawing module is used for a user to make a partial enlarged image and send the partial enlarged image to the picture presenting module, and when the interactive tag is clicked, the picture presenting module presents the partial enlarged image near the interactive tag.
The invention has the advantages that the picture acquisition module is arranged to facilitate the user to import the handicraft picture, the picture processing module is convenient to match the position and the type of the file data and the handicraft picture, and the music matching module can be used for intelligently matching the music of the file data on the handicraft picture so as to generate unique matching music. The file database can enable a user to directly acquire file data from the file database when marking files through the picture processing module, so that the files can be quickly marked without manual input, and when the preset file data is matched with the music matching module, the recognition effect is better, manual input of the file data is avoided, the characteristics in the file data cannot be correctly recognized when the music matching module is matched with the file data and music, and music cannot be matched. Therefore, the file database can assist the user to mark files quickly, and can improve the music matching effect of the music matching module. The pictures can be displayed through the picture presentation module, the music matched with the music matching module can be played through the picture presentation module, the file data marked by the file can be hidden or displayed, and when the position corresponding to the file data on the handicraft picture is clicked, the picture presentation module can display the corresponding hidden file data.
Detailed Description
The invention will be further described in detail with reference to the following examples, which are given in the accompanying drawings.
Referring to fig. 1, the system for converting a craft literature and emotional music of a craft picture according to the embodiment includes a picture acquisition module 1, a picture processing module 2, a music matching module 3, a literature database 4 and a picture presentation module 5, wherein the picture acquisition module 1 is in communication connection with the picture processing module 2 to acquire the craft picture and send the craft picture to the picture processing module 2, the picture processing module 2 is used for user interaction to perform literature marking on the craft picture, and the music matching module 3 is in communication connection with the picture processing module 2 to acquire the literature marking of the picture processing module 2 on the craft picture and match background music according to the literature marking; the file database 4 is in communication connection with the picture processing module 2, the file database 4 is provided with file data corresponding to different processes, and a user obtains the file data of the file database 4 through interaction with the picture processing module 2 and fixes the file data at a position corresponding to the process on the handicraft picture; the music matching module 3 acquires various corresponding file data on the handicraft picture, acquires the process types of the corresponding file data, and matches different tones and volumes according to the process types; the picture presenting module 5 is in communication connection with the picture processing module 2 and the music matching module 3, obtains the processed artwork picture and displays the artwork picture for user interaction, and when the position of the artwork picture fixed with the file data is clicked, the picture presenting module 5 displays the file data on the artwork picture and outputs the music matched by the music matching module 3.
When a user needs to process and display an artwork picture, the artwork picture to be processed can be obtained through the picture obtaining module 1, then the artwork picture is sent to the picture processing module 2 through the picture obtaining module 1, at the moment, the user carries out document marking on each process position on the artwork picture through the picture processing module 2, meanwhile, the music matching module 3 obtains and obtains a document mark marked on the artwork picture and obtains a process type corresponding to the document mark, the music matching module 3 matches the tone and the volume corresponding to the process type, the matched music can be packaged and integrated in the data of the artwork picture, and the matched music can also be directly generated and output through the music matching module 3 for playing during displaying. Wherein, the case database 4 can let the user directly obtain the case data from the case database 4 when marking the case through the picture processing module 2, and then mark the case fast, without manual input again, and when the preset case data is matched with the music matching module 3, the recognition effect is better, the manual input of the case data is avoided, and the characteristics in the case data can not be correctly recognized when the music matching module 3 matches the case data and the music, thereby the music can not be matched. Therefore, the document database 4 can assist the user to mark the document quickly, and can improve the music matching effect of the music matching module 3. The picture can be displayed through the picture displaying module 5, the music matched with the music matching module 3 can be played through the picture displaying module 5, the pattern data marked by the pattern can be hidden or displayed, and when the position corresponding to the pattern data on the artwork picture is clicked, the picture displaying module 5 can display the corresponding hidden pattern data.
In the above, the picture obtaining module 1 may use a hard disk, a usb disk, a mobile phone, an internet, etc. in the prior art to obtain, and the picture processing module 2 may use a software mode to edit, for example, a flash; the music matching module 3 is a voice making software based on character recognition, in addition, a voice making software based on feature recognition can also be adopted, the feature recognition can be carried out only by directly comparing characters with ascil codes, the picture presenting module 5 is a software with image display and voice output functions, programs required by the corresponding software are mature in the prior art and are presented in different modes, and therefore, redundant description is not needed in the embodiment.
In order to further improve the effect of music matching, the file data comprises material data and shape data, and the music matching module 3 matches the tone according to the material and matches the volume according to the shape; the music matching block 3 matches the pitch of sound from hard to soft to low according to the hardness of the material and matches the pitch of sound from sharp to smooth to low according to the shape.
When music matching module 3 carries out music matching, carry out tone matching and volume matching to the material data and the shape data in the case data, unique tone and volume that the material that music matching module 3 corresponds according to discerning and shape matching can let the matching effect better, have better technology and combine the effect, improve the bandwagon effect, further promote interchange and emotional sympathetic response.
In the specific matching process, the music matching module 3 further matches the specific gravity from at least more than a number of tones to a low number of tones according to the number of the file data of materials with different hardness on the same artwork picture, and the music matching module 3 further matches the specific gravity from a number of sharp tones to a number of smooth tones to a low specific gravity according to different shapes on the same artwork picture.
The music matching module 3 matches the hardness of the material from hard to soft as follows: output pitch-total pitch and/or number of text data.
In the music matching process, as a plurality of file data may be marked on the same handicraft picture, the technologies used at different positions of the same handicraft are explained one by one, and as the tone matching corresponding to the technologies at different positions may be different, the average distribution is performed by adjusting the proportion of each tone and volume, for example, the material has iron, copper and wood, and each accounts for 1/3, the tones corresponding to three materials of the tone part are averaged, the same volume is also divided according to the corresponding shape, and then the volume is averaged; the tone and the volume thereof output by the scheme can be more suitable for the overall process condition of the handicraft. Obviously, the music matching module 3 may also be linked with the picture presenting module 5, when the picture presenting module 5 presents corresponding file data, the corresponding tone and volume may be matched for the presented file data, and when the position of the artwork picture where the file data is marked next is clicked, the currently presented file data disappears and hides again, and matches the newly displayed file data to output music.
Based on the scheme, the overall matching effect is softer, the appearance is not abrupt, and the technology blending is more harmonious.
As an improved specific implementation manner, the image processing module 2 has a tag interaction module, interactive tags with different shapes are arranged in the tag interaction module, and each interactive tag is associated with different material data and different shape data in the document data; the interactive label is dragged by a user in an interactive way and can be fixed at the position of the handicraft picture corresponding to the process; when the interactive tag is clicked, the picture presentation module 5 displays the corresponding material data and shape data on the artwork picture and outputs music matched by the music matching module 3.
The user can mark more quickly through the setting of the interactive label, and the user directly drags the interactive label from the interactive label library to place the interactive label at a corresponding position on the handicraft picture. After that, when the user clicks the interactive tag, the interactive tag can be associated with the corresponding file data to be displayed, so that the operation process of the user is accelerated, the use by the user is facilitated, and the operation is simplified.
As an improved specific embodiment, the image obtaining module 1 further includes an importing module 11 and a drawing module 12, and the drawing module 12 is connected to the importing module 11 to draw, label, and import a watermark to the image imported by the importing module 11; the import module 11 is connected with the picture processing module 2, and sends the handicraft picture imported from the outside and subjected to primary processing to the picture processing module 2.
The import module 11 can acquire the artwork picture by using a hard disk, a usb disk, a mobile phone, the internet, and the like in the prior art, wherein the drawing module 12 facilitates the user to directly add a watermark after the picture is processed, and also can draw and mark a position that can be clicked to be used as a prompt and facilitate the user to subsequently position an interactive tag.
In a further arrangement, the drawing module 12 is connected to the picture presenting module 5, the drawing module 12 is used for a user to make a partial enlarged image and send the partial enlarged image to the picture presenting module 5, and when the interactive tag is clicked, the picture presenting module 5 presents the partial enlarged image near the interactive tag.
The partial enlarged image is made by the drawing module 12, and the display control is performed by the picture presenting module 5, so that the display time and conditions are controlled, and the process can be further known by the viewer by matching with the file data.
The above is only a preferred embodiment of the present invention, and the protection scope of the present invention is not limited to the above embodiment, and any technical solutions belonging to the idea of the present invention belong to the protection scope of the present invention. It should be noted that modifications and embellishments within the scope of the invention may occur to those skilled in the art without departing from the principle of the invention, and are considered to be within the scope of the invention.