CN106803285B - AR book custom orientation generation method and device - Google Patents

AR book custom orientation generation method and device Download PDF

Info

Publication number
CN106803285B
CN106803285B CN201611086127.5A CN201611086127A CN106803285B CN 106803285 B CN106803285 B CN 106803285B CN 201611086127 A CN201611086127 A CN 201611086127A CN 106803285 B CN106803285 B CN 106803285B
Authority
CN
China
Prior art keywords
book
user
picture
model
information
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.)
Expired - Fee Related
Application number
CN201611086127.5A
Other languages
Chinese (zh)
Other versions
CN106803285A (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.)
Shanghai Xianjian Culture Media Co ltd
Original Assignee
Shanghai Xianjian Culture Media 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 Shanghai Xianjian Culture Media Co ltd filed Critical Shanghai Xianjian Culture Media Co ltd
Priority to CN201611086127.5A priority Critical patent/CN106803285B/en
Publication of CN106803285A publication Critical patent/CN106803285A/en
Application granted granted Critical
Publication of CN106803285B publication Critical patent/CN106803285B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually

Abstract

The invention provides an AR book custom orientation generation method, which comprises the following steps: s1: acquiring a picture material of the AR book; s2: establishing an AR book model according to the picture materials, and adding the established AR book model into an AR book model library; s3: acquiring user information, and searching a corresponding AR book model in the AR book model library through a user orientation mapping table based on the user information, wherein the user information comprises: the system comprises a user ID, user demand information and user history information, wherein the user orientation mapping table comprises all AR book models in an AR book model library and user IDs corresponding to one or a plurality of AR book models; s4: and generating the user-defined AR book according to the searched AR book model and the current user demand information. The method and the device thereof realize the automatic generation of the AR book and improve the efficiency of editing the book.

Description

AR book custom orientation generation method and device
Technical Field
The invention relates to the technical field of AR books, in particular to a method and a device for custom orientation generation of an AR book.
Background
The existing books, especially books for children education, comic books and the like generally have a large number of pictures, and for book editing, the large number of pictures need to be processed and typeset one by one respectively to obtain a final book version.
With the development of the AR (augmented reality) technology, an AR book is produced, and the AR book is generally a paper book matched with an AR model, and needs to be matched with the AR model corresponding to the paper book in addition to typesetting of the paper book. For different publishers, as the updating and upgrading speed of books is faster and faster, the speed of publishing different books by the publishers also needs to be correspondingly improved, and the requirements of the publishers cannot be rapidly met by adopting a single book independent editing design.
Therefore, how to provide a technology for generating an AR book by improving a custom orientation for a publisher (user) based on existing materials is a technical problem to be solved by the present invention.
Disclosure of Invention
The invention aims to provide a method and a device for generating an AR book in a user-defined and oriented mode, and aims to achieve the purpose of generating the AR book for a user in a user-defined mode according to the requirements and the situation of the AR book edited in history.
In order to achieve the purpose, the invention provides an AR book custom orientation generation method, which comprises the following steps:
s1: acquiring a picture material of the AR book;
s2: establishing an AR book model according to the picture materials, and adding the established AR book model into an AR book model library;
s3: acquiring user information, and searching a corresponding AR book model in the AR book model library through a user orientation mapping table based on the user information, wherein the user information comprises: the system comprises a user ID, user demand information and user history information, wherein the user orientation mapping table comprises all AR book models in an AR book model library and user IDs corresponding to one or a plurality of AR book models;
s4: and generating the user-defined AR book according to the searched AR book model and the current user demand information.
Preferably, the step S1 further includes: processing the picture material into a digital picture, specifically comprising:
(1) establishing a compiler of a digital picture, and setting a color value range of the compiler;
(2) establishing a transparent picture with the same pixels according to the storage data of the picture material, and acquiring color values of all pixels in the transparent picture;
(3) judging whether the color value is in the color value range of the compiler or not, if so, entering the step (4), and if not, adjusting the color value to the value in the color value range of the compiler closest to the color value, and then entering the step (4);
(4) and drawing each pixel point according to the color value of each pixel in the transparent picture to obtain the digital picture.
Preferably, for each picture material, the content and style information is embedded in the code of its digitized picture.
Preferably, the establishing of the AR book model specifically includes:
and generating audio controls, video controls and layout controls of different AR books according to the content and style information of the picture materials.
Preferably, when the user requirement information belongs to the user history information, the AR book model corresponding to the user ID in the user orientation mapping table is directly searched.
Preferably, when the user demand information is different from the user history information, the AR book model in the user orientation mapping table is searched according to the user demand information and the content and style of the picture material, and the corresponding relation between the AR book model and the user ID is added into the user orientation mapping table.
The invention also provides an AR book custom orientation generation device, which comprises:
the picture material library is used for storing picture materials;
the model generation module is used for generating an AR book model according to the picture materials;
the orientation model acquisition module is used for acquiring user information and searching a corresponding AR book model in the AR book model library through a user orientation mapping table based on the user information;
the mapping table maintenance module is used for adding the generated AR book model into a user orientation mapping table and establishing a corresponding relation between the AR book model and the user ID based on the user history information;
and the AR book generation module is used for generating the user-defined AR book according to the user information and the searched AR book model.
Preferably, the model generation module comprises:
and the digitizing module is used for processing the picture material into a digitized picture, and the content and style information of the picture material are implanted into the code of the digitized picture.
Preferably, the digitizing module comprises:
a compiler setting unit for establishing a compiler of a digitized picture and setting a range of color values of the compiler;
the pixel picture conversion unit is used for establishing the storage data of the picture material into a transparent picture with the same pixels;
the color value adjusting unit is used for acquiring the color value of each pixel in the transparent picture, adjusting the color value of the pixel which is not in the range to be the numerical value in the color value range closest to the color value, and modifying the transparent picture after adjustment;
and the pixel point digitalization unit is used for drawing each pixel point according to the color value of each pixel in the transparent picture to obtain the digitalized picture.
Preferably, the model generation module further comprises: and the AR model generation module is used for generating audio controls, video controls and layout controls of different AR books according to the content and style information of the digital pictures of the picture materials.
The AR book custom orientation generation method and the AR book custom orientation generation device provided by the invention have the following beneficial effects:
(1) the automatic generation of the AR books is realized, and the efficiency of editing the books is improved;
(2) establishing a one-to-one corresponding relation according to the pictures and the users, so that a proper book can be automatically generated according to the self condition and the current requirements of the users;
(3) the automatic processing and model generation of the picture are realized, and the automation efficiency is high.
Drawings
FIG. 1 is a flow chart of a method for generating an AR book customized orientation according to a preferred embodiment of the present invention;
FIG. 2 is a flow chart for processing image material into a digitized image according to a preferred embodiment of the present invention;
FIG. 3 is a block diagram of the AR book custom orientation generating device according to the preferred embodiment of the present invention;
fig. 4 is a block diagram of the digital module according to the preferred embodiment of the present invention.
Detailed Description
To better illustrate the present invention, a preferred embodiment is described in detail with reference to the accompanying drawings, in which:
as shown in fig. 1, this embodiment provides a method for generating an AR book custom orientation, which includes the following steps:
s1: acquiring a picture material of the AR book;
s2: establishing an AR book model according to the picture materials, and adding the established AR book model into an AR book model library;
s3: acquiring user information, and searching a corresponding AR book model in the AR book model library through a user orientation mapping table based on the user information, wherein the user information comprises: the system comprises a user ID, user demand information and user history information, wherein the user orientation mapping table comprises all AR book models in an AR book model library and user IDs corresponding to one or a plurality of AR book models;
s4: and generating the user-defined AR book according to the searched AR book model and the current user demand information.
The picture material obtained in step S1 is mainly from a picture library, and the picture library includes picture materials of different styles, sizes and resolutions. The picture materials are pre-stored in a picture library for batch processing. The picture library can be stored in a server or a user terminal device according to the requirement, so that when a user operates, the picture material can be directly obtained from the picture library for subsequent use.
As shown in fig. 2, the step S1 further includes: processing the picture material into a digital picture, wherein the process specifically comprises the following steps:
(1) establishing a compiler of a digital picture, and setting a color value range of the compiler;
(2) establishing a transparent picture with the same pixels according to the storage data of the picture material, and acquiring color values of all pixels in the transparent picture;
(3) judging whether the color value is in the color value range of the compiler or not, if so, entering the step (4), and if not, adjusting the color value to the value in the color value range of the compiler closest to the color value, and then entering the step (4);
(4) and drawing each pixel point according to the color value of each pixel in the transparent picture to obtain the digital picture.
For each picture material, content and style information is further embedded in the obtained code of its digitized picture. Correspondingly, in the step S2, the establishing the AR book model specifically includes: and generating audio controls, video controls and layout controls of different AR books according to the content and style information of the picture materials. The style information here corresponds to different styles, such as painting style, painting type, age of the subject of the painting, content type of the painting, and so on.
In addition, in a preferred embodiment, when searching for the user-directed mapping table, there are two specific query modes according to different situations, which are as follows:
and when the user requirement information belongs to the user history information, directly searching the AR book model corresponding to the user ID in the user orientation mapping table.
And when the user demand information is different from the user history information, searching an AR book model in the user orientation mapping table according to the user demand information and the content and style of the picture material, and adding the corresponding relation between the AR book model and the user ID into the user orientation mapping table.
By the method, AR books can be generated conveniently according to different user requirements, if the used user is an existing customer, the corresponding used AR book model can be searched according to the historical use habits and requirements of the customer (if animal series book publishing is performed before), and the AR books can be generated in an oriented mode. And when the used user is a new client or the original user has new requirements, namely no corresponding record exists in the historical user information, finding out a corresponding AR book model according to the current user requirement information and the content and style of the picture material so as to generate the AR book.
The AR book custom orientation generation method can rapidly process the picture materials into the AR books meeting the needs of different users according to the needs of the users, and achieves high efficiency and automation of book editing.
As shown in fig. 3, this embodiment further provides an AR book custom orientation generating device, which includes:
a picture material library 31 for storing picture materials;
the model generation module 32 is used for generating an AR book model according to the picture materials;
the orientation model acquisition module 33 is used for acquiring user information and searching a corresponding AR book model in the AR book model library through a user orientation mapping table based on the user information;
the mapping table maintenance module 34 is configured to add the generated AR book model to the user orientation mapping table, and establish a corresponding relationship between the AR book model and the user ID based on the user history information;
and the AR book generating module 35 is configured to generate an AR book defined by the user according to the user information and the searched AR book model.
The model generation module 32 includes: a digitizing module 321 and an AR model generating module 322. The digitizing module 321 is configured to process the image material into a digitized image, where content and style information of the image material are embedded in a code of the digitized image; the AR model generation module 322 is used for generating audio controls, video controls and layout controls of different AR books according to the content and style information of the digital pictures of the picture materials.
In another preferred embodiment of the present invention, as shown in fig. 4, the digitizing module 321 includes:
a compiler setting unit 41 for creating a compiler of the digitized picture and setting a range of color values of the compiler;
a pixel picture conversion unit 42, configured to establish the storage data of the picture material as a transparent picture with the same pixels;
a color value adjusting unit 43, configured to obtain color values of pixels in the transparent picture, adjust color values of pixels not in the range to a value in the color value range closest to the color values, and modify the transparent picture after adjustment;
and the pixel point digitalizing unit 44 is configured to draw each pixel point according to the color value of each pixel in the transparent picture, so as to obtain the digitalized picture.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art should be able to make modifications or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for generating an AR book custom orientation is characterized by comprising the following steps:
s1: acquiring a picture material of the AR book;
s2: establishing an AR book model according to the picture materials, and adding the established AR book model into an AR book model library;
s3: acquiring user information, and searching a corresponding AR book model in the AR book model library through a user orientation mapping table based on the user information, wherein the user information comprises: the system comprises a user ID, user demand information and user history information, wherein the user orientation mapping table comprises all AR book models in an AR book model library and user IDs corresponding to one or a plurality of AR book models;
s4: and generating the user-defined AR book according to the searched AR book model and the current user demand information.
2. The AR book custom orientation generation method according to claim 1, wherein said step S1 further comprises: processing the picture material into a digital picture, specifically comprising:
(1) establishing a compiler of a digital picture, and setting a color value range of the compiler;
(2) establishing a transparent picture with the same pixels according to the storage data of the picture material, and acquiring color values of all pixels in the transparent picture;
(3) judging whether the color value is in the color value range of the compiler or not, if so, entering the step (4), and if not, adjusting the color value to the value in the color value range of the compiler closest to the color value, and then entering the step (4);
(4) and drawing each pixel point according to the color value of each pixel in the transparent picture to obtain the digital picture.
3. The AR book custom orientation generation method of claim 2, wherein for each picture material, content and style information is embedded in the digitized picture code.
4. The AR book custom orientation generation method of claim 3, wherein the establishing of the AR book model specifically comprises:
and generating audio controls, video controls and layout controls of different AR books according to the content and style information of the picture materials.
5. The AR book custom orientation generation method according to claim 3, wherein when the user requirement information belongs to the user history information, the AR book model corresponding to the user ID in the user orientation mapping table is directly searched.
6. The AR book custom orientation generation method according to claim 3, wherein when the user demand information is different from the user history information, the AR book model in the user orientation mapping table is searched according to the user demand information and the content and style of the picture material, and the corresponding relationship between the AR book model and the user ID is added to the user orientation mapping table.
7. The utility model provides a self-defined orientation of AR books generates device which characterized in that includes:
the picture material library is used for storing picture materials;
the model generation module is used for generating an AR book model according to the picture materials;
the orientation model acquisition module is used for acquiring user information and searching a corresponding AR book model in the AR book model library through a user orientation mapping table based on the user information;
the mapping table maintenance module is used for adding the generated AR book model into a user orientation mapping table and establishing a corresponding relation between the AR book model and the user ID based on the user history information;
and the AR book generation module is used for generating the user-defined AR book according to the user information and the searched AR book model.
8. The AR book custom orientation generation apparatus of claim 7, wherein the model generation module comprises:
and the digitizing module is used for processing the picture material into a digitized picture, and the content and style information of the picture material are implanted into the code of the digitized picture.
9. The AR book custom orientation generation apparatus of claim 8, wherein the digitization module comprises:
a compiler setting unit for establishing a compiler of a digitized picture and setting a range of color values of the compiler;
the pixel picture conversion unit is used for establishing the storage data of the picture material into a transparent picture with the same pixels;
the color value adjusting unit is used for acquiring the color value of each pixel in the transparent picture, adjusting the color value of the pixel which is not in the range to be the numerical value in the color value range closest to the color value, and modifying the transparent picture after adjustment;
and the pixel point digitalization unit is used for drawing each pixel point according to the color value of each pixel in the transparent picture to obtain the digitalized picture.
10. The AR book custom orientation generation apparatus of claim 7, wherein the model generation module further comprises: and the AR model generation module is used for generating audio controls, video controls and layout controls of different AR books according to the content and style information of the digital pictures of the picture materials.
CN201611086127.5A 2016-11-30 2016-11-30 AR book custom orientation generation method and device Expired - Fee Related CN106803285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611086127.5A CN106803285B (en) 2016-11-30 2016-11-30 AR book custom orientation generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611086127.5A CN106803285B (en) 2016-11-30 2016-11-30 AR book custom orientation generation method and device

Publications (2)

Publication Number Publication Date
CN106803285A CN106803285A (en) 2017-06-06
CN106803285B true CN106803285B (en) 2021-04-20

Family

ID=58983953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611086127.5A Expired - Fee Related CN106803285B (en) 2016-11-30 2016-11-30 AR book custom orientation generation method and device

Country Status (1)

Country Link
CN (1) CN106803285B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109062523B (en) * 2018-06-14 2021-09-24 北京三快在线科技有限公司 Augmented reality data display method and device, electronic equipment and storage medium
CN109064416B (en) * 2018-07-10 2021-06-15 Oppo广东移动通信有限公司 Image processing method, image processing device, storage medium and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955452A (en) * 2016-04-15 2016-09-21 北京小鸟看看科技有限公司 Virtual reality equipment and method and device for improving reading experience employing same
CN106127859A (en) * 2016-06-28 2016-11-16 华中师范大学 A kind of mobile augmented reality type scribble is painted this sense of reality and is generated method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2577600A4 (en) * 2010-06-01 2013-11-20 Young-Joo Song Electronic multimedia publishing systems and methods
CN107320949B (en) * 2012-02-06 2021-02-02 索尼互动娱乐欧洲有限公司 Book object for augmented reality
JP5450752B1 (en) * 2012-09-26 2014-03-26 株式会社東芝 Program and design document generation apparatus and program
US10533850B2 (en) * 2013-07-12 2020-01-14 Magic Leap, Inc. Method and system for inserting recognized object data into a virtual world

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955452A (en) * 2016-04-15 2016-09-21 北京小鸟看看科技有限公司 Virtual reality equipment and method and device for improving reading experience employing same
CN106127859A (en) * 2016-06-28 2016-11-16 华中师范大学 A kind of mobile augmented reality type scribble is painted this sense of reality and is generated method

Also Published As

Publication number Publication date
CN106803285A (en) 2017-06-06

Similar Documents

Publication Publication Date Title
US10867416B2 (en) Harmonizing composite images using deep learning
KR102010221B1 (en) Smartphone-based methods and systems
CN111009041B (en) Drawing creation method, device, terminal equipment and readable storage medium
US11462002B2 (en) Wallpaper management method, apparatus, mobile terminal, and storage medium
US10558745B2 (en) Information processing apparatus and non-transitory computer readable medium
CN106803285B (en) AR book custom orientation generation method and device
CN105094775A (en) Webpage generation method and apparatus
CN112257406A (en) Content cover generator and method based on web front end
WO2023116122A1 (en) Subtitle generation method, electronic device, and computer-readable storage medium
CN117131271A (en) Content generation method and system
JP2019520617A (en) Advertisement generation method, computer readable storage medium and system
CN107154067B (en) Head portrait generation method and device
CN111383289A (en) Image processing method, image processing device, terminal equipment and computer readable storage medium
WO2022100093A1 (en) Video subtitle making method
WO2021259333A1 (en) Video processing method, apparatus and device, and computer-readable storage medium
CN113762059A (en) Image processing method and device, electronic equipment and readable storage medium
CN113591827A (en) Text image processing method and device, electronic equipment and readable storage medium
CN112449249A (en) Video stream processing method and device, electronic equipment and storage medium
CN110941728A (en) Electronic file processing method and device
KR101936270B1 (en) Transforming method of content object data
KR102167588B1 (en) Video producing service device based on contents received from a plurality of user equipments, video producing method based on contents received from a plurality of user equipments and computer readable medium having computer program recorded therefor
US11868701B1 (en) Template for creating content item
US20230336839A1 (en) Method, computer device, and storage medium for generating video cover
CN114758339B (en) Method and device for acquiring character recognition model, computer equipment and storage medium
CN116385597B (en) Text mapping method and device

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210420