Dynamic planning-based adaptive cartoon typesetting method and device
A dynamic programming and self-adaptive technology, applied in the computer field, can solve the problems of no unified logic between translation font size and typesetting area, and no conversion from horizontal typesetting to vertical typesetting.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0072] The present invention provides a comic adaptive typesetting method based on dynamic programming, such as figure 2 Its flow chart is shown, including:
[0073] Step S1: After determining the translation typesetting area, pre-draw the translation word segmentation in the translation word segmentation list to the translation typesetting area according to the initial pre-drawn font size, so as to obtain the total pre-drawing width of the translation.
[0074] In this step, the typesetting area of the translation refers to the area where the text content in a certain bubble in the comic is subjected to identification, extraction, translation and word segmentation. The size of the area is the same as the size and shape of the bubble. The total width of translation pre-drawing refers to pre-drawing all the translation word segments in the translation word segment list into the translation typesetting area through the initial pre-drawing font size, and the height of the draw...
Embodiment 2
[0117] The embodiment of the present invention also provides a cartoon adaptive typesetting device based on dynamic programming, such as Figure 5 shown, including:
[0118] The initial pre-drawing module is used for pre-drawing the translation word segmentation in the translation word segmentation list to the translation typesetting area according to the initial pre-drawing font size after determining the translation typesetting area, thereby obtaining the total width of the translation pre-drawing;
[0119] The pre-drawing font size determination module is used for if the total width of the pre-drawing of the translation is greater than the maximum width value of the typesetting area of the translation, then according to the next drawing font size, the word segmentation of the translation is drawn into the typesetting area of the translation, until the total width of the pre-drawing of the translation is less than or equal to the typesetting of the translation The maximu...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com