CN116744124A - Self-help shooting equipment background generation method and device, electronic equipment and storage medium - Google Patents

Self-help shooting equipment background generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116744124A
CN116744124A CN202311032800.7A CN202311032800A CN116744124A CN 116744124 A CN116744124 A CN 116744124A CN 202311032800 A CN202311032800 A CN 202311032800A CN 116744124 A CN116744124 A CN 116744124A
Authority
CN
China
Prior art keywords
real
area
information
shooting
photo image
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.)
Granted
Application number
CN202311032800.7A
Other languages
Chinese (zh)
Other versions
CN116744124B (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.)
Guangzhou Fangtu Technology Co ltd
Original Assignee
Guangzhou Fangtu Technology 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 Guangzhou Fangtu Technology Co ltd filed Critical Guangzhou Fangtu Technology Co ltd
Priority to CN202311032800.7A priority Critical patent/CN116744124B/en
Publication of CN116744124A publication Critical patent/CN116744124A/en
Application granted granted Critical
Publication of CN116744124B publication Critical patent/CN116744124B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/272Means for inserting a foreground image in a background image, i.e. inlay, outlay

Abstract

The application provides a self-help shooting equipment background generation method, a self-help shooting equipment background generation device, electronic equipment and a storage medium, and relates to the technical field of photo background generation. The method comprises the following steps: acquiring an event photo image selected by a user, wherein the event photo image is an image shot by current shooting equipment before the current moment; acquiring synthetic position information selected by a user on an event photo image, and generating a guide area in a real-time shooting picture based on the synthetic position information; sharing the real-time shooting picture with the guiding area to a terminal carried by a user; shooting a real-time photo image containing portrait information in the guiding area; and synthesizing the portrait information in the real-time photo image on the event photo image. According to the scheme provided by the application, the portrait information in the synthesized photo and the environmental elements on the event photo image can be coordinated and unified, so that the effect of synthesizing the photo is improved, and the requirements of shooting and punching cards of users and the environmental elements in the event photo image are met.

Description

Self-help shooting equipment background generation method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of photo background generation, in particular to a self-help shooting device background generation method and device, electronic equipment and a storage medium.
Background
The self-help shooting device is a device which is placed at a specific position and provides a self-help shooting service function for people. The self-service photographing apparatus is usually placed in a public place with large traffic, and in the years in which the personal photographing apparatus has not been popular, the self-service photographing apparatus has been widely appreciated because it does not need a photographer to participate, and can meet the private photographing requirement of the user. With the popularization of private cameras and the perfection of smart phone photographing functions, self-service photographing apparatuses are required to provide differentiated photographing services to users to obtain the favor of the users, for example, to provide credential photo services and to provide personalized photographing services.
Background images used in existing self-help photographing devices are usually pre-stored in an internal database thereof, and can meet the standardized credential requirements of users in the credential service providing process, but when users need more personalized background images, the pre-stored background images in the existing self-help photographing devices are difficult to attract users compared with real-time and diversified background images on smart phones.
Aiming at the problem that a background image in self-help shooting equipment has low attraction to a user, the application patent with the patent number of CN107331067A provides a scenic spot shooting method and a scenic spot shooting system, by acquiring positioning information of the self-help shooting equipment, a scenic photo associated with the positioning information is sent to be used as the background image for the user, and the user can select a multi-angle scenic photo of a specific area in the scenic spot to be used as the background image. The method can solve the problem that the shooting and punching of special sceneries are difficult due to factors such as weather, seasons and the like after a user arrives at a scenic spot. However, since the photo shot by the self-help shooting device and the received scenic photo have differences in shooting positions and shooting angles, the problem that the proportion of the portrait information in the photo synthesized by the method to the environmental elements in the scenic photo is inconsistent can exist, so that the effect of synthesizing the photo is poor.
In view of the above problems, no effective technical solution is currently available.
Disclosure of Invention
The application aims to provide a self-help shooting equipment background generation method, a self-help shooting equipment background generation device, electronic equipment and a storage medium, which are beneficial to improving the effect of synthesizing photos and meeting the shooting and card punching requirements of users and environmental elements in event photo images.
In a first aspect, the present application provides a self-service shooting device background generation method, where the method includes:
acquiring an event photo image selected by a user, wherein the event photo image is an image shot by current shooting equipment before the current moment;
acquiring synthetic position information selected by a user on the event photo image, and generating a guide area in a real-time shooting picture based on the synthetic position information;
sharing the real-time shooting picture with the guiding area to a terminal carried by the user;
shooting a real-time photo image containing portrait information in the guiding area;
and synthesizing the portrait information in the real-time photo image on the event photo image.
According to the self-service shooting equipment background generation method provided by the application, after the user selects the synthesized position information on the event photo image, the guide area can be generated in the real-time shooting picture based on the synthesized position information, then the real-time shooting picture with the guide area is shared to the terminal carried by the user, the real-time photo image containing the portrait information in the guide area is shot, and finally the portrait information in the real-time photo image is synthesized on the event photo image. Because the event photo image is an image shot before the current moment of the current shooting equipment, the shooting positions and shooting angles of the event photo image and the real-time photo image can be kept consistent, and the problem of inconsistent proportions of portrait information in the real-time photo image and environmental elements of the event photo image does not exist. On the basis, when the environment elements which are not possessed by the real-time shooting picture are arranged on the event photo image, the user can reach the positions of the environment elements when the event photo image is shot through the guide area, so that the spaced interaction between the portrait information in the real-time photo image and the environment elements in the event photo image is realized. In addition, through sharing the real-time shooting picture with the guide area to the terminal carried by the user, the user can move to the corresponding shooting position away from the self-service shooting equipment under the guidance of the terminal. Therefore, the portrait information in the synthesized photo and the environmental elements on the event photo image can be coordinated and unified, and the portrait information in the real-time photo image can be directly synthesized on the event photo image without repairing the photo, thereby being beneficial to improving the effect of synthesizing the photo and meeting the requirements of shooting and punching cards of users and the environmental elements in the event photo image.
Optionally, in the self-service photographing apparatus background generation method of the present application, the step of photographing a real-time photo image including portrait information in the guiding area includes:
receiving feedback information sent by a terminal carried by the user;
and shooting a real-time photo image containing portrait information in the guiding area based on the feedback information.
Optionally, in the self-service photographing apparatus background generation method of the present application, the step of photographing a real-time photo image including portrait information in the guiding area includes:
generating a portrait area based on portrait information in the real-time shooting picture;
calculating the coincidence ratio information of the portrait area and the guiding area;
and shooting a plurality of real-time photo images after the coincidence degree information reaches a preset value.
Optionally, in the self-help shooting device background generation method of the present application, the generating a portrait area based on portrait information in the real-time shooting picture includes:
acquiring face information of the portrait information;
and generating the portrait area based on the result that the face in the face information faces the self-help shooting equipment.
Optionally, in the self-service photographing apparatus background generation method of the present application, the step of acquiring the synthetic position information selected by the user on the event photo image and generating the guiding area in the real-time photographing picture based on the synthetic position information includes:
Generating a first real-time shooting picture according to the shooting focal length of the event photo image;
generating a first guide area in the first real-time photographing picture based on the synthesized position information;
acquiring synthetic action information selected by a user on the event photo image;
generating a second real-time shooting picture with the shooting focal length smaller than that of the first real-time shooting picture;
and generating a second guide area in the second real-time shooting picture based on the synthesized motion information.
Optionally, in the self-service photographing apparatus background generation method of the present application, the step of photographing a real-time photo image including portrait information in the guiding area includes:
generating a first portrait area based on portrait information in the first real-time shooting picture;
calculating first contact ratio information of the first portrait region and the first guiding region;
generating a second portrait area based on portrait information in the second real-time shooting picture;
calculating second coincidence information of the second portrait region and the second index region;
obtaining a deviation result according to the first contact ratio information and the second contact ratio information;
and after the deviation result is smaller than a set value, shooting a plurality of real-time photo images.
Optionally, in the self-service shooting device background generating method of the present application, a calculation formula of the deviation result is:
is the deviation result; />Is a first overlap ratio coefficient; />A superposition area of the first portrait area and the first guiding area; />An area that is the first portrait area; />An area of the first guide region; />Is a second coefficient of coincidence; />The overlapping area of the second portrait area and the second index area is the overlapping area of the second portrait area and the second index area; />An area of the second portrait area; />For the area of the second index region, the first coincidence information is equal to +.>The second coincidence information is equal to +.>
In a second aspect, the present application further provides a self-service shooting device background generating apparatus, including:
the acquisition module is used for acquiring an event photo image selected by a user, wherein the event photo image is an image shot by current shooting equipment before the current moment;
the guiding module is used for acquiring the synthetic position information selected by the user on the event photo image and generating a guiding area in a real-time shooting picture based on the synthetic position information;
the sharing module is used for sharing the real-time shooting picture with the guide area to the terminal carried by the user;
The shooting module is used for shooting a real-time photo image containing portrait information in the guiding area;
and the synthesizing module is used for synthesizing the portrait information in the real-time photo image on the event photo image.
In a third aspect, the present application provides an electronic device, including a processor and a memory, where the memory stores a computer program, and the processor implements the steps in the self-help shooting device background generation method as described above when executing the computer program.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs steps in a self-help photographing apparatus background generation method as described above.
As can be seen from the above, according to the self-help shooting device background generation method, device, electronic device and storage medium provided by the application, after the user selects the synthesized position information on the event photo image, the guiding area can be generated in the real-time shooting picture based on the synthesized position information, then the real-time shooting picture with the guiding area is shared to the terminal carried by the user, then the real-time photo image containing the portrait information in the guiding area is shot, and finally the portrait information in the real-time photo image is synthesized on the event photo image. Because the event photo image is an image shot before the current moment of the current shooting equipment, the shooting positions and shooting angles of the event photo image and the real-time photo image can be kept consistent, and the problem of inconsistent proportions of portrait information in the real-time photo image and environmental elements of the event photo image does not exist. On the basis, when the environment elements which are not possessed by the real-time shooting picture are arranged on the event photo image, the user can reach the positions of the environment elements when the event photo image is shot through the guide area, so that the spaced interaction between the portrait information in the real-time photo image and the environment elements in the event photo image is realized. In addition, through sharing the real-time shooting picture with the guide area to the terminal carried by the user, the user can move to the corresponding shooting position away from the self-service shooting equipment under the guidance of the terminal. Therefore, the portrait information in the synthesized photo and the environmental elements on the event photo image can be coordinated and unified, and the portrait information in the real-time photo image can be directly synthesized on the event photo image without repairing the photo, thereby being beneficial to improving the effect of synthesizing the photo and meeting the requirements of shooting and punching cards of users and the environmental elements in the event photo image.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the embodiments of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
Fig. 1 is a flowchart of a self-service shooting device background generation method provided by an embodiment of the present application.
Fig. 2 is a block diagram of a background generating device of a self-help shooting device provided by the application.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Description of the reference numerals: 10. an acquisition module; 20. a guiding module; 30. a sharing module; 40. a shooting module; 50. a synthesis module; 3. an electronic device; 301. a processor; 302. A memory; 303. a communication bus.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
The application provides a self-help shooting equipment background generation method, which can be applied to self-help shooting equipment, and a background image using the method is obtained by shooting by the self-help shooting equipment, and the self-help shooting equipment is placed in a hot event high-incidence area (can be placed in scenic spots, singing halls and the like) and is used for shooting event photo images when events occur, so that the background image in the method has uniqueness and instantaneity, can provide personalized background image selection for users, and can meet shooting and card punching requirements of the users. For example, the self-help shooting device is placed in a scenic spot, an event photo image of a special scenic spot of the scenic spot is shot in advance and stored as a background image, and because the scenic spot in the scenic spot is limited by weather, seasons and other factors, the user can not ensure that the scenic spot of the cardiology instrument can be met when reaching Jing Oushi, and at the moment, the pre-shot scenic spot photo can be extracted from the self-help shooting device to be used as the background image, so that the defect is made up.
Specifically, referring to fig. 1, a method for generating a background of a self-service photographing apparatus, the technical scheme includes the following steps:
s100, acquiring an event photo image selected by a user, wherein the event photo image is an image shot by current shooting equipment before the current moment;
s200, acquiring synthetic position information selected by a user on an event photo image, and generating a guide area in a real-time shooting picture based on the synthetic position information;
s300, sharing a real-time shooting picture with a guide area to a terminal carried by a user;
s400, shooting a real-time photo image containing portrait information in the guiding area;
s500, combining the portrait information in the real-time photo image on the event photo image.
In step S100, the event photo image refers to an image taken by the self-service photographing device before the current time of use of the user, and is used as a background image of the user.
The self-service shooting device can be provided with a man-machine interaction interface, a user can select event photo images stored by the self-service shooting device on the man-machine interaction interface, specifically, the user opens an event photo image folder through the man-machine interaction interface, and at least one event photo image is selected from the event photo image folder to be used as a background image.
The event photo image can be manually taken by the device administrator as required, and in particular, the device administrator can take the event photo image on the self-service taking device by inviting special characters, such as stars, singers, net red, and the like.
The event photo image can also be automatically acquired by the self-help shooting equipment, and the automatic acquisition method comprises the following steps:
acquiring the occurrence time of a geothermal point event where the self-help shooting equipment is located;
and shooting event photo images according to the occurrence time.
The position information of the location of the self-help shooting equipment can be obtained by arranging a GPS module in the self-help shooting equipment.
The hot event can automatically acquire the hot event which happens or is about to happen at the position according to the positioning acquired by the GPS module, for example, when the self-help shooting equipment is placed in a concert venue, the starting time of the concert can be acquired in advance; or, the self-help shooting device is placed in Jing Oushi, so that the occurrence time of the special scenery can be known in advance according to the sunrise time, the sunset time and the like of the scenery.
Notably, when the hot event is a predicted event, the self-help shooting device can be accessed to the Internet, and the hot event occurrence time about the place where the self-help shooting device is located on the Internet platform can be obtained through a set program, so that an automatic shooting instruction is generated, and the self-help shooting device automatically obtains an event photo image when the hot event occurs; when the hot event is a real-time event (for example, when the western lake suddenly rains), the manager can manually input the hot event information, and the self-help shooting device generates an automatic shooting instruction after obtaining the hot event information to control the self-help shooting device to shoot and acquire an event photo image.
The user can also select the synthesized location information on the event photo image by selecting the synthesized location information on the man-machine interaction interface, the synthesized location information referring to the location on the event photo image that the user desires to be synthesized. The real-time shooting picture refers to a picture obtained by a shooting end when a user uses the self-help shooting device. The guiding area refers to a display area with guiding function generated in the real-time shooting picture, because the event photo image and the real-time shooting picture are images acquired by the self-service shooting device at the same position and at different times, even if the environmental elements of the self-service shooting device change after the event photo image is shot, the event photo image and the images of the real-time shooting picture can be correlated, namely, a user can select the environmental elements which have disappeared on the event photo image as synthesis position information, the corresponding position in the real-time shooting picture can generate the guiding area, and the user can move to the vicinity of the environmental elements which have disappeared on the event photo image by watching the guiding area in the real-time shooting picture.
The portrait information refers to portrait information appearing in a real-time shooting picture, and the portrait information may be part of human body information of a user, for example, facial image information or upper body image information, and the portrait information may also be image information of the whole body of a human body.
Because the guiding area is generated based on the synthetic position information selected by the user on the event photo image, the size proportion of the portrait information in the guiding area and the environment elements on the synthetic position information is not inconsistent, and at the moment, the photographed portrait information can be directly synthesized on the event photo image without repairing the picture.
The self-help shooting device is placed on a singing hall, a photo of a star when singing on a stage is shot by the self-help shooting device to serve as an event photo image, when a user uses the self-help shooting device, the singing is finished, the temporarily built stage is removed, audience watching performance exists below the stage in the event photo image, the user can select the position of the audience in the event photo image to serve as synthesis position information, a corresponding guiding area is generated in a real-time shooting picture according to the synthesis position information, for example, the audience is shot by the self-help shooting device at the lower left corner in the event photo image, and after the position of the audience is selected as the synthesis position information by the user, the lower left corner in the real-time shooting picture correspondingly generates the guiding area. The user can reach the position of the audience in the event photo image through the guiding area, so that when the audience in the event photo image is replaced by the portrait information of the user, the problem of inconsistent proportion between the portrait information and the stage in the event photo image does not exist.
The terminal refers to intelligent equipment carried by a user, such as a smart phone, a smart tablet, a smart watch and the like, and real-time shooting picture sharing with a guiding area can be realized between the terminal and the self-service shooting equipment in a Bluetooth mode.
The existing self-help shooting equipment is difficult for a user to be far away from the self-help shooting equipment to shoot when in use, so that shooting positions which can be selected by the user are limited, and all portrait information (usually only portrait information of the upper half of the user can be shot) of the user is difficult to acquire by shooting a real-time photo image, so that the portrait information can only be synthesized below a background image, and the operation experience of the user is influenced. The self-help shooting device shares the real-time shooting picture with the guiding area to the terminal, a user can move away from the self-help shooting device to fall into the guiding area through the carrying terminal, so that complete portrait information is obtained, when the synthesized position information in the event photo image is far away from the self-help shooting device, for example, when the event photo image is shot, the replaced audience is 10 meters away from the self-help shooting device, and the guiding area in the real-time shooting picture can be observed through the terminal, so that the user can move to the position where the audience is located at the moment.
And the real-time photo image obtained after the guidance is used for picking up the portrait information in the real-time photo image in a matting way, and then the scratched portrait information is covered on the event photo image for synthesis, so that the photos of the user in the scene when the event occurs can be output, and the shooting and card punching requirements of the user are met.
In summary, according to the self-service photographing apparatus background generation method provided by the application, after the user selects the synthesized position information on the event photo image, the guiding area can be generated in the real-time photographing picture based on the synthesized position information, then the real-time photographing picture with the guiding area is shared to the terminal carried by the user, the real-time photo image containing the portrait information in the guiding area is photographed, and finally the portrait information in the real-time photo image is synthesized on the event photo image. Because the event photo image is an image shot before the current moment of the current shooting equipment, the shooting positions and shooting angles of the event photo image and the real-time photo image can be kept consistent, and the problem of inconsistent proportions of portrait information in the real-time photo image and environmental elements of the event photo image does not exist. On the basis, when the environment elements which are not possessed by the real-time shooting picture are arranged on the event photo image, the user can reach the positions of the environment elements when the event photo image is shot through the guide area, so that the spaced interaction between the portrait information in the real-time photo image and the environment elements in the event photo image is realized. In addition, through sharing the real-time shooting picture with the guide area to the terminal carried by the user, the user can move to the corresponding shooting position away from the self-service shooting equipment under the guidance of the terminal. Therefore, the portrait information in the synthesized photo and the environmental elements on the event photo image can be coordinated and unified, and the portrait information in the real-time photo image can be directly synthesized on the event photo image without repairing the photo, thereby being beneficial to improving the effect of synthesizing the photo and meeting the requirements of shooting and punching cards of users and the environmental elements in the event photo image.
Further, in some embodiments, the step of taking a real-time photo image containing portrait information within the guiding area includes:
receiving feedback information sent by a terminal carried by a user;
and shooting a real-time photo image containing portrait information in the guiding area based on the feedback information.
In this embodiment, the terminal also has a function of sending feedback information to control the self-service shooting device to shoot. Specifically, after the user moves under the guidance of the terminal to enable the portrait information to fall into the guiding area, feedback information is sent to the self-help shooting equipment through the terminal, so that shooting is performed by manually remotely controlling the self-help shooting equipment.
Further, in some embodiments, the step of taking a real-time photo image containing portrait information within the guiding area includes:
generating a portrait area based on portrait information in a real-time shooting picture;
calculating the coincidence ratio information of the portrait region and the guiding region;
and after the coincidence degree information reaches a preset value, shooting a plurality of real-time photo images.
Although the terminal controls the self-service shooting equipment to shoot, the remote shooting control of the self-service shooting equipment can be realized, however, the action of a user holding the terminal can be inevitably generated in the portrait information in the real-time photo image shot by the terminal control. For this reason, it is necessary to solve the above-described problem by providing an automatic photographing function in the self-service photographing apparatus.
In this embodiment, by calculating the contact ratio information of the portrait area and the guiding area, after the contact ratio information reaches a preset value, automatic shooting is performed to obtain a plurality of real-time photo images, and a user may select one or more portrait information from the obtained real-time photo images to be synthesized with the event photo image.
The portrait area is an area formed based on portrait information in a real-time photographed screen, and there are three possibilities that the size of the area between the portrait area and the guidance area is:
1. the area of the portrait area is larger than that of the guiding area;
2. the area of the portrait area is equal to the area of the guiding area;
3. the area of the portrait region is smaller than the area of the guide region.
The calculation formula of the coincidence information can be
Wherein X is the coincidence degree information, A is the coincidence area of the portrait area and the guiding area, B is the area of the portrait area, and C is the area of the guiding area.
The overlapping situation of the portrait area and the guiding area has the following five possibilities:
1. the area of the portrait area is equal to that of the guiding area, the portrait area is completely overlapped with the guiding area, and the overlapping degree information of the portrait area and the guiding area is 1.
2. The human image area and the guiding area are not overlapped at all, and the overlapping degree information of the human image area and the guiding area is 0.
3. The human image area is partially overlapped with the guiding area, the human image area is partially positioned in the guiding area, and the human image area is partially positioned outside the guiding area, and the contact ratio information of the human image area and the guiding area is between 0 and 1.
4. The portrait region completely falls into the guiding region, and a gap space exists between the portrait region and the guiding region, namely the area of the portrait region is smaller than that of the guiding region, and the contact ratio information of the portrait region and the guiding region is between 0 and 1.
5. The portrait region is completely overlapped with the guiding region, but the portrait region still exists outside the guiding region, namely the area of the portrait region is larger than that of the guiding region, and the contact ratio information of the portrait region and the guiding region is between 0 and 1.
In theory, when the coincidence information reaches 1, a real-time photo image which can be obtained by photographing is optimal, but in actual use, it is difficult for the user to accurately move to fall into the guide area. Therefore, in actual use, the preset value of the contact ratio information can be set to be 0.8-1, and when the contact ratio information reaches the preset value, for example, when the contact ratio information is 0.9, the self-help shooting device automatically shoots a real-time photo image at the moment.
The automatic shooting function is particularly suitable for the situation that a user needs to move a middle-short distance of 2 meters to 5 meters to fall into a guiding area, at the moment, the user can quickly and safely move to a corresponding approximate position through the guiding of the terminal, the terminal can be retracted after moving to the corresponding approximate position, the final fine adjustment position is carried out by watching the screen of the self-help shooting equipment, the portrait information falls into the guiding area to the greatest extent, the automatic shooting function of the self-help shooting equipment is triggered, and then a plurality of real-time photo images containing the portrait information are obtained.
Further, in some embodiments, the step of generating the portrait area by capturing the portrait information in the picture in real time includes:
acquiring face information of portrait information;
and generating a portrait area based on the result that the face in the face information faces the self-help shooting equipment.
In the process that the user moves to the guiding area through the terminal, the situation that the face information is opposite to the self-help shooting equipment, and the contact ratio information reaches a preset value exists, if a portrait area is generated at the moment, real-time photo images are shot, so that the number of real-time photo images to be screened is too large, and the user needs to expend a great deal of effort to select proper real-time photo images.
Therefore, when the image area is generated, whether the face in the face information faces the self-help shooting equipment is judged by acquiring the face information of the face information, and after the face faces the self-help shooting equipment, the image area is regenerated, so that the generation of the image area is controlled, the shooting of the real-time photo image which does not meet the requirements is removed from the source, the accuracy of the real-time photo image is improved, and the workload of a user for screening the real-time photo image is reduced. It should be noted that, in this embodiment, the step may be turned on or turned off by the user, and when the user needs to take a real-time photo image of the self-service capturing device, the step may be turned off to automatically obtain the real-time photo image of the self-service capturing device.
Further, in some embodiments, the step of acquiring the synthesized position information on the event photo image selected by the user and generating the guide area in the real-time photographing screen based on the synthesized position information includes:
generating a first real-time shooting picture according to the shooting focal length of the event photo image;
generating a first guide area in a first real-time photographing picture based on the synthesized position information;
acquiring synthetic action information selected by a user on an event photo image;
generating a second real-time shooting picture with the shooting focal length smaller than that of the first real-time shooting picture;
a second index region is generated in the second real-time photographed picture based on the synthesized motion information.
In this embodiment, the shooting focal length of the first real-time shooting picture is consistent with the shooting focal length of the event photo image when shooting, the visible distance and the visible angle of the first real-time shooting picture are consistent, the first guiding area is generated based on the synthesized position information, that is, the position and the size ratio of the first guiding area in the first real-time shooting picture are consistent with the position and the size ratio of the synthesized position information in the event photo image, and the user can quickly move to fall into the first guiding area, so that the user can reach the vicinity of the environmental element which has disappeared on the synthesized position information. When a user falls into the first guiding area and needs to be far away from the self-help shooting equipment, for example, the user needs to move 10 meters to fall into the guiding area, and when the user wants to interact with the environment elements in an action mode, the guiding requirement of the user can not be met obviously only in the first guiding area.
For this reason, the user may select to input the synthesized motion information on the event photo image by selecting, for example, that sun exists in the event photo image and the sun has a small duty ratio in the event photo image, and the user may select to input the synthesized position information in the vicinity of the sun, at which time a corresponding first guide area is generated in the first real-time photographing screen based on the synthesized position information selected by the user for guiding the user to quickly move to fall within the first guide area. The user may select the synthesis position information and also select the synthesis action information, for example, the user may select the synthesis action information of the hand held sun, at this time, the second instruction area is generated based on the synthesis action information in the second real-time shooting picture, and because the shooting focal length of the first real-time shooting picture is smaller than that of the second real-time shooting picture, the second real-time shooting picture is an enlarged close-up lens picture, and the second instruction area in the second real-time shooting picture is an enlarged hand held sun action guiding area, so as to instruct the user to complete the action of the hand held sun. In summary, in the embodiment, the user is guided to quickly move to the synthesized position information in the event photo image by the first guiding area in the first real-time shooting picture, and then the user is guided to complete the action on the synthesized action information by the second guiding area in the second real-time shooting picture, so that the action interaction capability of the portrait information and the environmental elements in the synthesized photo is improved.
Further, in some embodiments, the step of taking a real-time photo image containing portrait information within the guiding area includes:
generating a first portrait area based on portrait information in a first real-time shooting picture;
calculating first coincidence information of the first human image region and the first guiding region;
generating a second portrait area based on portrait information in a second real-time shooting picture;
calculating second coincidence information of the second image region and the second index region;
obtaining a deviation result according to the first contact ratio information and the second contact ratio information;
and taking a plurality of real-time photo images after the deviation result is smaller than the set value.
In the embodiment of the user selecting and inputting the synthetic action information, the real-time photo image can be obtained by adopting an automatic shooting mode, and particularly, when the synthetic action information is completed by using both hands of the user, the automatic shooting function can liberate the hands of the user, so that the hands of the user can make actions in the synthetic action information. In this embodiment, the deviation result is obtained based on the first overlap ratio information and the second overlap ratio information through the first overlap ratio information of the first person region and the first guide region, the second person region and the second guide region, and finally, whether the deviation result reaches the set value is judged, and after the deviation result is smaller than the set value, a plurality of real-time photo images are taken.
Further, in some embodiments, the calculation formula of the deviation result is:
,/>
wherein P is a deviation result;is a first overlap ratio coefficient; />Is first coincidence information; />The overlapping area of the first human image area and the first guiding area is; />An area that is a first portrait area; />Area of the first guiding region;Is a second coefficient of coincidence; />Is the second coincidence information; />The overlapping area of the second portrait area and the second index area; />Is the area of the second portrait area; />Is the area of the index area.
In some embodiments, it is proposed that the deviation result is obtained by calculating the first contact ratio information and the second contact ratio information, and when the deviation result is smaller than the set value, a real-time photo image is taken. The embodiment provides a specific calculation formula of a deviation result, in the formula, weights of first coincidence information and second coincidence information can be set through the first coincidence coefficient and the second coincidence coefficient, generally, the closer the second coincidence information is to 1, the closer the first coincidence information is to 1, the smaller the deviation result P is, and the more satisfactory the obtained real-time photo image is; while the first overlap information is near 1, the second overlap information is not necessarily near 1. Therefore, the second overlapping coefficient is smaller than the first overlapping coefficient, so that the action in the photographed real-time photo image can meet the requirement in the synthetic action information to a greater extent. For example, the number of the cells to be processed, Can be set to 1,/or->Can be set to 0.5, the set value can be set to 0-0.2, then +.>SatisfactoryThe interval is 0.8-1; />The interval meeting the requirements is 0.9-1, and when the deviation result is smaller than 0.2, the real-time photo image is automatically shot.
Referring to fig. 2, the application further provides a self-help shooting device background generating device, which comprises the following steps:
the acquiring module 10 is configured to acquire an event photo image selected by a user, where the event photo image is an image captured by a current capturing device before a current time;
a guiding module 20, configured to obtain the synthesized position information selected by the user on the event photo image, and generate a guiding area in the real-time shooting picture based on the synthesized position information;
a sharing module 30, configured to share the real-time shooting picture with the guiding area to a terminal carried by the user;
a photographing module 40 for photographing a real-time photo image containing portrait information in the guiding area;
the synthesizing module 50 is configured to synthesize the portrait information in the real-time photo image onto the event photo image.
In other preferred embodiments, the self-service photographing apparatus background generation device provided by the present application may perform any one of the steps of the self-service photographing apparatus background generation method described above.
According to the self-service shooting equipment background generation device, after the user selects the synthesized position information on the event photo image, the guide area can be generated in the real-time shooting picture based on the synthesized position information, then the real-time shooting picture with the guide area is shared to the terminal carried by the user, the real-time photo image containing the portrait information in the guide area is shot, and finally the portrait information in the real-time photo image is synthesized on the event photo image. Because the event photo image is an image shot before the current moment of the current shooting equipment, the shooting positions and shooting angles of the event photo image and the real-time photo image can be kept consistent, and the problem of inconsistent proportions of portrait information in the real-time photo image and environmental elements of the event photo image does not exist. On the basis, when the environment elements which are not possessed by the real-time shooting picture are arranged on the event photo image, the user can reach the positions of the environment elements when the event photo image is shot through the guide area, so that the spaced interaction between the portrait information in the real-time photo image and the environment elements in the event photo image is realized. In addition, through sharing the real-time shooting picture with the guide area to the terminal carried by the user, the user can move to the corresponding shooting position away from the self-service shooting equipment under the guidance of the terminal. Therefore, the portrait information in the synthesized photo and the environmental elements on the event photo image can be coordinated and unified, and the portrait information in the real-time photo image can be directly synthesized on the event photo image without repairing the photo, thereby being beneficial to improving the effect of synthesizing the photo and meeting the requirements of shooting and punching cards of users and the environmental elements in the event photo image.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 3 includes: processor 301 and memory 302, the processor 301 and memory 302 being interconnected and in communication with each other by a communication bus 303 and/or other form of connection mechanism (not shown), the memory 302 storing a computer program executable by the processor 301, the processor 301 executing the computer program when the computing device is running to perform the method in any of the alternative implementations of the above embodiments to carry out the following functions: after the user selects the synthesized position information on the event photo image, a guide area can be generated in the real-time shooting picture based on the synthesized position information, then the real-time shooting picture with the guide area is shared to a terminal carried by the user, then the real-time photo image containing the portrait information in the guide area is shot, and finally the portrait information in the real-time photo image is synthesized on the event photo image. Because the event photo image is an image shot before the current moment of the current shooting equipment, the shooting positions and shooting angles of the event photo image and the real-time photo image can be kept consistent, and the problem of inconsistent proportions of portrait information in the real-time photo image and environmental elements of the event photo image does not exist. On the basis, when the environment elements which are not possessed by the real-time shooting picture are arranged on the event photo image, the user can reach the positions of the environment elements when the event photo image is shot through the guide area, so that the spaced interaction between the portrait information in the real-time photo image and the environment elements in the event photo image is realized. In addition, through sharing the real-time shooting picture with the guide area to the terminal carried by the user, the user can move to the corresponding shooting position away from the self-service shooting equipment under the guidance of the terminal. Therefore, the portrait information in the synthesized photo and the environmental elements on the event photo image can be coordinated and unified, and the portrait information in the real-time photo image can be directly synthesized on the event photo image without repairing the photo, thereby being beneficial to improving the effect of synthesizing the photo and meeting the requirements of shooting and punching cards of users and the environmental elements in the event photo image.
An embodiment of the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, performs a method in any of the alternative implementations of the above embodiments to implement the following functions: after the user selects the synthesized position information on the event photo image, a guide area can be generated in the real-time shooting picture based on the synthesized position information, then the real-time shooting picture with the guide area is shared to a terminal carried by the user, then the real-time photo image containing the portrait information in the guide area is shot, and finally the portrait information in the real-time photo image is synthesized on the event photo image. Because the event photo image is an image shot before the current moment of the current shooting equipment, the shooting positions and shooting angles of the event photo image and the real-time photo image can be kept consistent, and the problem of inconsistent proportions of portrait information in the real-time photo image and environmental elements of the event photo image does not exist. On the basis, when the environment elements which are not possessed by the real-time shooting picture are arranged on the event photo image, the user can reach the positions of the environment elements when the event photo image is shot through the guide area, so that the spaced interaction between the portrait information in the real-time photo image and the environment elements in the event photo image is realized. In addition, through sharing the real-time shooting picture with the guide area to the terminal carried by the user, the user can move to the corresponding shooting position away from the self-service shooting equipment under the guidance of the terminal. Therefore, the portrait information in the synthesized photo and the environmental elements on the event photo image can be coordinated and unified, and the portrait information in the real-time photo image can be directly synthesized on the event photo image without repairing the photo, thereby being beneficial to improving the effect of synthesizing the photo and meeting the requirements of shooting and punching cards of users and the environmental elements in the event photo image. The storage medium may be implemented by any type of volatile or nonvolatile Memory device or combination thereof, such as static random access Memory (Static Random Access Memory, SRAM), electrically erasable Programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), programmable Read-Only Memory (PROM), read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
Further, the units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A self-help shooting device background generation method, the method comprising:
acquiring an event photo image selected by a user, wherein the event photo image is an image shot by current shooting equipment before the current moment;
acquiring synthetic position information selected by a user on the event photo image, and generating a guide area in a real-time shooting picture based on the synthetic position information;
sharing the real-time shooting picture with the guiding area to a terminal carried by the user;
shooting a real-time photo image containing portrait information in the guiding area;
And synthesizing the portrait information in the real-time photo image on the event photo image.
2. The method for generating a background of a self-help photographing apparatus according to claim 1, wherein the step of photographing a real-time photo image containing portrait information in the guiding area comprises:
receiving feedback information sent by a terminal carried by the user;
and shooting a real-time photo image containing portrait information in the guiding area based on the feedback information.
3. The method for generating a background of a self-help photographing apparatus according to claim 1, wherein the step of photographing a real-time photo image containing portrait information in the guiding area comprises:
generating a portrait area based on portrait information in the real-time shooting picture;
calculating the coincidence ratio information of the portrait area and the guiding area;
and shooting a plurality of real-time photo images after the coincidence degree information reaches a preset value.
4. A self-help photographing apparatus background generation method as claimed in claim 3, wherein the step of generating a portrait area based on portrait information in the real-time photographing picture comprises:
acquiring face information of the portrait information;
And generating the portrait area based on the result that the face in the face information faces the self-help shooting equipment.
5. The self-help photographing apparatus background generation method according to claim 1, wherein the step of acquiring the synthetic position information selected by the user on the event photo image and generating the guide area in the real-time photographing picture based on the synthetic position information comprises:
generating a first real-time shooting picture according to the shooting focal length of the event photo image;
generating a first guide area in the first real-time photographing picture based on the synthesized position information;
acquiring synthetic action information selected by a user on the event photo image;
generating a second real-time shooting picture with the shooting focal length smaller than that of the first real-time shooting picture;
and generating a second guide area in the second real-time shooting picture based on the synthesized motion information.
6. The method for generating a background of a self-help photographing apparatus according to claim 5, wherein the step of photographing a real-time photo image containing portrait information in the guiding area comprises:
generating a first portrait area based on portrait information in the first real-time shooting picture;
Calculating first contact ratio information of the first portrait region and the first guiding region;
generating a second portrait area based on portrait information in the second real-time shooting picture;
calculating second coincidence information of the second portrait region and the second index region;
obtaining a deviation result according to the first contact ratio information and the second contact ratio information;
and after the deviation result is smaller than a set value, shooting a plurality of real-time photo images.
7. The self-help shooting device background generation method according to claim 6, wherein the calculation formula of the deviation result is:
);
is the deviation result; />Is a first overlap ratio coefficient; />A superposition area of the first portrait area and the first guiding area; />An area that is the first portrait area; />An area of the first guide region; />Is a second coefficient of coincidence; />The overlapping area of the second portrait area and the second index area is the overlapping area of the second portrait area and the second index area; />An area of the second portrait area; />For the area of the second index region, the first coincidence information is equal to +.>The second coincidence information is equal to +.>
8. A self-help shooting device background generation apparatus, characterized by comprising:
The acquisition module is used for acquiring an event photo image selected by a user, wherein the event photo image is an image shot by current shooting equipment before the current moment;
the guiding module is used for acquiring the synthetic position information selected by the user on the event photo image and generating a guiding area in a real-time shooting picture based on the synthetic position information;
the sharing module is used for sharing the real-time shooting picture with the guide area to the terminal carried by the user;
the shooting module is used for shooting a real-time photo image containing portrait information in the guiding area;
and the synthesizing module is used for synthesizing the portrait information in the real-time photo image on the event photo image.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the self-help shooting device background generation method of any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of the self-help photographing apparatus background generation method of any one of claims 1 to 7.
CN202311032800.7A 2023-08-16 2023-08-16 Shooting method and equipment of self-service shooting equipment, electronic equipment and storage medium Active CN116744124B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311032800.7A CN116744124B (en) 2023-08-16 2023-08-16 Shooting method and equipment of self-service shooting equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311032800.7A CN116744124B (en) 2023-08-16 2023-08-16 Shooting method and equipment of self-service shooting equipment, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116744124A true CN116744124A (en) 2023-09-12
CN116744124B CN116744124B (en) 2023-11-10

Family

ID=87903038

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311032800.7A Active CN116744124B (en) 2023-08-16 2023-08-16 Shooting method and equipment of self-service shooting equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116744124B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090114707A (en) * 2008-04-30 2009-11-04 삼성전자주식회사 Camera and method for compounding picked-up image
KR20160010142A (en) * 2014-07-18 2016-01-27 엘지전자 주식회사 Mobile terminal
CN108259817A (en) * 2016-12-28 2018-07-06 南宁富桂精密工业有限公司 Picture shooting system and method
CN111327833A (en) * 2020-03-31 2020-06-23 厦门美图之家科技有限公司 Auxiliary shooting method and device, electronic equipment and readable storage medium
CN113572982A (en) * 2021-07-27 2021-10-29 杭州辉映智能科技有限公司 Self-service sharing type travel shooting video acquisition method and system
KR102390838B1 (en) * 2021-07-22 2022-04-28 주식회사 엘케이벤쳐스 Apparatus and method for generating a picture frame based on images taken through a shooting room kiosk
CN115665346A (en) * 2022-10-20 2023-01-31 成都市喜爱科技有限公司 Self-service shooting and card punching system and method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090114707A (en) * 2008-04-30 2009-11-04 삼성전자주식회사 Camera and method for compounding picked-up image
KR20160010142A (en) * 2014-07-18 2016-01-27 엘지전자 주식회사 Mobile terminal
CN108259817A (en) * 2016-12-28 2018-07-06 南宁富桂精密工业有限公司 Picture shooting system and method
CN111327833A (en) * 2020-03-31 2020-06-23 厦门美图之家科技有限公司 Auxiliary shooting method and device, electronic equipment and readable storage medium
KR102390838B1 (en) * 2021-07-22 2022-04-28 주식회사 엘케이벤쳐스 Apparatus and method for generating a picture frame based on images taken through a shooting room kiosk
CN113572982A (en) * 2021-07-27 2021-10-29 杭州辉映智能科技有限公司 Self-service sharing type travel shooting video acquisition method and system
CN115665346A (en) * 2022-10-20 2023-01-31 成都市喜爱科技有限公司 Self-service shooting and card punching system and method thereof

Also Published As

Publication number Publication date
CN116744124B (en) 2023-11-10

Similar Documents

Publication Publication Date Title
CN110602396B (en) Intelligent group photo method and device, electronic equipment and storage medium
US7805066B2 (en) System for guided photography based on image capturing device rendered user recommendations according to embodiments
US20130050507A1 (en) Recipe Based Real-time Assistance for Digital Image Capture and Other Consumer Electronics Devices
CN111050072B (en) Method, equipment and storage medium for remote co-shooting
WO2016165488A1 (en) Photo processing method and device
CN109525674B (en) System and method for making house panorama
WO2004039068A1 (en) Image combining portable terminal and image combining method used therefor
CN112702521B (en) Image shooting method and device, electronic equipment and computer readable storage medium
CN104168420B (en) The image pickup method of mobile terminal and mobile terminal
CN107197144A (en) Filming control method and device, computer installation and readable storage medium storing program for executing
CN113329172B (en) Shooting method and device and electronic equipment
WO2024082988A1 (en) Self-service photographing and ticking off system and method
CN109218609A (en) Image composition method and device
CN112333386A (en) Shooting method and device and electronic equipment
WO2018010464A1 (en) Photographing method, apparatus and system
CN113438410A (en) High-magnification shooting method and electronic equipment
CN116744124B (en) Shooting method and equipment of self-service shooting equipment, electronic equipment and storage medium
CN110365910B (en) Self-photographing method and device and electronic equipment
KR101303279B1 (en) Method and device for synthesizing image using multiful cameras
CN110047115B (en) Star image shooting method and device, computer equipment and storage medium
JP2012175128A (en) Information processor, and method and program for generating information for setting illumination
KR101135525B1 (en) Method for updating panoramic image and location search service using the same
JP2014120815A (en) Information processing apparatus, imaging device, information processing method, program, and storage medium
JP5922517B2 (en) Electronic equipment with shooting function
CN115552879A (en) Anchor point information processing method, device, equipment and storage medium

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