Shooting composition guiding method and terminal

文档序号:1889353 发布日期:2021-11-26 浏览:21次 中文

阅读说明:本技术 一种拍摄构图引导方法与终端 (Shooting composition guiding method and terminal ) 是由 刘峥 林新强 卢荣露 于 2021-07-29 设计创作,主要内容包括:本发明公开了一种拍摄构图引导方法与终端;本发明根据用户选择,确定拍摄主题,并进行拍摄预览界面的画面信息获取,对画面信息进行语义识别,得到画面中的题材语义数据;根据拍摄主题和题材语义数据,进行生成对抗网络模型的推理计算,得到构图方案与构图指标评估算法;根据构图方案,在拍摄预览界面加载构图指引,并根据构图指标评估算法,在用户根据构图指引完成构图后进行构图效果评估,给出评估分数,使得用户根据评估分数进行构图调整或进行拍摄;利用语义识别和生成的构图方案,并进行构图指引,同时可以让拍摄者得到相对适合的拍摄构图方案,降低了拍摄构图难度,同时实现构图推荐、指引和评估,提高了拍摄效率。(The invention discloses a shooting composition guiding method and a terminal; according to the method, a shooting theme is determined according to user selection, picture information of a shooting preview interface is acquired, and semantic identification is carried out on the picture information to obtain subject semantic data in a picture; performing reasoning calculation for generating a confrontation network model according to the shooting theme and the theme semantic data to obtain a composition scheme and a composition index evaluation algorithm; according to the composition scheme, composition guide is loaded on a shooting preview interface, composition effect evaluation is carried out after a user finishes composition according to the composition guide according to a composition index evaluation algorithm, and an evaluation score is given, so that the user can carry out composition adjustment or shooting according to the evaluation score; the composition scheme is identified and generated by semantics, composition guiding is carried out, meanwhile, a photographer can obtain a relatively suitable shooting composition scheme, the shooting composition difficulty is reduced, composition recommendation, guiding and evaluation are realized, and the shooting efficiency is improved.)

1. A shooting composition guidance method, comprising:

s1, determining a shooting subject according to the selection of a user, acquiring picture information of a shooting preview interface, and performing semantic recognition on the picture information to obtain subject semantic data in a picture;

s2, performing reasoning calculation for generating a confrontation network model according to the shooting subject and the subject semantic data to obtain a composition scheme and a composition index evaluation algorithm;

s3, according to the composition scheme, composition guide is loaded on a shooting preview interface, according to the composition index evaluation algorithm, composition effect evaluation is carried out after a user completes composition according to the composition guide, and an evaluation score is given, so that the user can carry out composition adjustment or shooting according to the evaluation score.

2. The shooting composition guiding method according to claim 1, wherein the step S2 is specifically:

s21, displaying the identified subject semantic data for confirmation, manual modification or re-identification selection by the user;

s22, analyzing and packaging the shooting subject and subject semantic data confirmed or modified by a user to obtain composition structured data;

and S23, starting a composition scheme engine, performing generation countermeasure network model reasoning calculation, uniformly quantifying the composition method in the composition system, and generating a group of composition schemes and corresponding composition index evaluation algorithms.

3. The shooting composition guidance method according to claim 2, wherein said step S2 further includes:

s24, traversing composition metadata in the composition scheme, and fitting and drawing the content in the picture according to the composition metadata to form a scheme preview;

s25, fitting, packaging and displaying the composition scheme, the scheme preview and the composition index evaluation algorithm, and obtaining the final composition scheme and the composition index evaluation algorithm according to user selection.

4. The shooting composition guiding method according to claim 1, wherein the step S3 is specifically:

s31, loading composition guide or voice guide on the shooting preview interface according to the final composition scheme;

and S32, according to the final composition scheme, performing composition effect evaluation on the picture information of the current shooting preview interface, grading the weight, the size ratio, the placing position, the image fitting degree and the picture uniformity of the main body and the auxiliary objects, and performing normalization processing on the grades to obtain the evaluation scores and display the evaluation scores.

5. The photographing composition guidance method according to claim 1, further comprising the steps of:

s4, photographing the screen or reselecting a composition scheme according to the user request, and performing the step S3.

6. A shooting composition guidance terminal comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the following steps when executing the computer program:

s1, determining a shooting subject according to the selection of a user, acquiring picture information of a shooting preview interface, and performing semantic recognition on the picture information to obtain subject semantic data in a picture;

s2, performing reasoning calculation for generating a confrontation network model according to the shooting subject and the subject semantic data to obtain a composition scheme and a composition index evaluation algorithm;

s3, according to the composition scheme, composition guide is loaded on a shooting preview interface, according to the composition index evaluation algorithm, composition effect evaluation is carried out after a user completes composition according to the composition guide, and an evaluation score is given, so that the user can carry out composition adjustment or shooting according to the evaluation score.

7. The shooting composition guidance terminal according to claim 6, wherein the step S2 is specifically:

s21, displaying the identified subject semantic data for confirmation, manual modification or re-identification selection by the user;

s22, analyzing and packaging the shooting subject and subject semantic data confirmed or modified by a user to obtain composition structured data;

and S23, starting a composition scheme engine, performing generation countermeasure network model reasoning calculation, uniformly quantifying the composition method in the composition system, and generating a group of composition schemes and corresponding composition index evaluation algorithms.

8. The shooting composition guidance terminal of claim 7, wherein the processor executing the computer program further comprises the step S2 of:

s24, traversing composition metadata in the composition scheme, and fitting and drawing the content in the picture according to the composition metadata to form a scheme preview;

s25, fitting, packaging and displaying the composition scheme, the scheme preview and the composition index evaluation algorithm, and obtaining the final composition scheme and the composition index evaluation algorithm according to user selection.

9. The shooting composition guidance terminal according to claim 6, wherein the step S3 is specifically:

s31, loading composition guide or voice guide on the shooting preview interface according to the final composition scheme;

and S32, according to the final composition scheme, performing composition effect evaluation on the picture information of the current shooting preview interface, grading the weight, the size ratio, the placing position, the image fitting degree and the picture uniformity of the main body and the auxiliary objects, and performing normalization processing on the grades to obtain the evaluation scores and display the evaluation scores.

10. The shooting composition guidance terminal according to claim 6, wherein the processor when executing the computer program further comprises:

s4, photographing the screen or reselecting a composition scheme according to the user request, and performing the step S3.

Technical Field

The invention relates to the technical field of photography, in particular to a shooting composition guiding method and a shooting composition guiding terminal.

Background

The composition before shooting is to arrange and combine useful elements in a picture regularly, and is a picture selection of a shooting subject expression mode by a photographer. The subject and the object, or the foreground and the background in the picture are combined by comparison, and the emotional shooting theme presentation is achieved through the light and shadow change. Meanwhile, the composition also plays a role in highlighting the subject, attracting the line of sight, simplifying disorder, and balancing and coordinating the picture.

The composition is a complete art knowledge system to support the importance of the composition in the art field, a certain shooting composition skill can be obtained by systematic learning and shooting practice, the composition skill is usually completed before shooting by the understanding, feeling and experience of an individual, and a complete set of composition recommendation, guidance and evaluation system is not provided to assist in completing the composition before shooting.

Disclosure of Invention

The technical problem to be solved by the invention is as follows: the shooting composition guiding method and the shooting composition guiding terminal are provided, composition recommendation, guidance and evaluation are achieved, and shooting efficiency is improved.

In order to solve the technical problems, the invention adopts the technical scheme that:

a shooting composition guidance method, comprising:

s1, determining a shooting subject according to the selection of a user, acquiring picture information of a shooting preview interface, and performing semantic recognition on the picture information to obtain subject semantic data in a picture;

s2, performing reasoning calculation for generating a confrontation network model according to the shooting subject and the subject semantic data to obtain a composition scheme and a composition index evaluation algorithm;

s3, according to the composition scheme, composition guide is loaded on a shooting preview interface, according to the composition index evaluation algorithm, composition effect evaluation is carried out after a user completes composition according to the composition guide, and an evaluation score is given, so that the user can carry out composition adjustment or shooting according to the evaluation score.

In order to solve the technical problem, the invention adopts another technical scheme as follows:

a shooting composition guidance terminal comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, the processor implementing the following steps when executing the computer program:

s1, determining a shooting subject according to the selection of a user, acquiring picture information of a shooting preview interface, and performing semantic recognition on the picture information to obtain subject semantic data in a picture;

s2, performing reasoning calculation for generating a confrontation network model according to the shooting subject and the subject semantic data to obtain a composition scheme and a composition index evaluation algorithm;

s3, according to the composition scheme, composition guide is loaded on a shooting preview interface, according to the composition index evaluation algorithm, composition effect evaluation is carried out after a user completes composition according to the composition guide, and an evaluation score is given, so that the user can carry out composition adjustment or shooting according to the evaluation score.

The invention has the beneficial effects that: the invention utilizes the composition scheme identified and generated by semantics and carries out composition guidance, and simultaneously, a photographer can obtain a relatively suitable shooting composition scheme, thereby reducing the shooting composition difficulty, realizing composition recommendation, guidance and evaluation and improving the shooting efficiency.

Drawings

FIG. 1 is a flowchart of a photographing composition guidance method according to an embodiment of the present invention;

fig. 2 is a structural diagram of a photographing composition guidance terminal according to an embodiment of the present invention;

FIG. 3 is a flowchart illustrating a photographing composition guiding method according to an embodiment of the present invention;

description of reference numerals:

1. a photographing composition guidance terminal; 2. a processor; 3. a memory.

Detailed Description

In order to explain technical contents, achieved objects, and effects of the present invention in detail, the following description is made with reference to the accompanying drawings in combination with the embodiments.

Referring to fig. 1 and 3, a photographing composition guiding method includes:

s1, determining a shooting subject according to the selection of a user, acquiring picture information of a shooting preview interface, and performing semantic recognition on the picture information to obtain subject semantic data in a picture;

s2, performing reasoning calculation for generating a confrontation network model according to the shooting subject and the subject semantic data to obtain a composition scheme and a composition index evaluation algorithm;

s3, according to the composition scheme, composition guide is loaded on a shooting preview interface, according to the composition index evaluation algorithm, composition effect evaluation is carried out after a user completes composition according to the composition guide, and an evaluation score is given, so that the user can carry out composition adjustment or shooting according to the evaluation score.

From the above description, the beneficial effects of the present invention are: the invention utilizes the composition scheme identified and generated by semantics and carries out composition guidance, and simultaneously, a photographer can obtain a relatively suitable shooting composition scheme, thereby reducing the shooting composition difficulty, realizing composition recommendation, guidance and evaluation and improving the shooting efficiency.

Further, the step S2 is specifically:

s21, displaying the identified subject semantic data for confirmation, manual modification or re-identification selection by the user;

s22, analyzing and packaging the shooting subject and subject semantic data confirmed or modified by a user to obtain composition structured data;

and S23, starting a composition scheme engine, performing generation countermeasure network model reasoning calculation, uniformly quantifying the composition method in the composition system, and generating a group of composition schemes and corresponding composition index evaluation algorithms.

As can be seen from the above description, the method generates the confrontation network model for reasoning and calculation, and uniformly quantifies the method in the composition science system, so that the composition index evaluation algorithm is generated.

Further, the step S2 further includes:

s24, traversing composition metadata in the composition scheme, and fitting and drawing the content in the picture according to the composition metadata to form a scheme preview;

s25, fitting, packaging and displaying the composition scheme, the scheme preview and the composition index evaluation algorithm, and obtaining the final composition scheme and the composition index evaluation algorithm according to user selection.

As can be seen from the above description, the present invention also fits the picture content to generate a scheme preview, so that the user can more clearly understand the composition scheme.

Further, the step S3 is specifically:

s31, loading composition guide or voice guide on the shooting preview interface according to the final composition scheme;

and S32, according to the final composition scheme, performing composition effect evaluation on the picture information of the current shooting preview interface, grading the weight, the size ratio, the placing position, the image fitting degree and the picture uniformity of the main body and the auxiliary objects, and performing normalization processing on the grades to obtain the evaluation scores and display the evaluation scores.

According to the invention, the user is guided to compose by loading composition guide or directly conducting voice guide on the shooting page, so that the method is more convenient, and meanwhile, the grading display is carried out on the picture information of the current shooting preview interface, so that the user can know whether the current picture accords with the composition rule more intuitively.

Further, the method also comprises the following steps:

s4, photographing the screen or reselecting a composition scheme according to the user request, and performing the step S3.

According to the description, the user can select to reselect the composition scheme or shoot according to whether the current scheme is satisfied, and the method is more flexible and humanized.

Referring to fig. 2, a shooting composition guidance terminal includes a processor, a memory, and a computer program stored in the memory and operable on the processor, and when the processor executes the computer program, the processor implements the following steps:

s1, determining a shooting subject according to the selection of a user, acquiring picture information of a shooting preview interface, and performing semantic recognition on the picture information to obtain subject semantic data in a picture;

s2, performing reasoning calculation for generating a confrontation network model according to the shooting subject and the subject semantic data to obtain a composition scheme and a composition index evaluation algorithm;

s3, according to the composition scheme, composition guide is loaded on a shooting preview interface, according to the composition index evaluation algorithm, composition effect evaluation is carried out after a user completes composition according to the composition guide, and an evaluation score is given, so that the user can carry out composition adjustment or shooting according to the evaluation score.

From the above description, the beneficial effects of the present invention are: the invention utilizes the composition scheme identified and generated by semantics and carries out composition guidance, and simultaneously, a photographer can obtain a relatively suitable shooting composition scheme, thereby reducing the shooting composition difficulty, realizing composition recommendation, guidance and evaluation and improving the shooting efficiency.

Further, the step S2 is specifically:

s21, displaying the identified subject semantic data for confirmation, manual modification or re-identification selection by the user;

s22, analyzing and packaging the shooting subject and subject semantic data confirmed or modified by a user to obtain composition structured data;

and S23, starting a composition scheme engine, performing generation countermeasure network model reasoning calculation, uniformly quantifying the composition method in the composition system, and generating a group of composition schemes and corresponding composition index evaluation algorithms.

As can be seen from the above description, the method generates the confrontation network model for reasoning and calculation, and uniformly quantifies the method in the composition science system, so that the composition index evaluation algorithm is generated.

Further, the step S2 when the processor executes the computer program further includes:

s24, traversing composition metadata in the composition scheme, and fitting and drawing the content in the picture according to the composition metadata to form a scheme preview;

s25, fitting, packaging and displaying the composition scheme, the scheme preview and the composition index evaluation algorithm, and obtaining the final composition scheme and the composition index evaluation algorithm according to user selection.

As can be seen from the above description, the present invention also fits the picture content to generate a scheme preview, so that the user can more clearly understand the composition scheme.

Further, the step S3 is specifically:

s31, loading composition guide or voice guide on the shooting preview interface according to the final composition scheme;

and S32, according to the final composition scheme, performing composition effect evaluation on the picture information of the current shooting preview interface, grading the weight, the size ratio, the placing position, the image fitting degree and the picture uniformity of the main body and the auxiliary objects, and performing normalization processing on the grades to obtain the evaluation scores and display the evaluation scores.

According to the invention, the user is guided to compose by loading composition guide or directly conducting voice guide on the shooting page, so that the method is more convenient, and meanwhile, the grading display is carried out on the picture information of the current shooting preview interface, so that the user can know whether the current picture accords with the composition rule more intuitively.

Further, the processor, when executing the computer program, further comprises the steps of:

s4, photographing the screen or reselecting a composition scheme according to the user request, and performing the step S3.

According to the description, the user can select to reselect the composition scheme or shoot according to whether the current scheme is satisfied, and the method is more flexible and humanized.

Referring to fig. 1 and fig. 3, a first embodiment of the present invention is:

a shooting composition guidance method, comprising:

s1, determining a shooting subject according to the selection of a user, acquiring picture information of a shooting preview interface, and performing semantic recognition on the picture information to obtain subject semantic data in a picture;

in this embodiment, according to different shooting scene categories, targeted shooting subject categories, such as jewelry shooting, portrait shooting, and the like, are preset in the system. Before shooting, a user needs to select a shooting subject category corresponding to the shooting so that a system can load a corresponding image processing engine under the category. And according to the selected shooting subject category, enabling a corresponding image semantic segmentation model inference engine to carry out inference calculation of semantic identification on the image in the shooting picture, and obtaining image semantic data in the picture, wherein the image semantic data comprises information such as the background in the picture and the category, position and area of each object. The image semantic segmentation model is a pre-trained composition neural network model.

S2, performing reasoning calculation for generating a confrontation network model according to the shooting subject and the subject semantic data to obtain a composition scheme and a composition index evaluation algorithm;

the step S2 specifically includes:

s21, displaying the identified subject semantic data for confirmation, manual modification or re-identification selection by the user;

in this embodiment, the recognized image semantic data is marked on the camera mobile application interface to let the user confirm whether the recognition is correct. If the identification is missed or wrong, the user can modify the identification result in a manual correction mode or perform re-identification.

S22, analyzing and packaging the shooting subject and subject semantic data confirmed or modified by a user to obtain composition structured data;

in this embodiment, after the user confirms the recognition result, the composition evaluation application program starts to execute a semantic analysis algorithm, and analyzes and encapsulates the semantic data of the current image, so as to finally obtain composition structured data composed of the subject category, the background, the subject information, and the auxiliary shooting object information, where each object may be multiple in the data.

S23, starting a composition scheme engine, carrying out generation countermeasure network model reasoning calculation, carrying out unified quantification on the composition method in a composition system, and generating a group of composition schemes and corresponding composition index evaluation algorithms;

in this embodiment, according to the obtained composition structured data of the shot picture, a countermeasure network model is generated through an image processing engine to perform inference calculation, so as to obtain a group of composition candidate schemes and a corresponding composition index evaluation algorithm. The composition index evaluation algorithm is characterized in that the evaluation indexes are obtained by carrying out factor grading on object weight, main body and auxiliary object size ratio, image fitting degree, picture symmetry and the like according to the unified quantification of various composition methods in a composition system and aiming at different subject categories and carrying out normalization processing on the grading.

S24, traversing composition metadata in the composition scheme, and fitting and drawing the content in the picture according to the composition metadata to form a scheme preview;

s25, fitting, packaging and displaying the composition scheme, the scheme preview and the composition index evaluation algorithm, and obtaining the final composition scheme and the composition index evaluation algorithm according to user selection.

In this embodiment, the composition scheme engine may traverse the composition metadata in the composition scheme, perform fitting drawing on the image object according to the composition metadata to form a preview, package the composition index evaluation algorithm, the composition scheme, and the fitted picture into a composition candidate scheme recommended to the user, and after receiving the recommended composition scheme recommended by the composition scheme engine, the user may preview a composition effect on an application interface and select a preferred composition scheme of the user.

S3, according to the composition scheme, loading composition guide on a shooting preview interface, according to the composition index evaluation algorithm, after the user finishes composition according to the composition guide, carrying out composition effect evaluation, and giving an evaluation score, so that the user can carry out composition adjustment or shooting according to the evaluation score;

the step S3 specifically includes:

s31, loading composition guide or voice guide on the shooting preview interface according to the final composition scheme;

and S32, according to the final composition scheme, performing composition effect evaluation on the picture information of the current shooting preview interface, grading the weight, the size ratio, the placing position, the image fitting degree and the picture uniformity of the main body and the auxiliary objects, and performing normalization processing on the grades to obtain the evaluation scores and display the evaluation scores.

In this embodiment, after the user selects the composition scheme on the interface, the application starts composition shooting guidance, and displays a selected composition scheme guidance frame on the functional interface, where the outlines, placement positions, and real-time effect evaluation scores of the main object and the auxiliary object are identified. The engine analyzes whether factors such as object weight, main body and auxiliary object size ratio, image fitting degree, picture symmetry and the like accord with the composition rule or not, scores are carried out, and normalization processing is carried out on the scores to obtain evaluation scores. Or clicking a gradual placement button to guide the user to carry out placement shooting on the object in a manner of placement prompt information and voice prompt.

S4, photographing the screen or reselecting a composition scheme according to the user request, and performing the step S3.

In the embodiment, the user refers to the composition score according to the shooting requirement, and evaluates whether the composition effect is satisfactory or not according to the composition result, if the composition effect is satisfactory, shooting can be performed, and if the composition effect is unsatisfactory, adjustment and decoration can be continued, or the composition scheme can be selected again. After the user finishes shooting, a composition effect evaluation program can be executed to score the effect.

Referring to fig. 2, the second embodiment of the present invention is:

a shooting composition guidance terminal 1 comprises a processor 2, a memory 3 and a computer program stored in the memory 3 and capable of running on the processor 2, wherein the processor 2 realizes the steps in the first embodiment when executing the computer program.

In summary, the shooting composition guiding method and the shooting composition guiding terminal provided by the invention utilize the composition scheme identified and generated by the semantics, perform composition guiding, and simultaneously enable a photographer to obtain a relatively suitable shooting composition scheme, thereby reducing the shooting composition difficulty, realizing composition recommendation, guiding and evaluation, and improving the shooting efficiency. According to the invention, through image understanding of a picture, image semantic information such as a background, a specific main body target and an auxiliary target in the picture, a position incidence relation between the targets, an incidence relation between the background and the targets and the like is identified, a composition scheme and a composition evaluation index are obtained through reasoning and calculation, and photographing composition is guided in a preview interface in an information prompt or voice prompt mode so as to achieve an optimal photographing composition effect, simplify a photographing composition process and improve a photographing level, and make up for the problem that a full picture theme cannot be presented due to systematic control shortage of photographing knowledge.

The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all equivalent changes made by using the contents of the present specification and the drawings, or applied directly or indirectly to the related technical fields, are included in the scope of the present invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:三维展示方法及三维展示装置、存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!