CN112383703A - Method and system for automatic framing and photographing - Google Patents
Method and system for automatic framing and photographing Download PDFInfo
- Publication number
- CN112383703A CN112383703A CN202011143353.9A CN202011143353A CN112383703A CN 112383703 A CN112383703 A CN 112383703A CN 202011143353 A CN202011143353 A CN 202011143353A CN 112383703 A CN112383703 A CN 112383703A
- Authority
- CN
- China
- Prior art keywords
- picture
- composition
- shooting
- parameter
- framing
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/64—Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a method and a system for automatically framing and photographing, relates to the technical field of data processing, and solves the technical problem that a professional photo cannot be photographed under the condition of no photography skills. The user can take professional high-level photos without setting and modifying related parameters of the photographic equipment and mastering photographic skills.
Description
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method and a system for automatic framing and photographing.
Background
At present, most mobile phones have the functions of high pixel, beauty, filter, HDR, post processing and the like, but for most users, even if the camera pixel is higher, the post processing function is stronger, and good photos cannot be taken without good photography skills. However, most users have no concept of photography skills, and will not configure photography parameters, or take good-looking photos using photography composition skills, and the photography functions provided on various devices such as mobile phones are similar to the nominal ones. It is an exploratory problem how to take a desired photograph by fully utilizing the photographing function of the existing equipment without having the photographing skill.
Disclosure of Invention
The present disclosure provides a method and a system for automatic framing and photographing, which aims to realize the photographing of professional and high-level photos without photographic skills.
The technical purpose of the present disclosure is achieved by the following technical solutions:
a method of auto-framing photography, comprising:
acquiring a first picture, and storing a first parameter of the first picture;
framing an object to be shot to obtain an object image;
remodeling the object image according to the first parameter to construct a composition picture;
automatically shooting the object image according to the composition picture;
wherein the first parameter comprises: hash value, address, photometric mode, sensitivity, shutter, exposure compensation, and white balance of the first picture.
Further, framing the object to be photographed to obtain an object image includes:
if the object image does not include people, obtaining the layout proportion of all objects in the object image, determining the object with the highest proportion as a parent object, and determining the rest as a child object;
and if the object graph comprises the characters, identifying the characters, determining the characters as parent objects, and identifying the rest of the objects as child objects.
Further, the remodeling and constructing the object image according to the first parameter to determine a composition picture comprises:
according to the first parameter, the father object and the son object are remodeled to obtain at least two composition pictures;
and acquiring the Hash value of the composition picture, and selecting the composition picture if the Hamming distance between the Hash value of the composition picture and the Hash value of the first picture is smaller than a preset threshold value.
Further, automatically shooting the object image according to the composition picture comprises:
acquiring composition parameters of the composition picture, and configuring the composition parameters into photographing parameters;
and automatically finishing shooting according to the shooting angle and direction indicated by the shooting parameters.
A system for automatic framing photography, comprising:
the acquisition module acquires a first picture and stores a first parameter of the first picture;
the view finding module is used for finding a view of an object to be shot to obtain an object image;
the composition module is used for remodeling the object image according to the first parameter to determine a composition picture;
the shooting module automatically shoots the object image according to the composition picture;
wherein the first parameter comprises: hash value, address, photometric mode, sensitivity, shutter, exposure compensation, and white balance of the first picture.
Further, the view finding module includes:
the first view finding unit is used for acquiring the layout proportion of all objects in the object image if the object image does not include people, determining the object with the highest proportion as a parent object, and determining the rest as a child object;
and the second viewing unit is used for identifying that the person is determined to be a parent object and the rest are child objects if the object graph comprises the person.
Further, the patterning module includes:
the remodeling unit is used for remodeling the parent object and the child object according to the first parameter to obtain at least two composition pictures;
the selecting unit is used for acquiring the Hash value of the composition picture, and selecting the composition picture if the Hamming distance between the Hash value of the composition picture and the Hash value of the first picture is smaller than a preset threshold value.
Further, the photographing module includes:
the configuration unit is used for acquiring composition parameters of the composition picture and configuring the composition parameters into photographing parameters;
and the shooting unit automatically finishes shooting according to the shooting angle and direction indicated by the shooting parameters.
The beneficial effect of this disclosure lies in: according to the method and the system for automatically framing and photographing, firstly, relevant parameters of a standard professional picture are stored in a database, then a subject to be photographed is framed to obtain a subject image, then the subject image is remolded by using the relevant parameters of the professional picture to construct a composition picture, and finally the subject image is photographed according to the composition picture. The user can take professional high-level photos without setting and modifying related parameters of the photographic equipment and mastering photographic skills.
Drawings
FIG. 1 is a flow chart of the disclosed method;
FIG. 2 is a schematic view of the disclosed system;
fig. 3 is a schematic view of shooting arrow indication.
Detailed Description
The technical scheme of the disclosure will be described in detail with reference to the accompanying drawings. In the description of the present disclosure, it is to be understood that the term "first" is used for descriptive purposes only and is not to be construed as indicating or implying relative importance or implying any number of technical features indicated, but merely as distinguishing between different components.
Fig. 1 is a flow chart of the method of the present disclosure, as shown in fig. 1, 100: acquiring a first picture, and storing a first parameter of the first picture.
Specifically, the server acquires an original image photo (namely a first picture) shot by a professional photographer at irregular time, numbers the photo, and the number can be used as a unique identifier of the photo, obtains a hash value of the photo through a perceptual hash algorithm, acquires parameter information of the photo, and stores the parameter information in a database. The parameter information of the photo includes hash value, address, photometric mode, sensitivity, shutter, exposure compensation, white balance, and the like.
101: and framing the object to be shot to obtain an object image. Specifically, if the object image does not include people, the layout proportions of all objects in the object image are obtained, the object with the highest proportion is determined as a parent object, and the rest are subclasses; and if the object graph comprises the characters, identifying the characters, determining the characters as parent objects, and identifying the rest of the objects as child objects.
As a specific implementation example, the user aims the photographing device at a subject to be photographed, such as a plant, an animal, a building, a portrait background, and the like, and after focusing for 3 seconds, automatically acquires an image to be photographed and uploads the image to the server, and the server further processes the image to be photographed. The processing of the image to be captured includes: the spatial layout is utilized to obtain the layout proportion of each object in the image to be shot, and the calculation mode of the layout proportion is as follows: and (3) displaying the objects in the image to be shot in a rectangular picture frame, calculating the area of each object, calculating the ratio of the area of each object to the total area of the image, and taking the object with the highest ratio as a parent object and the other objects as child objects of the image to be shot. If the shooting is carried out by combining the characters with the background, the characters identified by the system are taken as parent objects, and the background objects are taken as child objects.
102: and according to the first parameter, performing remodeling construction on the object image to determine a composition picture. Specifically, according to the first parameter, the parent object and the child object are remodeled to obtain at least two composition pictures; and acquiring the Hash value of the composition picture, and selecting the composition picture if the Hamming distance between the Hash value of the composition picture and the Hash value of the first picture is smaller than a preset threshold value.
As a specific embodiment, various objects in the image to be shot are combined with a shooting composition method to perform different types of composition on the objects, such as a plurality of shooting composition methods of a trisection method, a symmetrical structure, foreground and depth perception, frame composition and the like, and various objects in the image to be shot are subjected to remodeling construction. Through remodeling the structure, 20 constructed photos are selected for perception hash value calculation, the obtained hash value is matched with the hash value of the original image for the special industry in the database, the photos with the Hamming distance smaller than a preset threshold value are screened out and pushed to a client, and the preset threshold value can be set to be 5.
103: and automatically shooting the object image according to the composition picture. The method specifically comprises the following steps: acquiring composition parameters of the composition picture, and configuring the composition parameters into photographing parameters; and automatically finishing shooting according to the shooting angle and direction indicated by the shooting parameters.
After receiving the determined composition picture, the user opens the automatic shooting function, the photographing device analyzes composition parameters of the selected picture, configures the composition parameters into photographing parameters, marks the photographing parameters in front of a lens of the photographing device in a manner indicated by an arrow according to the photographing parameters, and the user can adjust the position according to a prompt, for example: (1) four arrows are displayed in front of the lens and respectively represent the up-down, left-right, front-back and raising angles; (2) when the up-down position of the arrow is incorrect, the camera positions above and below the photographic equipment need to be swung, when the arrow is upward, the lens needs to be moved upwards, when the arrow is downward, the lens is moved downwards, and after the appointed requirement is met, the arrow disappears; similarly, the left-right, front-back and raising angle adjustment is also carried out according to the arrow indication, as shown in fig. 3; (3) after all the arrows disappear, namely the positions and the angles reach the shooting requirements, the photographing equipment can realize the automatic photographing function without manually pressing a shutter.
FIG. 2 is a schematic diagram of the disclosed system including an acquisition module, a viewing module, a composition module, and a capture module; the view module comprises a first view unit and a second view unit, the composition module comprises a remolding unit and a selection unit, and the shooting module comprises a configuration unit and a shooting unit. The functions of each module and each unit are referred to the method in the disclosure, and are not described in detail.
The foregoing is an exemplary embodiment of the present disclosure, and the scope of the present disclosure is defined by the claims and their equivalents.
Claims (8)
1. A method for automatic framing photography, comprising:
acquiring a first picture, and storing a first parameter of the first picture;
framing an object to be shot to obtain an object image;
remodeling the object image according to the first parameter to construct a composition picture;
automatically shooting the object image according to the composition picture;
wherein the first parameter comprises: hash value, address, photometric mode, sensitivity, shutter, exposure compensation, and white balance of the first picture.
2. The method for auto-viewfinder shooting of claim 1, wherein the framing of the object to be shot to obtain the image of the object comprises:
if the object image does not include people, obtaining the layout proportion of all objects in the object image, determining the object with the highest proportion as a parent object, and determining the rest as a child object;
and if the object graph comprises the characters, identifying the characters, determining the characters as parent objects, and identifying the rest of the objects as child objects.
3. The method of auto-framing photography of claim 2, wherein remodeling the object image according to the first parameter to determine a composition picture comprises:
according to the first parameter, the father object and the son object are remodeled to obtain at least two composition pictures;
and acquiring the Hash value of the composition picture, and selecting the composition picture if the Hamming distance between the Hash value of the composition picture and the Hash value of the first picture is smaller than a preset threshold value.
4. The method of auto-viewfinder photography of claim 3, wherein automatically photographing the object image from the composition picture comprises:
acquiring composition parameters of the composition picture, and configuring the composition parameters into photographing parameters;
and automatically finishing shooting according to the shooting angle and direction indicated by the shooting parameters.
5. A system for automatically framing a photograph, comprising:
the acquisition module acquires a first picture and stores a first parameter of the first picture;
the view finding module is used for finding a view of an object to be shot to obtain an object image;
the composition module is used for remodeling the object image according to the first parameter to determine a composition picture;
the shooting module automatically shoots the object image according to the composition picture;
wherein the first parameter comprises: hash value, address, photometric mode, sensitivity, shutter, exposure compensation, and white balance of the first picture.
6. The system for automatically framing photographs of claim 5, wherein the framing module comprises:
the first view finding unit is used for acquiring the layout proportion of all objects in the object image if the object image does not include people, determining the object with the highest proportion as a parent object, and determining the rest as a child object;
and the second viewing unit is used for identifying that the person is determined to be a parent object and the rest are child objects if the object graph comprises the person.
7. The system for automatically framing photographs of claim 6, wherein the composition module comprises:
the remodeling unit is used for remodeling the parent object and the child object according to the first parameter to obtain at least two composition pictures;
the selecting unit is used for acquiring the Hash value of the composition picture, and selecting the composition picture if the Hamming distance between the Hash value of the composition picture and the Hash value of the first picture is smaller than a preset threshold value.
8. The system for automatically framing photographs of claim 7, wherein the photographing module comprises:
the configuration unit is used for acquiring composition parameters of the composition picture and configuring the composition parameters into photographing parameters;
and the shooting unit automatically finishes shooting according to the shooting angle and direction indicated by the shooting parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011143353.9A CN112383703A (en) | 2020-10-23 | 2020-10-23 | Method and system for automatic framing and photographing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011143353.9A CN112383703A (en) | 2020-10-23 | 2020-10-23 | Method and system for automatic framing and photographing |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112383703A true CN112383703A (en) | 2021-02-19 |
Family
ID=74581743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011143353.9A Pending CN112383703A (en) | 2020-10-23 | 2020-10-23 | Method and system for automatic framing and photographing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112383703A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200818883A (en) * | 2006-10-13 | 2008-04-16 | Altek Corp | Method for automatically adjusting the parameters of a photograph according to a user's habitual behavior |
CN107317962A (en) * | 2017-05-12 | 2017-11-03 | 广东网金控股股份有限公司 | A kind of intelligence, which is taken pictures, cuts patterning system and application method |
CN108174097A (en) * | 2017-12-29 | 2018-06-15 | 广东欧珀移动通信有限公司 | Picture shooting, acquisition parameters providing method and device |
CN109639964A (en) * | 2018-11-26 | 2019-04-16 | 北京达佳互联信息技术有限公司 | Image processing method, processing unit and computer readable storage medium |
CN110430424A (en) * | 2019-07-03 | 2019-11-08 | 北京达佳互联信息技术有限公司 | Test method, device, storage medium and the electronic equipment of FOV |
CN110830712A (en) * | 2019-09-16 | 2020-02-21 | 幻想动力(上海)文化传播有限公司 | Autonomous photographing system and method |
-
2020
- 2020-10-23 CN CN202011143353.9A patent/CN112383703A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW200818883A (en) * | 2006-10-13 | 2008-04-16 | Altek Corp | Method for automatically adjusting the parameters of a photograph according to a user's habitual behavior |
CN107317962A (en) * | 2017-05-12 | 2017-11-03 | 广东网金控股股份有限公司 | A kind of intelligence, which is taken pictures, cuts patterning system and application method |
CN108174097A (en) * | 2017-12-29 | 2018-06-15 | 广东欧珀移动通信有限公司 | Picture shooting, acquisition parameters providing method and device |
CN109639964A (en) * | 2018-11-26 | 2019-04-16 | 北京达佳互联信息技术有限公司 | Image processing method, processing unit and computer readable storage medium |
CN110430424A (en) * | 2019-07-03 | 2019-11-08 | 北京达佳互联信息技术有限公司 | Test method, device, storage medium and the electronic equipment of FOV |
CN110830712A (en) * | 2019-09-16 | 2020-02-21 | 幻想动力(上海)文化传播有限公司 | Autonomous photographing system and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230262324A1 (en) | Real time assessment of picture quality | |
CN106331508B (en) | Method and device for shooting composition | |
CN109064545B (en) | Method and device for data acquisition and model generation of house | |
TWI549503B (en) | Electronic apparatus, automatic effect method and non-transitory computer readable storage medium | |
US7349020B2 (en) | System and method for displaying an image composition template | |
WO2016165488A1 (en) | Photo processing method and device | |
US7526106B1 (en) | Method of tracking images captured with a digital camera | |
CN109934931B (en) | Method and device for collecting image and establishing target object recognition model | |
US20120321131A1 (en) | Image-related handling support system, information processing apparatus, and image-related handling support method | |
CN103971547B (en) | Photography artificial teaching method and system based on mobile terminal | |
JP2002010135A (en) | System and method of setting image acquisition controls for cameras | |
WO2019214574A1 (en) | Image capturing method and apparatus, and electronic terminal | |
US8593557B2 (en) | Shooting assist method, program product, recording medium, shooting device, and shooting system | |
TW201801516A (en) | Image capturing apparatus and photo composition method thereof | |
CN103179348A (en) | Shooting method and system for mobile terminals and mobile terminal | |
WO2017036273A1 (en) | Imaging method and apparatus | |
WO2016188185A1 (en) | Photo processing method and apparatus | |
WO2021051304A1 (en) | Shutter speed adjustment and safe shutter calibration methods, portable device and unmanned aerial vehicle | |
CN110830712A (en) | Autonomous photographing system and method | |
TW200922290A (en) | Image capturing apparatus and method for providing image blur information | |
CN110581950B (en) | Camera, system and method for selecting camera settings | |
WO2016145831A1 (en) | Image acquisition method and device | |
CN107547789B (en) | Image acquisition device and method for photographing composition thereof | |
JP2011048295A (en) | Compound eye photographing device and method for detecting posture of the same | |
KR101094648B1 (en) | Auto Photograph Robot for Taking a Composed Picture and Method Thereof |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210219 |