Ancient poetry generation method of based on image content

A technology of image content and ancient poetry, applied in the field of image content-based ancient poetry generation, can solve problems such as failure to generate

Inactive Publication Date: 2017-12-15
ZHEJIANG UNIV OF TECH
View PDF2 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to overcome the shortcomings of existing technical solutions that cannot generate ancient poems related to them according to the content of the image, the present invention proposes a method for generating ancient poems based on image content that effectively rea...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Ancient poetry generation method of based on image content
  • Ancient poetry generation method of based on image content
  • Ancient poetry generation method of based on image content

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The present invention will be further described below in conjunction with the accompanying drawings of the description.

[0057] refer to Figure 1 to Figure 4 , a method for generating ancient poems based on image content. The present invention uses SSD target detection to detect images, and at the same time uses RNN to perform feature learning on nearly 50,000 Tang poems to obtain an ancient poem generation model.

[0058] The present invention comprises the following steps:

[0059] S1: Based on the Single Shot MultiBox Detector (SSD) framework, the target detection is performed on the image content, and the names of the objects contained in the image are obtained.

[0060] S2: Use the Chinese lexical analyzer (THU Lexical Analyzer for Chinese, THULAC) to segment nearly 50,000 Tang poems and obtain the corresponding vocabulary. Use the word2vec tool to learn the features of each word in the vocabulary, and map each word to the vector space.

[0061] S3: Input the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an ancient poetry generation method based on image content. The method comprises the steps that 1, target detection is conducted on image content objects based on a single-time multiple-frame target detection frame, and the names of the objects are obtained; 2, word separation is conducted on a set number of Tang poetries by using the Chinese lexical analysis tool, and a glossary is obtained, feature learning is conducted on each word in the glossary by using the word2vec tool, and each word is mapped to a vector space; 3, the obtained object names are inputted into the word2vec tool, a mapped vector of the object names is obtained, and the cosine similarity between the mapped vector and an ancient poetry vector is calculated, after a threshold is set, part of the object names selected are used as the corresponding subject term of the objects; 4, the subject term is utilized to expand the keywords, after the keywords are inputted and the Tang poetries are learned, a RNN model is obtained, and the ancient poetries are generated. According to the ancient poetry generation method, the method of target detection and the method of cyclic neural network algorithm are combined to generate ancient poetries, and the correlation between ancient poetries and image content is strong, and better coherence is achieved.

Description

technical field [0001] The invention relates to the fields of deep learning, computer vision and natural language processing, in particular to a method for generating ancient poems based on image content. Background technique [0002] With the rapid development of deep learning, deep learning frameworks represented by Convolutional Neural Networks (CNN) and Recurrent Neural Networks (RNN) have been widely used in the fields of computer vision and natural language processing. In terms of computer vision, based on the improved CNN framework, Deep Residual Networks (ResNet), Faster Region-Based Convolutional Neural Networks (Faster R-CNN), Fully Convolutional Neural Networks (FullyConnected Networks, FCN) achieved the best results in the fields of image classification, target detection, and target segmentation. In the field of natural language processing, the generation of traditional ancient poems is regarded as a machine translation problem. The previous poem is used as the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/27G06N3/04G06N5/02
CPCG06N5/025G06F40/211G06F40/289G06N3/045
Inventor 宣琦李甫宪张剑殳欣成陈壮志俞山青陈晋音
Owner ZHEJIANG UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products