WO2014131329A1 - Image acquisition method and device - Google Patents
Image acquisition method and device Download PDFInfo
- Publication number
- WO2014131329A1 WO2014131329A1 PCT/CN2014/072116 CN2014072116W WO2014131329A1 WO 2014131329 A1 WO2014131329 A1 WO 2014131329A1 CN 2014072116 W CN2014072116 W CN 2014072116W WO 2014131329 A1 WO2014131329 A1 WO 2014131329A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- area
- photographing
- unit
- determined
- image acquisition
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 239000003086 colorant Substances 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 4
- 230000001960 triggered effect Effects 0.000 abstract description 4
- 238000009432 framing Methods 0.000 description 34
- 230000008859 change Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000001815 facial effect Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000004397 blinking Effects 0.000 description 3
- 210000000887 face Anatomy 0.000 description 2
- 238000010187 selection method Methods 0.000 description 2
- 208000033748 Device issues Diseases 0.000 description 1
- 241001465754 Metazoa Species 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
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/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
Definitions
- the present invention relates to terminal technologies, and in particular, to an image acquisition method and apparatus.
- Embodiments of the present invention provide an image acquisition method and apparatus to solve the problem that an image taken is incomplete during shooting, resulting in low photographing efficiency and low user satisfaction.
- the first aspect provides an image collection method, including:
- the photographing is automatically initiated.
- the determining a photographing area in the framing interface comprises: receiving a touch event, generating a photographing area according to the touch event; or receiving a typing event, The typing event generates a photographing area.
- the location area is in the photographing area, including: all coordinate points of the location area are all In the photographing area, or a part of the coordinate point of the position area is at the edge of the photographing area, and the remaining coordinate points are all in the photographing area.
- the method further includes:
- the subject is prompted to move in a determined moving direction such that the photographed object automatically initiates photographing when the positional area in the framing interface is within the photographing area.
- a fourth possible implementation manner when the location area is not in the photographing area, Determining the moving direction of the object, specifically including:
- the prompting the subject to determine The moving direction movement specifically includes: prompting, by the sound or the first light, the subject to move in a certain moving direction.
- the The moving of the subject to the determined moving direction includes:
- the subject is prompted to move in the determined moving direction by voice; or the subject is prompted to move in the determined moving direction by frequency.
- the The first light to prompt the subject to move to the determined moving direction comprises:
- the subject is prompted to move toward the determined moving direction by a frequency change of the light flashing.
- the method further includes: sending a photographing indication.
- the sending a photographing instruction includes:
- the second aspect provides an image capture device, including:
- a first determining unit configured to determine a photographing area in the framing interface after entering the photographing mode
- a collecting unit configured to collect a position area of the photographed object in the framing interface
- a photographing unit configured to be in the collecting unit
- the first determining unit includes: a receiving unit, configured to receive a touch event or a key-in event;
- a generating unit configured to generate a photographing area according to the touch event or the typing event received by the receiving unit.
- a second determining unit configured to determine a moving direction of the subject when the location area is not in the photographing area
- a first prompting unit configured to prompt the subject to move in a determined moving direction after the second determining unit determines a moving direction of the subject
- the collecting unit is further configured to re-acquire the position area of the subject after the first prompting unit prompts the moving direction of the subject to be determined by the second determining unit to move;
- the photographing unit is further configured to automatically start taking a photograph when the location area re-acquired by the collecting unit is located in the photographing area.
- the second determining unit includes:
- a calculation unit configured to calculate a central coordinate point of the location area; and a central coordinate point of the photographing area;
- a first position determining unit configured to determine a relative position of a central coordinate point of the location area and a central coordinate point of the photographing area
- the first direction determining unit is configured to determine a moving direction of the subject according to the relative position.
- the second determining unit includes:
- a selection unit for selecting a specific coordinate point in each direction on the location area; And a specific coordinate point in each direction corresponding to the photographing area;
- a second position determining unit configured to determine a relative position of a specific coordinate point in each direction on the position area and a specific coordinate point in each direction corresponding to the photographing area;
- the second direction determining unit is configured to determine a moving direction of the subject according to the relative position.
- the first prompting unit includes:
- a first sound prompting unit configured to audibly prompt the moving direction of the subject to be determined by the second determining unit
- a first light prompting unit configured to prompt, by the prompt of the first light, the moving direction of the subject to be determined by the second determining unit.
- the first sound prompting unit Specifically, it is used to promptly move the moving direction determined by the subject to the second determining unit by voice, or to prompt the moving direction of the subject to be determined by the second determining unit by frequency.
- the a light prompting unit configured to prompt the moving direction of the subject to be determined by the second determining unit by a change in a color of the light, or to prompt the subject to the first by a frequency change of the light flashing
- the second unit determines the movement direction of the movement.
- a sending unit configured to send a photographing instruction to the photographing unit before the photographing area is automatically generated by the location area collected by the collecting unit;
- the photographing unit is further configured to perform photographing when receiving the photographing instruction sent by the photographing instruction sending unit.
- the sending unit includes: a second voice indicating unit, configured to send a photographing instruction by using a voice; or, after sending the photographing instruction by voice, wait for N seconds to start photographing, where N is less than or equal to 10 seconds;
- a second light indicating unit configured to send a photographing indication by the second light; wherein the second light and the first light are lights of different colors.
- an image acquisition method and apparatus determines a photographing area as an ideal photographing area in the framing interface, when the collected position area of the photographed object is in the ideal area. Taking pictures to ensure the integrity of the captured images, thereby improving the efficiency of photographing and the satisfaction of users.
- FIG. 1 is a flowchart of an image collection method according to an embodiment of the present invention
- FIG. 2 is a flow chart of a second method for image capture according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of an image capture device according to an embodiment of the present invention
- FIG. 4 is a schematic diagram of a second structure of an image capture device according to an embodiment of the present invention
- FIG. 5 is a schematic diagram of a third structure of an image capture device according to an embodiment of the present invention
- FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
- FIG. 1 is a flowchart of an image collection method according to an embodiment of the present invention.
- the acquired image may be a facial feature of a human face, or may be an animal or plant, or other object, such as a traffic.
- Step 101 After entering the photographing mode, determining a photographing area in the framing interface; wherein, in this embodiment, according to the electronic device (such as Different from the touch screen camera, or the non-touch screen camera, or the touch screen mobile phone with a camera function or the non-touch screen mobile phone, etc., the manner of determining the photographing area in the viewfinder interface is also different, for example, when the electronic device is a touch screen device.
- the electronic device After the electronic device enters the photographing mode, the framing interface is displayed on the display screen of the electronic device, and the photographer touches the framing interface to select a desired photographing area, and the electronic device directly records the photographer on the framing interface.
- the photographing area may be determined by a screen selection method, wherein the screen selection method is: dividing the screen on the electronic device into a series of regions, for example, The screen is divided into a total of 16 rectangular areas of 4*4, and each area is numbered.
- the photographer can input the number of the selected area through the input end of the electronic device to determine the photographing area.
- this embodiment can also be other screens.
- the division method is not limited here; or if the electronic device comes with an optional shape, for example, it can be rectangular, circular, photographer One of the shapes can be selected by typing of the electronic device, and the position and size of the shape in the framing interface can be adjusted by the selection of the electronic device to determine the photographing area.
- Step 102 Collect a location area of the subject in the framing interface
- the subject is described by taking a human face as an example, but the present invention is not limited thereto, that is, the electronic device acquires the position of the face of the subject in the framing interface by the face recognition technology, that is, the electronic device collects and is captured.
- the subject's eyes, nose, mouth, and the like are photographed, and based on the identified features and relationships of the subject's eyes, nose, mouth, and the like, the positional area of the subject's face in the framing interface is determined.
- the face recognition method has various determination manners, for example, a face recognition method with geometric features, and the geometric features in the method may be shapes such as an eye, a nose, a mouth, and the geometric relationship between them (such as mutual Distance between faces, etc.), face recognition method for eigenface (PCA), face recognition method for neural network, face recognition method for elastic map matching, face recognition method for line segment Hausdorff distance (LHD), support A face recognition method of a vector machine (SVM), etc., but is not limited thereto.
- PCA face recognition method for eigenface
- LHD face recognition method for line segment Hausdorff distance
- SVM vector machine
- Step 103 When the location area is in the photographing area, the photographing is automatically started; wherein the location area is in the photographing area, including: all coordinate points of the location area are all in the photographing area Or the partial coordinate point of the location area is at the edge of the photographing area, and the remaining coordinate points are all within the photographing area.
- the framing interface of the electronic device is a plane coordinate
- the lower left corner of the framing interface is the origin of the plane coordinates
- M in the normal case, M is greater than or equal to 4
- specific coordinates are taken at the edges of the respective positions of the positional region. Point, the specific coordinate point, that is, the area on the coordinate axis The maximum or minimum coordinate point of the direction.
- the position area is located in the photographing area; or, when a minimum X value in a specific coordinate point of the position area is equal to an edge of the photographing area
- the minimum X value of the specific coordinate value the maximum X value in the specific coordinate point of the position area is less than or equal to the maximum X value of the specific coordinate value of the edge of the photographing area, or in a specific coordinate point of the position area
- the minimum X value in the specific coordinate point of the position area is greater than or equal to the minimum X value of the specific coordinate value of the edge of the photographing area.
- a maximum Y value in a specific coordinate point of the position area is less than or equal to The maximum Y value of the specific coordinate value at the edge of the photographing area, or the maximum Y value in the specific coordinate point of the position area is equal to the edge of the photographing area.
- the image collecting method provided by the embodiment of the present invention determines the photographing area as an ideal photographing area in the framing interface, and the collected position area of the photographed object is ideal.
- the camera is taken to ensure the integrity of the captured image, thereby improving the camera efficiency and user satisfaction.
- Step 201 After entering a photographing mode, determine a framing interface.
- the photographing area; the method for determining the photographing area in the framing interface, and the shape of the photographing area are described in detail in the above embodiments, and details are not described herein again.
- Step 202 Collect a location area of the object in the framing interface; The method for collecting the location area of the object in the framing interface is described in the foregoing embodiment, and details are not described herein.
- the shape of the location area of the captured object may be any shape of the location area available in the existing image acquisition technology, and details are not described herein.
- Step 203 Determine whether the location area is located in the photographing area; if yes, go to step 204; if no, go to step 205.
- the determining whether the location area is located in the photographing area and generally, by comparing the M coordinate points selected in the edges of the position area in each direction, are all located in the photographing area corresponding to The edge coordinate points in each direction, or part of the coordinate points are located at the edge of the photographing area, and the remaining coordinate points are all judged in the photographing area.
- Step 204 Automatically start photographing;
- the method may further include: sending a photographing instruction before the photographing area is in the photographing area, and the photographing is automatically started.
- the sending a photographing instruction may be sending a photographing instruction by using a voice, for example, the voice may be “OK, taking a photo”, or “OK, automatically taking a photo after three seconds”, or sending a photographing instruction by voice. N seconds to start taking a picture, where N is less than or equal to 10 seconds, for example,
- Step 205 Determine a moving direction of the object to be photographed; wherein, determining a moving direction of the object to be photographed, generally has the following three modes: One way is: first calculating a center coordinate point of the position area and the photographing a central coordinate point of the region, and then determining a relative position of the central coordinate point of the positional region and a central coordinate point of the photographing region, and determining a moving direction of the subject according to the relative position.
- Another way is: selecting a specific coordinate point in each direction on the location area; and a specific coordinate point in each direction corresponding to the photographing area; wherein, in this embodiment, for the graph composed of edges
- the specific coordinate point is at least a coordinate point of each vertex of the graphic, and for a circle or an ellipse, the specific coordinate point is at least: a parallel X axis and a Y axis, and the circular or elliptical shape The tangent point of each point.
- the specific coordinate point is the maximum coordinate point or the minimum coordinate point of each direction of the area on the coordinate axis. Then, determining a relative position of a specific coordinate point in each direction on the position area and a specific coordinate point in each direction corresponding to the photographing area; determining a moving direction of the subject according to the relative position.
- the determined moving direction is: Move to the lower left direction.
- the voice of the prompt can be "Your upper right exceeds the photographing area, please move to the lower left direction", etc.
- different voice files can be played for each different situation.
- the photographing area in the framing interface may also be prompted to be re-determined. , or increase the object distance.
- the voice prompting the subject may be "farther from the lens" or the like; after that, it is determined whether the re-acquired location area is within the photographing area, and if the location area is within the photographing area, The photographing is automatically initiated; otherwise, the subject continues to be prompted to move away from the lens until the location area is within the photographing area.
- the manner of determining the moving direction of the object to be photographed may be other manners, which is not limited herein.
- Step 206 prompting the subject to move in a determined moving direction; after the moving of the subject is completed, performing step 202 again until the location area is located in the photographing area.
- the manner of prompting the subject to move in a determined moving direction comprises: prompting, by the sound or the first light, the subject to move in the determined moving direction.
- the moving the object to the determined direction by the sound includes: by, for example, "Please Left”, “Please Right”, “Please Up”, “Please Down”, and the like Prompting to remind the subject to move in different directions, or to remind the subject to move in the determined moving direction by a different frequency prompting sound, for example, when the positional area of the subject is far from the When the photographing area is photographed, the prompting audio frequency gradually becomes higher; when the positional area of the photographed subject is close to the photographing area, the prompting audio frequency gradually becomes lower.
- the moving the object to the determined moving direction by the first light comprises: reminding the subject to move in the determined moving direction by a change in a color of the light, when the subject is When moving, the first prompt light generates a different color change according to the distance between the location area and the photographing area; or, the subject is moved to the determined movement by a frequency change of the light blinking
- the blinking frequency of the first prompt light gradually becomes higher; when the positional area of the photographed object is close to the photographing area, the The first prompt light flashes at a lower frequency.
- the voice prompt and the first light prompting manner in the embodiment of the present invention may further include other prompt forms, which are not limited herein.
- the sending a photographing instruction in the embodiment may be that when the location area of the subject is located in the photographing area, the photographing instruction is immediately sent, or when the location area of the subject is located in the After the photographing area, a photographing instruction is sent after a certain time, and the subject can make some expressions or posture adjustments during the period of time.
- the prompting mode described in this embodiment helps the subject to adjust the position through the prompt mode of human-computer interaction, and automatically takes a photo to take a high-quality photo. It should be noted that the foregoing embodiment is only an example.
- the prompting sound and the second light prompting manner in the sending photographing instruction according to the embodiment of the present invention are not limited to the description of the above embodiment, and the user (ie, the photographer) can set it according to the usage habit. This is not a limitation. It can be seen from the above embodiments that the image collecting method provided by the embodiment of the present invention reminds the subject to move by means of human-computer interaction of sound or light prompting until the subject of the subject is in the framing interface. When the location area is in the photographing area, it is ensured that the photographed object can still capture an ideal photograph without being able to see the framing interface, thereby improving photographing efficiency and user satisfaction.
- the image acquisition method of the present invention will be described below by way of specific embodiments.
- taking a camera or a mobile phone of a touch screen as an example, when the photographer performs self-photographing, the photographer and the subject are the same person. After entering the photographing mode, the photographer draws a touch trajectory by touching the touch screen of the camera or the mobile phone, and the camera or the mobile phone records the touch trajectory as a region boundary, and the photographer forms a diagonal line at the beginning and end of the screen as a diagonal line.
- the face recognition method obtained by the face recognition method takes a rectangular area as an example. However, it is not limited thereto, and the method for face recognition is as described above, and details are not described herein again.
- the framing interface is used as a two-dimensional plane, and all coordinate points on the framing interface are used as the coordinate origin of the two-dimensional plane with the lower left corner of the framing interface, and the edge and the location of the photographing area.
- Each position in the photographing area may have a corresponding coordinate value, and the edge of the position area and each position inside the position area may also have corresponding coordinate values.
- each of the position areas is selected.
- the specific coordinate points in each direction take the coordinate points of the four vertices of the rectangle as an example, that is, Define the upper left vertex on the position area as point A, the coordinates are (X0, Y0), the upper right vertex is B, the coordinates are (XI, Y1), the lower left vertex is C point, the coordinate is (X2, Y2), the lower right The vertex is D and the coordinates are (X3, Y3).
- a specific coordinate point corresponding to each direction in the photographing area is selected, and the specific coordinate point in each direction is also taken as an example of the coordinate points of the four vertices of the rectangle, and the upper left vertex on the photographing area is defined as A' point.
- the camera or the mobile phone When the location area is located in the photographing area or the position area coincides with the photographing area, the camera or the mobile phone outputs a photographing instruction by voice, such as "OK, a photo taking instruction of photographing after three seconds". , the camera or the mobile phone automatically takes a picture after three seconds.
- a photographing instruction by voice such as "OK, a photo taking instruction of photographing after three seconds.
- the camera or the mobile phone automatically takes a picture after three seconds.
- a photographing instruction by voice such as "OK, a photo taking instruction of photographing after three seconds.
- the camera or mobile phone is based on In different situations, different voice prompts are played by the subject to move, and when the location area is completely located in the photographing area, a photographing instruction is output, and a camera of the camera or the mobile phone is activated to automatically take a photograph of the subject.
- a photographing instruction is output, and a camera of the camera or the mobile phone is activated to automatically take a photograph of the subject.
- the shape of the location area, the comparison judgment manner, and the prompting manner are not limited thereto, and may also be different according to the choice of the photographer and the camera or the mobile phone, including other The method will not be described here. It should be pointed out that when taking photos of multiple people, the electronic device can number each recognized face, and each face has a corresponding number.
- the electronic device By comparing each face and the photographed area, it is judged whether or not In the photographing area where all the faces are entered, if the corresponding face does not enter the photographing area, the electronic device performs a corresponding voice prompt for the face that does not enter the photographing area, and the manner of the comparison judgment and the manner of the prompt are as described above.
- the embodiments are similar and will not be described here.
- the object to be photographed is not limited to a person but also other objects, and the shape of the location area of the collected object may be any shape of a corresponding person or object available in the existing image acquisition technology. There are no restrictions here.
- the image collection method provided by the embodiment of the present invention determines the location area by means of the character recognition, and adjusts the position of the location area by the manner of human interaction of the sound and the light prompt, when the position is When the area is in the photographing area, automatic photographing is triggered to ensure the integrity of the captured image, thereby improving the photographing efficiency and the user's satisfaction.
- an embodiment of the present invention provides an image capture device. As shown in FIG. 3, FIG. 3 is a schematic structural diagram of an image capture device according to an embodiment of the present invention.
- the image capture device includes: a first determining unit 11, a collecting unit 12, and a photographing unit 13, wherein the first determining unit 11 is configured to determine a photographing area in the framing interface after entering the photographing mode; the collecting unit 12 is configured to collect The photographing unit 13 is configured to automatically start photographing after the location area collected by the collection unit 12 is located in the photographing area determined by the first determining unit 11 .
- the image capturing device provided in this embodiment determines the photographing area as an ideal photographing area in the framing interface, and when the collected position area of the photographed object is in the ideal area, photographing is performed to ensure the integrity of the captured image. , thereby improving the efficiency of photographing and the satisfaction of users.
- the first determining unit includes a receiving unit and a generating unit.
- the receiving unit is configured to receive a touch event, and correspondingly, the a generating unit, configured to generate a photographing area according to the touch event received by the receiving unit; in another embodiment, the receiving unit may further be configured to receive a typing event, and correspondingly, the generating unit, Generating a photographing area according to the keying event received by the receiving unit.
- the embodiment of the present invention further provides an image acquisition device. As shown in FIG. 4, FIG. 4 is a schematic diagram of a second structure of an image collection device according to an embodiment of the present invention.
- the image collection device includes: a first determining unit.
- the sending unit 23 is configured to send a photographing instruction to the photographing unit 24 before the photographing area is collected in the photographing area collected by the collecting unit 22; correspondingly, in this embodiment,
- the photographing unit 24 is further configured to automatically start photographing after receiving the photographing instruction sent by the photographing instruction sending unit 23.
- FIG. 5 is a schematic diagram of a third structure of an image collection device according to an embodiment of the present invention.
- the image collection device includes: a first determining unit 31, an acquisition unit 32, a photographing unit 33, and a second determining unit. 34 and the first prompting unit 35, wherein the functions and functions of the first determining unit 31, the collecting unit 32, and the photographing unit 33 are described in the above embodiments, and are not described herein again.
- a determining unit 34 configured to be in the collecting Determining a moving direction of the object when the location area of the unit is not in the photographing area; the first prompting unit 35 is configured to determine, in the second determining unit 34, a moving direction of the object to be photographed After that, the subject is prompted to move in a certain moving direction; correspondingly, based on the above two embodiments, in the embodiment, the collecting unit 32 is further used in the first prompting unit 35. After the subject is prompted to move to the moving direction determined by the second determining unit, the position area of the subject is re-acquired; correspondingly, the photographing unit 33 is further used to re-create in the collecting unit 32.
- the second determining unit 34 includes: a calculating unit, a first location determining unit, and a first direction determining unit, where the calculating unit is configured to calculate a central coordinate point of the location area and a central coordinate point of the photographing area; the first position determining unit is configured to determine a relative position of a central coordinate point calculated by the calculating unit and a central coordinate point of the photographing area; And determining a direction of movement of the subject according to the relative position determined by the position determining unit.
- the second determining unit includes: a selecting unit, a second location determining unit, and a second direction determining unit, where the selecting unit is configured to select the location area a specific coordinate point in each direction; and a specific coordinate point in each of the corresponding directions on the photographing area; the second position determining unit is configured to determine a specific coordinate point and a position in each direction on the position area a relative position of a specific coordinate point in each of the corresponding directions on the photographing area; the second direction determining unit is configured to determine a moving direction of the object according to the relative position.
- the second determining unit may also include all the units included in the second determining unit.
- the second determining unit may further include other means for determining a photographing area, which is not limited herein.
- the first prompting unit 35 may be a first sound prompting unit and/or a first light prompting unit, where the first sound prompting unit is configured to prompt the voice by voice The subject is moved to the moving direction determined by the second determining unit; the first light prompting unit is configured to prompt the moving direction of the subject to be determined by the second determining unit by the prompt of the first light .
- the first sound prompting unit when the first prompting unit includes the first sound prompting unit, the first sound prompting unit is specifically configured to The subject moves to the moving direction determined by the second determining unit, or prompts the subject to move in the moving direction determined by the second determining unit by frequency; alternatively, in another embodiment, when the first prompting unit includes the first light prompting unit, the first light prompting prompting unit is specifically configured to prompt the movement direction of the photographed object to be determined by the second determining unit by the change of the color of the light, or The moving direction of the subject determined to the second determining unit is prompted by a frequency change of the flashing of the light.
- the first prompting unit may also include the first sound prompting unit and the first light prompting unit, which are not limited in this embodiment.
- the first prompting unit in the electronic device may include the first sound prompting unit and the first light prompting unit, or include any one of the devices, and in practical applications, only one device functions, And prompted by a prompt.
- the first prompting unit may be a first sound prompting unit, and the subject is photographed to the second determining unit by different voice prompts.
- the determined movement direction moves; also in another embodiment when the first prompting unit is the first sound prompting unit, the first sound prompting unit can remind the subject by different frequency prompting sounds Moving to the moving direction determined by the second determining unit; correspondingly, in another embodiment, when the first prompting unit is the first light prompt When the first light prompting unit is configured to remind the subject to move in the moving direction determined by the second determining unit by the change of the color of the light; also in the first prompting unit being the first light prompting unit In another embodiment, the first light prompting unit may remind the subject to move in a moving direction determined by the second determining unit by a frequency change of the light flashing. It should be noted that the first prompting unit may also be another device for prompting.
- FIG. 6 is a schematic diagram of a fourth structure of an image collection device according to an embodiment of the present invention.
- the image collection device includes: a first determining unit 41, an acquisition unit 42, a sending unit 43, and a photographing unit.
- the second determining unit 45 and the first prompting unit 46 wherein the first determining unit 41, the collecting unit 42, the sending unit 43, the photographing unit 44, the second determining unit 45, and The function of the first prompting unit 46 is similar to that of the above three embodiments, and details are not described herein again.
- the sending unit may be a second voice indicating unit and/or a second light indicating unit, where the second voice indicating unit is configured to send a photographing instruction by voice; or after sending a photographing instruction by voice, Waiting for a leap second to start taking a picture, wherein ⁇ is less than or equal to 10 seconds; the second light indicating unit is configured to send a photographing indication by the second light, wherein the second light and the first light are different colors light.
- the transmitting unit of the electronic device may include the second voice indicating unit and the second light indicating unit at the same time, or only one of them, and in actual applications, only one unit functions.
- the second voice indicating unit may send a photographing instruction by using a voice, and after the electronic device issues the instruction, Then take a picture, for example, "OK, take a picture"; or, in another embodiment, when the sending unit is the second voice indicating unit, the second voice instruction sends a picture indication by voice, and waits for N seconds to start taking the picture.
- N is less than or equal to 10 seconds, for example, "OK, take a picture after three seconds"; correspondingly, if the sending unit is a second light indicating unit, in one embodiment, it may be different from the first light
- the light of the light color of the prompting unit indicates the object to be photographed, or in another embodiment when the sending unit is the second indicating unit, the second light indicating unit may indicate by a light different from the blinking frequency of the first prompt light Subject.
- the sending unit may also be another device for sending a photographing indication, and the second voice indicating unit and the second light indicating unit may further indicate the subject by other indication manners. There are no restrictions here.
- the image collection device determines the location area by means of person recognition, and adjusts the position of the location area by means of sound or light human interaction.
- the area is located in the photographing area, automatic photographing is triggered to ensure the integrity of the captured image, thereby improving the photographing efficiency and the user's satisfaction.
- FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
- the electronic device 1 includes: a processor 10, a transceiver 20, and a camera 30, wherein the processor 10, configured to determine a photographing area in the framing interface after entering the photographing mode; the transceiver 20 is configured to collect a position area of the photographed object in the framing interface; in this embodiment, the processor 10, further configured to send a photographing instruction to the camera 30 when the location area collected by the transceiver is in the photographing area; after receiving the photographing instruction sent by the processor, the camera 30 Take a photo automatically.
- the transceiver 20 is further configured to receive a touch event or a key-in event; correspondingly, the processor 10 is specifically configured to: generate a photo according to the transceiver 20 receiving a touch event or typing event region.
- the processor 10 is further configured to determine a moving direction of the object when the location area is not in the photographing area; the transceiver 20 is further configured to be in the processor After determining the moving direction of the subject, the subject is prompted to move in the determined moving direction.
- the determining, by the processor 10, the moving direction of the object when the location area is not in the photographing area specifically: calculating a central coordinate point of the location area and the photographing area a central coordinate point; determining a relative position of the central coordinate point of the positional area and a central coordinate point of the photographing area; determining a moving direction of the object according to the relative position; or selecting each direction on the positional area a specific coordinate point; and a specific coordinate point of each corresponding direction on the photographing area; determining a relative position of a specific coordinate point of each direction on the position area and a specific coordinate point of each direction corresponding to the photographing area ; determining the moving direction of the subject according to the relative position.
- the transceiver 20 prompts the subject to move in the determined moving direction, and specifically includes: prompting, by the sound or the first light, the subject to move in the determined moving direction.
- the transceiver 20 audibly prompts the subject to move in the determined moving direction, and specifically includes prompting the subject to move to the determined by voice The direction moves; or, by the frequency, the subject is moved in the determined moving direction.
- the transceiver 20 audibly prompts the subject to move in the determined moving direction, specifically: prompting the subject to move in the determined moving direction by changing a color of the light; or The frequency change indicates that the subject is moving in the determined moving direction.
- the transceiver 20 is further configured to send a photographing indication before the camera automatically takes a photo in the location area.
- the transceiver 20 sends a photographing instruction, which specifically includes: sending a photographing instruction by voice; or sending a photographing instruction by voice, waiting for N seconds to start photographing, wherein N is less than or equal to 10 seconds; or sending a photographing instruction through the second light; Wherein, the second light and the first light are lights of different colors.
- the electronic device may be a mobile terminal with a camera function, such as a digital camera or a camera phone.
- the image collecting method and apparatus provided by the embodiments of the present invention first determine an ideal photographing area, determine a positional area of the object to be photographed (for example, by face recognition, etc.), when the location area is no longer When the photographing area is inside, the subject moved by the sound or the light is moved, thereby adjusting the position area of the photographed person after the movement, and when the position area is located in the photographing area, the automatic photographing is triggered, and the photograph is ensured. The integrity of the image is taken, thereby improving the efficiency of photographing and the satisfaction of the user.
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Disclosed in the embodiment of the present invention is an image acquisition method, comprising: determining a photographing area in a view-finding boundary after a photographing mode is initiated; acquiring the location area of a photographed object in the view-finding boundary; and when the location area is within the photographing area, automatically starting photographing. Further provided in the embodiment of the invention is an image acquisition device. In the embodiment of the present invention, an ideal photographing area is determined at first, and then, the location area of the photographed object is determined; when the location area is within the photographing area, the object is photographed, otherwise, the photographed object is prompted to move in order to adjust the location area of the photographed object; and photographing is not automatically triggered until the location area is within the photographing area; thus the integrity of the photographing-resulting images is ensured, and further, the photographing efficiency and the satisfaction of users are both improved.
Description
一种图像采集方法及装置 Image acquisition method and device
本申请要求于 2013年 02月 28日提交中国专利局、 申请号为 201310066272.7、 发明名称为 "一种图像采集方法及装置" 的中国专利申请 的优先权, 其全部内容通过引用结合在本申请中。 The present application claims priority to Chinese Patent Application No. 201310066272.7, entitled "An Image Collection Method and Apparatus", filed on February 28, 2013, the entire contents of .
技术领域 本发明涉及终端技术, 具体来说, 涉及一种图像采集方法及装置。 TECHNICAL FIELD The present invention relates to terminal technologies, and in particular, to an image acquisition method and apparatus.
背景技术 随着终端技术的发展, 人们对照相的要求也越来越高, 使用者在使用 手机或相机拍照时, 手机或相机的取景框(取景界面) 中对象的图像(比 如人像的面目特征等) 不完整, 或者取景框中超过一个人的时候 ^艮有可能 边上的人或者不是举着手机的人就会被拍摄到画面之外或拍摄到的是半张 脸。 BACKGROUND With the development of terminal technologies, people have higher and higher requirements for photography. When a user takes a photo with a mobile phone or a camera, an image of an object in a viewfinder (viewing interface) of a mobile phone or a camera (such as a facial feature of a portrait) Etc.) Incomplete, or when there is more than one person in the frame, it is possible that the person on the side or the person holding the phone will be photographed outside the picture or half of the face.
在对现有技术的研究和实践过程中, 本发明的发明人发现, 现有的实 现方式中, 当取景框中对象的图像(比如人像的面部特征等) 不完整时, 使用者会举着相机左右移动, 以寻找较好的拍摄点, 以保证取景框中对象 的图像的完整性。 但是, 在使用手机或相机进行拍摄的移动过程中, 拍摄 背景和被拍者很难控制, 从而降低拍摄效率, 同时也减低了用户的使用度 和满意度。 尤其是自拍的情况下, 由于取景内容不可见, 只能拍照后才能 看到不完整的图像, 然后再次拍摄, 同样影响拍照效率及用户的满意度。
发明内容 本发明实施例提供一种图像采集方法及装置, 以解决在拍摄过程中, 所拍图像不完整, 造成拍照效率低且用户满意度低的问题。 In the research and practice of the prior art, the inventors of the present invention have found that in the existing implementation, when the image of the object in the framing frame (such as the facial features of the portrait) is incomplete, the user will hold The camera moves left and right to find a better shooting point to ensure the integrity of the image of the object in the viewfinder. However, during the movement using the mobile phone or camera for shooting, the shooting background and the subject are difficult to control, thereby reducing the shooting efficiency and reducing the user's usage and satisfaction. Especially in the case of self-timer, since the framing content is not visible, only incomplete images can be seen after taking pictures, and then shooting again, which also affects the shooting efficiency and user satisfaction. SUMMARY OF THE INVENTION Embodiments of the present invention provide an image acquisition method and apparatus to solve the problem that an image taken is incomplete during shooting, resulting in low photographing efficiency and low user satisfaction.
为了解决上述技术问题, 本发明实施例公开了如下技术方案: 第一方面提供了一种图像采集方法, 包括: In order to solve the above technical problem, the embodiment of the present invention discloses the following technical solutions: The first aspect provides an image collection method, including:
在进入拍照模式后, 确定取景界面中的拍照区域; After entering the photographing mode, determining the photographing area in the framing interface;
采集被拍摄对象在所述取景界面中的位置区域; Collecting a location area of the subject in the framing interface;
当所述位置区域在所述拍照区域内时, 自动启动拍照。 When the location area is within the photographing area, the photographing is automatically initiated.
在第一方面的第一种可能的实现方式中, 所述确定取景界面中的拍照 区域, 具体包括: 接收一个触碰事件, 根据所述触碰事件生成拍照区域; 或者接收键入事件, 通过所述键入事件生成拍照区域。 In a first possible implementation manner of the first aspect, the determining a photographing area in the framing interface comprises: receiving a touch event, generating a photographing area according to the touch event; or receiving a typing event, The typing event generates a photographing area.
结合第一方面或第一方面的第一种可能的实现方式, 在第二种可能的 实现方式中, 所述位置区域在所述拍照区域内, 包括: 所述位置区域的所 有坐标点全部在所述拍照区域内, 或者所述位置区域的部分坐标点在所述 拍照区域的边缘, 其余坐标点全部在所述拍照区域内。 With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, the location area is in the photographing area, including: all coordinate points of the location area are all In the photographing area, or a part of the coordinate point of the position area is at the edge of the photographing area, and the remaining coordinate points are all in the photographing area.
结合第一方面或第一方面的第一种或第二种可能的实现方式, 在第三 种可能的实现方式中, 还包括: With reference to the first aspect or the first or second possible implementation manner of the first aspect, in a third possible implementation manner, the method further includes:
当所述位置区域不在所述拍照区域内时, 确定所述被拍摄对象的移动 方向; Determining a moving direction of the subject when the location area is not in the photographing area;
提示所述被拍摄对象向确定的移动方向移动, 以使所述被拍摄对象在 所述取景界面中的所述位置区域在所述拍照区域内时, 自动启动拍照。 The subject is prompted to move in a determined moving direction such that the photographed object automatically initiates photographing when the positional area in the framing interface is within the photographing area.
结合第一方面或第一方面的第一种或第二种或第三种可能的实现方 式, 在第四种可能的实现方式中, 所述当所述位置区域不在所述拍照区域 内时, 确定所述被拍摄对象的移动方向, 具体包括: With reference to the first aspect or the first or second or the third possible implementation manner of the first aspect, in a fourth possible implementation manner, when the location area is not in the photographing area, Determining the moving direction of the object, specifically including:
计算所述位置区域的中心坐标点以及所述拍照区域的中心坐标点; 确 定所述位置区域的中心坐标点与所述拍照区域的中心坐标点的相对位置; 根据所述相对位置确定被拍摄对象的移动方向; 或者 Calculating a central coordinate point of the location area and a central coordinate point of the photographing area; determining a relative position of a central coordinate point of the location area and a central coordinate point of the photographing area; determining a subject according to the relative position Direction of movement; or
选择所述位置区域上的各个方向的特定坐标点; 以及所述拍照区域上
对应的各个方向的特定坐标点; 确定所述位置区域上的各个方向的特定坐 标点与所述拍照区域上对应的各个方向的特定坐标点的相对位置; 根据所 述相对位置确定被拍摄对象的移动方向。 Selecting a specific coordinate point in each direction on the location area; and on the photographing area Corresponding specific coordinate points of the respective directions; determining a relative position of a specific coordinate point of each direction on the position area and a specific coordinate point of each direction corresponding to the photographing area; determining the subject according to the relative position Move direction.
结合第一方面或第一方面的第一种或第二种或第三种或第四种可能的 实现方式, 在第五种可能的实现方式中, 所述提示所述被拍摄对象向确定 的移动方向移动具体包括: 通过声音或第一灯光提示所述被拍摄对象向确 定的移动方向移动。 With reference to the first aspect or the first or second or third or fourth possible implementation manner of the first aspect, in a fifth possible implementation, the prompting the subject to determine The moving direction movement specifically includes: prompting, by the sound or the first light, the subject to move in a certain moving direction.
结合第一方面或第一方面的第一种或第二种或第三种或第四种或第五 种可能的实现方式, 在第六种可能的实现方式中, 所述通过声音提示所述 被拍摄对象向确定的移动方向移动包括: With reference to the first aspect or the first or second or third or fourth or fifth possible implementation manner of the first aspect, in a sixth possible implementation, the The moving of the subject to the determined moving direction includes:
通过语音来提示所述被拍摄对象向所述确定的移动方向移动; 或者 通过频率提示所述被拍摄对象向所述确定的移动方向移动。 The subject is prompted to move in the determined moving direction by voice; or the subject is prompted to move in the determined moving direction by frequency.
结合第一方面或第一方面的第一种或第二种或第三种或第四种或第五 种或第六种可能的实现方式, 在第七种可能的实现方式中, 所述通过第一 灯光来提示所述被拍摄对象向所述确定的移动方向移动包括: In combination with the first aspect or the first or second or third or fourth or fifth or sixth possible implementation of the first aspect, in the seventh possible implementation, the The first light to prompt the subject to move to the determined moving direction comprises:
通过灯光颜色的变化提示所述被拍摄对象向所述确定的移动方向移 动 或者 Reminding the subject to move in the determined moving direction by a change in the color of the light or
通过灯光闪烁的频率变化来提示所述被拍摄对象向所述确定的移动方 向移动。 The subject is prompted to move toward the determined moving direction by a frequency change of the light flashing.
结合第一方面或第一方面的第一种或第二种或第三种或第四种或第五 种或第六种或第七种可能的实现方式, 在第八种可能的实现方式中, 当所 述位置区域在所述拍照区域内, 且自动启动拍照前, 还包括: 发送拍照指 示。 In combination with the first aspect or the first or second or third or fourth or fifth or sixth or seventh possible implementation of the first aspect, in an eighth possible implementation Before the location area is in the photographing area, and before automatically taking a photo, the method further includes: sending a photographing indication.
结合第一方面或第一方面的第一种或第二种或第三种或第四种或第五 种或第六种或第七种或第八种可能的实现方式, 在第九种可能的实现方式 中, 所述发送拍照指示包括: Combining the first aspect or the first or second or third or fourth or fifth or sixth or seventh or eighth possible implementation of the first aspect, in the ninth possible In the implementation manner, the sending a photographing instruction includes:
通过语音发送拍照指示; 或者 Send a photo indication by voice; or
通过语音发送拍照指示后, 等待 N秒启动拍照, 其中 N小于或等于 1 0 秒; 或者 After sending a photo indication by voice, wait for N seconds to start taking the photo, where N is less than or equal to 10 seconds; or
通过第二灯光发送拍照指示; 其中, 所述第二灯光与第一灯光为不同 颜色的灯光。
第二方面提供了一种图像采集装置, 包括: Sending a photographing indication by the second light; wherein the second light and the first light are lights of different colors. The second aspect provides an image capture device, including:
第一确定单元, 用于在进入拍照模式后, 确定取景界面中的拍照区域; 采集单元, 用于采集被拍摄对象在所述取景界面中的位置区域; 拍照单元, 用于在所述采集单元采集到的位置区域位于所述第一确定 单元确定的拍照区域内时, 自动启动拍照。 a first determining unit, configured to determine a photographing area in the framing interface after entering the photographing mode; a collecting unit, configured to collect a position area of the photographed object in the framing interface; and a photographing unit, configured to be in the collecting unit When the collected location area is located in the photographing area determined by the first determining unit, the photographing is automatically started.
在第二方面的第一种可能的实现方式中, 所述第一确定单元包括 : 接收单元, 用于接收一个触碰事件或者键入事件; In a first possible implementation manner of the second aspect, the first determining unit includes: a receiving unit, configured to receive a touch event or a key-in event;
生成单元, 用于根据所述接收单元接收到的触碰事件或者键入事件生 成拍照区域。 And a generating unit, configured to generate a photographing area according to the touch event or the typing event received by the receiving unit.
结合第二方面或第二方面的第一种可能的实现方式, 在第二种可能的 实现方式中, 还包括, With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner,
第二确定单元, 用于在所述位置区域不在所述拍照区域内时, 确定所 述被拍摄对象的移动方向; a second determining unit, configured to determine a moving direction of the subject when the location area is not in the photographing area;
第一提示单元, 用于在所述第二确定单元确定所述被拍摄对象的移动 方向后, 提示所述被拍摄对象向确定的移动方向移动; a first prompting unit, configured to prompt the subject to move in a determined moving direction after the second determining unit determines a moving direction of the subject;
所述采集单元, 还用于在所述第一提示单元提示所述被拍摄对象向所 述第二确定单元确定的移动方向移动后, 重新采集所述被拍摄对象的位置 区域; The collecting unit is further configured to re-acquire the position area of the subject after the first prompting unit prompts the moving direction of the subject to be determined by the second determining unit to move;
所述拍照单元, 还用于在所述采集单元重新采集的位置区域位于所述 拍照区域内时, 自动启动拍照。 The photographing unit is further configured to automatically start taking a photograph when the location area re-acquired by the collecting unit is located in the photographing area.
结合第二方面或第二方面的第一种或第二种可能的实现方式, 在第三 种可能的实现方式中, 所述第二确定单元包括: With reference to the second aspect or the first or second possible implementation manner of the second aspect, in a third possible implementation, the second determining unit includes:
计算单元, 用于计算所述位置区域的中心坐标点; 以及所述拍照区域 的中心坐标点; a calculation unit, configured to calculate a central coordinate point of the location area; and a central coordinate point of the photographing area;
第一位置确定单元, 用于确定所述位置区域的中心坐标点与所述拍照 区域的中心坐标点的相对位置; a first position determining unit, configured to determine a relative position of a central coordinate point of the location area and a central coordinate point of the photographing area;
第一方向确定单元, 用于根据所述相对位置确定被拍摄对象的移动方 向。 The first direction determining unit is configured to determine a moving direction of the subject according to the relative position.
结合第二方面或第二方面的第一种或第二种或第三种可能的实现方 式, 在第四种可能的实现方式中, 所述第二确定单元包括: With reference to the second aspect or the first or second or the third possible implementation of the second aspect, in a fourth possible implementation, the second determining unit includes:
选择单元, 用于选择所述位置区域上的各个方向上的特定坐标点; 以
及所述拍照区域上对应的各个方向上的特定坐标点; a selection unit for selecting a specific coordinate point in each direction on the location area; And a specific coordinate point in each direction corresponding to the photographing area;
第二位置确定单元, 用于确定所述位置区域上的各个方向上的特定坐 标点与所述拍照区域上对应的各个方向上的特定坐标点的相对位置; a second position determining unit, configured to determine a relative position of a specific coordinate point in each direction on the position area and a specific coordinate point in each direction corresponding to the photographing area;
第二方向确定单元, 用于根据所述相对位置确定被拍摄对象的移动方 向。 The second direction determining unit is configured to determine a moving direction of the subject according to the relative position.
结合第二方面或第二方面的第一种或第二种或第三种或第四种可能的 实现方式, 在第五种可能的实现方式中, 所述第一提示单元包括: With reference to the second aspect or the first or second or the third or the fourth possible implementation manner of the second aspect, in a fifth possible implementation, the first prompting unit includes:
第一声音提示单元, 用于通过声音提示所述被拍摄对象向所述第二确 定单元确定的移动方向移动, 或者 a first sound prompting unit, configured to audibly prompt the moving direction of the subject to be determined by the second determining unit, or
第一灯光提示单元, 用于通过第一灯光的提示提示所述被拍摄对象向 所述第二确定单元确定的移动方向移动。 And a first light prompting unit, configured to prompt, by the prompt of the first light, the moving direction of the subject to be determined by the second determining unit.
结合第二方面或第二方面的第一种或第二种或第三种或第四种或第五 种可能的实现方式, 在第六种可能的实现方式中, 所述第一声音提示单元, 具体用于通过语音提示所述被拍摄对象向所述第二确定单元确定的移动方 向移动, 或者通过频率提示所述被拍摄对象向所述第二确定单元确定的移 动方向移动。 With reference to the second aspect or the first or second or third or fourth or fifth possible implementation manner of the second aspect, in a sixth possible implementation manner, the first sound prompting unit Specifically, it is used to promptly move the moving direction determined by the subject to the second determining unit by voice, or to prompt the moving direction of the subject to be determined by the second determining unit by frequency.
结合第二方面或第二方面的第一种或第二种或第三种或第四种或第五 种或第六种可能的实现方式, 在第七种可能的实现方式中, 所述第一灯光 提示单元, 具体用于通过灯光颜色的变化提示所述被拍摄对象向所述第二 确定单元确定的移动方向移动, 或者通过灯光闪烁的频率变化来提示所述 被拍摄对象向所述第二确定单元确定的移动方向移动。 With reference to the second aspect or the first or second or third or fourth or fifth or sixth possible implementation of the second aspect, in a seventh possible implementation, the a light prompting unit, configured to prompt the moving direction of the subject to be determined by the second determining unit by a change in a color of the light, or to prompt the subject to the first by a frequency change of the light flashing The second unit determines the movement direction of the movement.
结合第二方面或第二方面的第一种或第二种或第三种或第四种或第五 种或第六种或第七种可能的实现方式, 在第八种可能的实现方式中, 还包 括, In combination with the first or second or third or fourth or fifth or sixth or seventh possible implementation of the second aspect or the second aspect, in an eighth possible implementation , Also includes,
发送单元, 用于在所述采集单元采集到的位置区域在所述拍照区域内, 且自动启动拍照前, 向所述拍照单元发送拍照指示; a sending unit, configured to send a photographing instruction to the photographing unit before the photographing area is automatically generated by the location area collected by the collecting unit;
所述拍照单元, 还用于在接收到所述拍照指示发送单元发送的拍照指 示时, 进行拍照。 The photographing unit is further configured to perform photographing when receiving the photographing instruction sent by the photographing instruction sending unit.
结合第二方面或第二方面的第一种或第二种或第三种或第四种或第五 种或第六种或第七种可能的实现方式, 在第八种可能的实现方式中, 所述 发送单元包括:
第二语音指示单元, 用于通过语音发送拍照指示; 或者通过语音发送 拍照指示后, 等待 N秒启动拍照, 其中 N小于或等于 10秒; In combination with the first or second or third or fourth or fifth or sixth or seventh possible implementation of the second aspect or the second aspect, in an eighth possible implementation The sending unit includes: a second voice indicating unit, configured to send a photographing instruction by using a voice; or, after sending the photographing instruction by voice, wait for N seconds to start photographing, where N is less than or equal to 10 seconds;
第二灯光指示单元, 用于通过第二灯光发送拍照指示; 其中, 所述第 二灯光与所述第一灯光为不同颜色的灯光。 a second light indicating unit, configured to send a photographing indication by the second light; wherein the second light and the first light are lights of different colors.
由上述技术方案可知, 本发明实施例所提供的一种图像采集方法及装 置, 通过在取景界面中确定拍照区域作为理想拍照区域, 当采集得到的被 拍摄对象的位置区域在该理想区域中时, 进行拍照, 保证了所拍图像的完 整性, 从而提高了拍照效率和用户的满意度。 According to the foregoing technical solution, an image acquisition method and apparatus provided by an embodiment of the present invention determines a photographing area as an ideal photographing area in the framing interface, when the collected position area of the photographed object is in the ideal area. Taking pictures to ensure the integrity of the captured images, thereby improving the efficiency of photographing and the satisfaction of users.
附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对 实施例中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附 图仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出 创造性劳动的前提下, 还可以根据这些附图获得其他的附图。 BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only Some embodiments of the invention may be obtained by those of ordinary skill in the art from the drawings without departing from the scope of the invention.
图 1为本发明实施例提供的一种图像采集方法流程图; FIG. 1 is a flowchart of an image collection method according to an embodiment of the present invention;
图 2为本发明实施例提供的一种图像采集方法的第二种方法流程图; 图 3为本发明实施例提供的一种图像采集装置的结构示意图; 2 is a flow chart of a second method for image capture according to an embodiment of the present invention; FIG. 3 is a schematic structural diagram of an image capture device according to an embodiment of the present invention;
图 4为本发明实施例提供的一种图像采集装置的第二种结构示意图; 图 5为本发明实施例提供的一种图像采集装置的第三种结构示意图; 图 6为本发明实施例提供的一种图像采集装置的第四种结构示意图; 图 7为本发明实施例提供的一种电子设备的结构示意图。 4 is a schematic diagram of a second structure of an image capture device according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a third structure of an image capture device according to an embodiment of the present invention; A fourth structural diagram of an image capture device; FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式 下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进 行清楚、 完整的描述, 显然, 所描述的实施例仅仅是本发明一部分实施例,
而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没 有作出创造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的 范围。 参见图 1 , 图 1为本发明实施例提供的一种图像采集方法流程图, 在该 实施例中, 采集的图像可以是人脸的面目特征, 也可以是动植物, 或其他 物体, 比如交通工具, 生活用品等等, 本实施例不作限制, 所述方法包括 如下步骤: 步骤 101 : 在进入拍照模式后, 确定取景界面中的拍照区域; 其中, 在该实施例中, 根据电子设备(比如, 触摸屏相机, 或非触摸 屏相机, 或者带有照相功能的触摸屏手机或非触摸屏手机等) 的不同, 在 取景界面中确定拍照区域的方式也不相同, 例如, 当所述电子设备为触摸 屏设备时, 在该电子设备进入拍照模式后, 在该电子设备的显示屏幕上显 示出取景界面, 拍摄者触摸取景界面, 选出想要的拍照区域, 此时电子设 备直接记录拍摄者在该取景界面上的触摸轨迹, 该触摸轨迹就是拍摄者选 定的拍照区域; 或者拍摄者在触摸屏上画出线段, 电子设备以该线段为矩 形对角线, 确定一个矩形区域, 该矩形区域就是确定的拍照区域; 或者电 子设备以拍摄者所画线段为半径, 以起点为圓心, 确定一个圓形区域, 该 圓形区域就是确定的拍照区域。 当所述电子设备为非触摸屏设备时, 可以通过屏幕分格选择法确定拍 照区域, 其中, 所述屏幕分格选择法为: 将电子设备上的屏幕平均分为一 系列的区域, 例如, 可以将屏幕分为 4*4的共 16个矩形区域, 并将各个区域 进行编号, 拍摄者可以通过电子设备的输入端键入选择区域的编号来确定 拍照区域, 当然, 本实施例也可以是其他屏幕分格方法, 在此不做限制; 或者如果电子设备自带有可选的形状, 例如, 可以是矩形、 圓形, 拍摄者
可以通过电子设备的键入选择其中一种形状, 并通过电子设备的选择键入 调整该形状在取景界面中位置和大小, 从而确定出拍照区域。 The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. Rather than all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention. Referring to FIG. 1 , FIG. 1 is a flowchart of an image collection method according to an embodiment of the present invention. In this embodiment, the acquired image may be a facial feature of a human face, or may be an animal or plant, or other object, such as a traffic. The present invention is not limited, and the method includes the following steps: Step 101: After entering the photographing mode, determining a photographing area in the framing interface; wherein, in this embodiment, according to the electronic device (such as Different from the touch screen camera, or the non-touch screen camera, or the touch screen mobile phone with a camera function or the non-touch screen mobile phone, etc., the manner of determining the photographing area in the viewfinder interface is also different, for example, when the electronic device is a touch screen device. After the electronic device enters the photographing mode, the framing interface is displayed on the display screen of the electronic device, and the photographer touches the framing interface to select a desired photographing area, and the electronic device directly records the photographer on the framing interface. Touch track, which is the photographed area selected by the photographer; or The photographer draws a line segment on the touch screen, and the electronic device uses the line segment as a rectangular diagonal line to determine a rectangular area, which is a determined photographing area; or the electronic device takes the line segment drawn by the photographer as a radius, starting from the starting point , determine a circular area, which is the determined photographing area. When the electronic device is a non-touch screen device, the photographing area may be determined by a screen selection method, wherein the screen selection method is: dividing the screen on the electronic device into a series of regions, for example, The screen is divided into a total of 16 rectangular areas of 4*4, and each area is numbered. The photographer can input the number of the selected area through the input end of the electronic device to determine the photographing area. Of course, this embodiment can also be other screens. The division method is not limited here; or if the electronic device comes with an optional shape, for example, it can be rectangular, circular, photographer One of the shapes can be selected by typing of the electronic device, and the position and size of the shape in the framing interface can be adjusted by the selection of the electronic device to determine the photographing area.
需要指出的, 所述确定拍照区域的方式, 可以根据电子设备的不同和 拍摄者的使用习惯, 还可以是其他方法, 本发明对此不做限制。 步骤 102: 采集被拍摄对象在所述取景界面中的位置区域; It should be noted that the manner of determining the photographing area may be different according to the difference of the electronic device and the usage habit of the photographer, and may be other methods, which are not limited by the present invention. Step 102: Collect a location area of the subject in the framing interface;
在该步骤中, 被拍摄对象以人脸为例来说明, 但并不限于此, 即电子 设备通过人脸识别技术获取被拍摄对象的脸部在取景界面的位置区域, 即 电子设备采集得到被拍摄对象的眼睛、 鼻子、 嘴巴等, 并根据所述识别到 的被拍摄对象的眼睛、 鼻子、 嘴巴等的特征及关系, 确定出所述被拍摄对 象的脸部在取景界面中的位置区域。 In this step, the subject is described by taking a human face as an example, but the present invention is not limited thereto, that is, the electronic device acquires the position of the face of the subject in the framing interface by the face recognition technology, that is, the electronic device collects and is captured. The subject's eyes, nose, mouth, and the like are photographed, and based on the identified features and relationships of the subject's eyes, nose, mouth, and the like, the positional area of the subject's face in the framing interface is determined.
其中, 所述人脸识别的判断方式有多种, 比如, 几何特征的人脸识别 方法, 该方法中的几何特征可以是眼、 鼻、 嘴等形状和它们之间的几何关 系 (比如相互之间的距离等) , 还可以 于特征脸(PCA ) 的人脸识别 方法、 神经网络的人脸识别方法、 弹性图匹配的人脸识别方法、 线段 Hausdorff 距离(LHD)的人脸识别方法、 支持向量机 (SVM)的人脸识别方法 等, 但并不限于此。 这些方法对于本领域技术人员来说, 已是熟知技术, 在此不再赘述。 步骤 103: 当所述位置区域在所述拍照区域内时, 自动启动拍照; 其中, 所述位置区域在所述拍照区域内, 包括: 所述位置区域的所有 坐标点全部在所述拍照区域内, 或者所述位置区域的部分坐标点在所述拍 照区域的边缘, 其余坐标点全部在所述拍照区域内。 例如, 电子设备的取景界面为一个平面坐标, 以所述取景界面的左下 角为平面坐标的原点,在所述位置区域的各个方向的边缘取 M个(通常情况 下 M大于等于 4 )特定坐标点, 所述特定坐标点即所述区域在坐标轴上各个
方向的最大坐标点或者最小坐标点。当 M个特定坐标点全部位于所述拍照区 域内时, 所述位置区域位于所述拍照区域内; 或者, 当所述位置区域的特 定坐标点中的最小 X值等于所述拍照区域的边缘所在特定坐标值的最小 X 值时,所述位置区域的特定坐标点中的最大 X值小于等于所述拍照区域的边 缘所在特定坐标值的最大 X值,或者当所述位置区域的特定坐标点中的最大 X值等于所述拍照区域的边缘所在特定坐标值的最大 X值时, 所述位置区域 的特定坐标点中的最小 X值大于等于所述拍照区域的边缘所在特定坐标值 的最小 X值, 以及当所述位置区域的特定坐标点中的最小 Y值等于所述拍照 区域的边缘所在特定坐标值的最小 Y值时,所述位置区域的特定坐标点中的 最大 Y值小于等于所述拍照区域的边缘所在特定坐标值的最大 Y值, 或者当 所述位置区域的特定坐标点中的最大 Y值等于所述拍照区域的边缘所在特 定坐标值的最大 Y值时, 所述位置区域的特定坐标点中的最小 Y值大于等于 所述拍照区域的边缘所在特定坐标值的最小 Y值,所述位置区域位于所述拍 照区域内, 或者所述位置区域与所述拍照区域重合。 由以上技术方案可知, 与现有技术相比, 本发明实施例所提供的图像 采集方法, 通过在取景界面中确定拍照区域作为理想拍照区域, 当采集得 到的被拍摄对象的位置区域在该理想拍照区域中时, 进行拍照, 保证了所 拍图像的完整性, 从而提高了拍照效率和用户的满意度。 Wherein, the face recognition method has various determination manners, for example, a face recognition method with geometric features, and the geometric features in the method may be shapes such as an eye, a nose, a mouth, and the geometric relationship between them (such as mutual Distance between faces, etc.), face recognition method for eigenface (PCA), face recognition method for neural network, face recognition method for elastic map matching, face recognition method for line segment Hausdorff distance (LHD), support A face recognition method of a vector machine (SVM), etc., but is not limited thereto. These methods are well known to those skilled in the art and will not be described herein. Step 103: When the location area is in the photographing area, the photographing is automatically started; wherein the location area is in the photographing area, including: all coordinate points of the location area are all in the photographing area Or the partial coordinate point of the location area is at the edge of the photographing area, and the remaining coordinate points are all within the photographing area. For example, the framing interface of the electronic device is a plane coordinate, and the lower left corner of the framing interface is the origin of the plane coordinates, and M (in the normal case, M is greater than or equal to 4) specific coordinates are taken at the edges of the respective positions of the positional region. Point, the specific coordinate point, that is, the area on the coordinate axis The maximum or minimum coordinate point of the direction. When the M specific coordinate points are all located in the photographing area, the position area is located in the photographing area; or, when a minimum X value in a specific coordinate point of the position area is equal to an edge of the photographing area When the minimum X value of the specific coordinate value, the maximum X value in the specific coordinate point of the position area is less than or equal to the maximum X value of the specific coordinate value of the edge of the photographing area, or in a specific coordinate point of the position area When the maximum X value is equal to the maximum X value of the specific coordinate value of the edge of the photographing area, the minimum X value in the specific coordinate point of the position area is greater than or equal to the minimum X value of the specific coordinate value of the edge of the photographing area. And when a minimum Y value in a specific coordinate point of the location area is equal to a minimum Y value of a specific coordinate value of an edge of the photographing area, a maximum Y value in a specific coordinate point of the position area is less than or equal to The maximum Y value of the specific coordinate value at the edge of the photographing area, or the maximum Y value in the specific coordinate point of the position area is equal to the edge of the photographing area When the maximum Y value of the specific coordinate value, the minimum Y value in the specific coordinate point of the position area is greater than or equal to the minimum Y value of the specific coordinate value of the edge of the photographing area, the position area is located in the photographing area Or the location area coincides with the photographing area. It can be seen from the above technical solution that, compared with the prior art, the image collecting method provided by the embodiment of the present invention determines the photographing area as an ideal photographing area in the framing interface, and the collected position area of the photographed object is ideal. When taking a picture, the camera is taken to ensure the integrity of the captured image, thereby improving the camera efficiency and user satisfaction.
还请参阅图 2 , 为本发明实施例所提供的一种图像采集方法的第二种方 法流程图, 所述图像采集方法包括以下步骤: 步骤 201 , 在进入拍照模式后, 确定取景界面中的拍照区域; 其中, 所述确定取景界面中的拍照区域的方法, 及所述拍照区域的形 状, 详见上述实施例, 在此不再贅述。 步骤 202, 采集被拍摄对象在所述取景界面中的位置区域;
其中, 所述采集被拍摄对象在所述取景界面中的位置区域的方法, 详 见上述实施例所述, 在此不再贅述。 需要指出的, 所述采集得到的被拍摄对象的位置区域的形状, 可以为 现有图像采集技术中能够得到的位置区域的任意形状, 在此不再贅述。 2 is a flowchart of a second method for image capture according to an embodiment of the present invention. The image capture method includes the following steps: Step 201: After entering a photographing mode, determine a framing interface. The photographing area; the method for determining the photographing area in the framing interface, and the shape of the photographing area are described in detail in the above embodiments, and details are not described herein again. Step 202: Collect a location area of the object in the framing interface; The method for collecting the location area of the object in the framing interface is described in the foregoing embodiment, and details are not described herein. It should be noted that the shape of the location area of the captured object may be any shape of the location area available in the existing image acquisition technology, and details are not described herein.
步骤 203 , 判断所述位置区域是否位于所述拍照区域内; 若是, 执行步 骤 204; 若否, 执行步骤 205。 Step 203: Determine whether the location area is located in the photographing area; if yes, go to step 204; if no, go to step 205.
其中, 所述判断所述位置区域是否位于所述拍照区域内, 通常情况下, 通过比较在位置区域的各个方向的边缘选取的所述 M个坐标点,是否全部位 于所述拍照区域内对应的各个方向的边缘坐标点, 或者部分坐标点位于所 述拍照区域边缘, 其余坐标点全部在所述拍照区域内来判断。 The determining whether the location area is located in the photographing area, and generally, by comparing the M coordinate points selected in the edges of the position area in each direction, are all located in the photographing area corresponding to The edge coordinate points in each direction, or part of the coordinate points are located at the edge of the photographing area, and the remaining coordinate points are all judged in the photographing area.
步骤 204, 自动启动拍照; 可选的, 在另一实施例中, 该实施例在所述位置区域在所述拍照区域 内, 且自动启动拍照前, 所述方法还可以包括: 发送拍照指示。 其中, 所述发送拍照指示, 可以是通过语音发送拍照指示, 例如该语 音可以是 "OK, 拍照" , 也可以是 "OK, 三秒钟后自动拍照" 等; 或者通 过语音发送拍照指示后, N秒启动拍照, 其中 N小于或等于 10秒, 例如, Step 204: Automatically start photographing; Optionally, in another embodiment, the method may further include: sending a photographing instruction before the photographing area is in the photographing area, and the photographing is automatically started. The sending a photographing instruction may be sending a photographing instruction by using a voice, for example, the voice may be “OK, taking a photo”, or “OK, automatically taking a photo after three seconds”, or sending a photographing instruction by voice. N seconds to start taking a picture, where N is less than or equal to 10 seconds, for example,
"OK, 发送拍照指示, 并等待 4秒后启动拍照" ; 或者通过第二灯光发送 拍照指示; 其中, 所述第二灯光与第一灯光为不同颜色的灯光。 步骤 205, 确定所述被拍摄对象的移动方向; 其中, 确定所述被拍摄对象的移动方向, 通常有下述三种方式: 一种方式是: 先计算位置区域的中心坐标点以及所述拍照区域的中心 坐标点, 然后, 确定所述位置区域的中心坐标点与所述拍照区域的中心坐 标点的相对位置, 根据所述相对位置确定被拍摄对象的移动方向。
另一种方式为: 选择所述位置区域上的各个方向上的特定坐标点; 以 及所述拍照区域上对应的各个方向上的特定坐标点; 其中, 本实施例中, 对于由边组成的图形, 所述特定坐标点至少为该图形的各个顶点的坐标点, 而对于圓形或椭圓形, 所述特定坐标点至少为: 平行 X轴和 Y轴, 且与该圓 形或椭圓形相切的各个点的坐标点。 所述特定坐标点即所述区域在坐标轴 上各个方向的最大坐标点或者最小坐标点。 然后, 确定所述位置区域上的各个方向上的特定坐标点与所述拍照区 域上对应的各个方向上的特定坐标点的相对位置; 根据所述相对位置确定 被拍摄对象的移动方向。 "OK, send a photo instruction, and wait for 4 seconds to start taking a photo"; or send a photo indication through the second light; wherein the second light and the first light are lights of different colors. Step 205: Determine a moving direction of the object to be photographed; wherein, determining a moving direction of the object to be photographed, generally has the following three modes: One way is: first calculating a center coordinate point of the position area and the photographing a central coordinate point of the region, and then determining a relative position of the central coordinate point of the positional region and a central coordinate point of the photographing region, and determining a moving direction of the subject according to the relative position. Another way is: selecting a specific coordinate point in each direction on the location area; and a specific coordinate point in each direction corresponding to the photographing area; wherein, in this embodiment, for the graph composed of edges The specific coordinate point is at least a coordinate point of each vertex of the graphic, and for a circle or an ellipse, the specific coordinate point is at least: a parallel X axis and a Y axis, and the circular or elliptical shape The tangent point of each point. The specific coordinate point is the maximum coordinate point or the minimum coordinate point of each direction of the area on the coordinate axis. Then, determining a relative position of a specific coordinate point in each direction on the position area and a specific coordinate point in each direction corresponding to the photographing area; determining a moving direction of the subject according to the relative position.
比如, 判断出位置区域的某个顶点 (比如矩形的正对左上顶点等) 未 进入该拍照区域, 则确定的移动方向为: 向左下方向移动。 其提示的语音 可以为 "您的右上方超出拍照区域, 请向左下方向移动" 等, 当然, 其他 情况以此类推, 可以针对每种不同的情况播放不同的语音文件。 当然, 在该实施例中, 还有另外一种情况, 当所述拍照区域完全位于 位置区域内时, 需要提示被拍摄对象远离镜头的方向, 当然, 也可以提示 重新确定取景界面中的拍照区域, 或者将物距调大。 比如, 提示被拍摄对 象的语音可以是 "距离镜头再远一些" 等; 之后, 再判断重新采集的位置 区域是否在所述拍照区域内, 如果所述位置区域在所述拍照区域内时, 则 自动启动拍照; 否则, 继续提示拍摄对象远离镜头直至所述位置区域位于 所述拍照区域内。 需要指出的, 上述只是示例, 当所述位置区域不在所述拍照区域内时, 确定所述被拍摄对象的移动方向的方式还可以是其他方式, 在此不作限制。 For example, if it is determined that a certain vertex of the location area (such as the front of the rectangle to the upper left vertex, etc.) does not enter the photographing area, the determined moving direction is: Move to the lower left direction. The voice of the prompt can be "Your upper right exceeds the photographing area, please move to the lower left direction", etc. Of course, other situations and so on, different voice files can be played for each different situation. Of course, in this embodiment, there is another case that when the photographing area is completely located in the position area, it is required to prompt the direction of the subject to be away from the lens. Of course, the photographing area in the framing interface may also be prompted to be re-determined. , or increase the object distance. For example, the voice prompting the subject may be "farther from the lens" or the like; after that, it is determined whether the re-acquired location area is within the photographing area, and if the location area is within the photographing area, The photographing is automatically initiated; otherwise, the subject continues to be prompted to move away from the lens until the location area is within the photographing area. It should be noted that the foregoing is only an example. When the location area is not in the photographing area, the manner of determining the moving direction of the object to be photographed may be other manners, which is not limited herein.
步骤 206, 提示所述被拍摄对象向确定的移动方向移动; 在所述被拍摄 对象移动完成后, 重新执行步骤 202, 直到所述位置区域位于所述拍照区域 内。
可选的, 所述提示所述被拍摄对象向确定的移动方向移动的方式包括: 通过声音或第一灯光提示所述被拍摄对象向所述确定的移动方向移动。 Step 206, prompting the subject to move in a determined moving direction; after the moving of the subject is completed, performing step 202 again until the location area is located in the photographing area. Optionally, the manner of prompting the subject to move in a determined moving direction comprises: prompting, by the sound or the first light, the subject to move in the determined moving direction.
其中, 所述通过声音提示所述被拍摄对象向所述确定的方向移动包括: 通过例如, "请向左" 、 "请向右" 、 "请向上" 、 "请向下" 等类似的 声音提示提醒所述被拍摄对象向不同的方向移动, 或者通过不同的频率提 示声音来提醒所述被拍摄对象向所述确定的移动方向移动, 例如, 当所述 被拍摄对象的位置区域远离所述拍照区域时, 提示音频率逐渐变高; 当所 述被拍摄对象的位置区域靠近所述拍照区域时, 提示音频率逐渐变低。 其中, 所述通过第一灯光提示所述被拍摄对象向所述确定的移动方向 移动包括: 通过灯光颜色的变化提醒所述被拍摄对象向所述确定的移动方 向移动, 当所述被拍摄对象移动时, 根据所述位置区域与所述拍照区域的 距离不同, 所述第一提示灯光产生不同的颜色变化; 或者, 通过灯光闪烁 的频率变化来提醒所述被拍摄对象向所述确定的移动方向移动, 当所述被 拍摄对象的位置区域远离所述拍照区域时, 所述第一提示灯光的闪烁频率 逐渐变高; 当所述被拍摄对象的位置区域靠近所述拍照区域时, 所述第一 提示灯光的闪烁频率逐渐变低。 需要指出的, 上述实施例只是示例, 本发明实施例所述的声音提示和 第一灯光提示方式还可以包括其他提示形式, 在此不作限制。 本实施例中所述发送拍照指示, 可以是当所述被拍摄对象的位置区域 位于所述拍照区域内时, 立即发送拍照指示, 也可以是, 当所述被拍摄对 象的位置区域位于所述拍照区域后, 一定时间后发送拍照指示, 被拍摄对 象可以在该段时间内做一些表情或者姿势的调整。 本实施例所述的提示方 式, 通过人机交互的提示方式, 帮助被拍摄对象调整位置, 并进行自动拍 照, 从而拍摄出高质量的照片。
需要指出的, 上述实施例只是示例, 本发明实施例所述的发送拍照指 示中提示声音和第二灯光提示方式不限于上述实施例描述, 用户 (即拍摄 者 )可以根据使用习惯自行设置, 在此不作限制。 由上述实施例可知, 本发明实施例所提供的图像采集方法, 通过声音 或者灯光提示的人机交互的方式, 提醒被拍摄对象移动, 直到所述被拍摄 对象在所述取景界面中的所述位置区域在所述拍照区域内时, 保证了被拍 摄对象在无法看到取景界面的情况下, 依然可以拍摄出理想的照片, 从而 提高了拍照效率和用户的满意度。 为了便于理解, 下面通过具体实施例对本发明图像采集方法进行说明。 本实施例中, 以触摸屏的相机或手机为例, 拍摄者进行自拍时, 拍摄者和 被拍摄对象为同一人。 在进入拍照模式后, 拍摄者通过在相机或手机的触 摸屏划出触摸轨迹, 该相机或手机记录该触摸轨迹, 作为区域边界, 以拍 摄者在屏幕的始末点连线段作为对角线, 形成一个矩形区域, 该矩形区域 作为拍照区域, 或者, 以拍摄者在屏幕的始末点连线段作为半径, 以起始 点为圓心, 形成一个圓形, 该圓形作为拍照区域, 之后可以将相机或手机 固定, 拍摄者作为被拍摄对象进入景区, 采集被拍摄者的脸部特征, 通过 人脸识别的方法得到一个位置区域, 通常情况下, 人脸识别的方法得到的 位置区域以矩形区域为例, 但并不限于此, 其人脸识别的方法详见上述, 在此不再赘述。 本实施例中, 将取景界面作为一个二维平面, 在所述取景界面上的所 有坐标点都以所述取景界面的左下角作为该二维平面的坐标原点, 所述拍 照区域的边缘及所述拍照区域内各个位置都可以有相应的坐标值, 所述位 置区域的边缘及所述位置区域内部的各个位置也可以有相应的坐标值, 本 实施例中, 选择所述位置区域上的各个方向的特定坐标点, 本实施例中为 了便于描述, 各个方向的特定坐标点以矩形的四个顶点的坐标点为例, 即
定义所述位置区域上的左上顶点为 A点, 坐标为 (X0, Y0 ) ,右上顶点为 B, 坐标为 (XI , Y1 ) , 左下顶点为 C点, 坐标为 (X2, Y2 ),右下顶点为 D, 坐标为 (X3 , Y3 ) , 由此, 为了便于计算, 可以记录所述矩形的中心点 E 的坐标为( X4, Y4 ) ,其中, X4=( X0+X1+X2+X3 )/4, Y4=( Y0+Y1+Y2+Y3 ) /4。 对应的, 选择所述拍照区域上对应的各个方向的特定坐标点, 各个方向 的特定坐标点也以矩形的四个顶点的坐标点为例, 定义所述拍照区域上的 左上顶点为 A'点, 坐标为(ΧΟ' , Y0' ) ,右上顶点为 Β' , 坐标为(ΧΓ , ΥΓ ) , 左下顶点为 C'点, 坐标为(Χ2' , Υ2,),右下顶点为 D' , 坐标为(Χ3' , Υ3' ) , 由此,为了便于计算,可以记录所述矩形的中心点 Ε,的坐标为(Χ4,, Υ4,), 其中, Χ4,= ( Χ0,+ΧΓ+Χ2,+Χ3, ) /4, Υ4,= ( Υ0,+ΥΓ+Υ2,+Υ3,) /4。 The moving the object to the determined direction by the sound includes: by, for example, "Please Left", "Please Right", "Please Up", "Please Down", and the like Prompting to remind the subject to move in different directions, or to remind the subject to move in the determined moving direction by a different frequency prompting sound, for example, when the positional area of the subject is far from the When the photographing area is photographed, the prompting audio frequency gradually becomes higher; when the positional area of the photographed subject is close to the photographing area, the prompting audio frequency gradually becomes lower. The moving the object to the determined moving direction by the first light comprises: reminding the subject to move in the determined moving direction by a change in a color of the light, when the subject is When moving, the first prompt light generates a different color change according to the distance between the location area and the photographing area; or, the subject is moved to the determined movement by a frequency change of the light blinking When the position of the subject is away from the photographing area, the blinking frequency of the first prompt light gradually becomes higher; when the positional area of the photographed object is close to the photographing area, the The first prompt light flashes at a lower frequency. It should be noted that the foregoing embodiment is only an example, and the voice prompt and the first light prompting manner in the embodiment of the present invention may further include other prompt forms, which are not limited herein. The sending a photographing instruction in the embodiment may be that when the location area of the subject is located in the photographing area, the photographing instruction is immediately sent, or when the location area of the subject is located in the After the photographing area, a photographing instruction is sent after a certain time, and the subject can make some expressions or posture adjustments during the period of time. The prompting mode described in this embodiment helps the subject to adjust the position through the prompt mode of human-computer interaction, and automatically takes a photo to take a high-quality photo. It should be noted that the foregoing embodiment is only an example. The prompting sound and the second light prompting manner in the sending photographing instruction according to the embodiment of the present invention are not limited to the description of the above embodiment, and the user (ie, the photographer) can set it according to the usage habit. This is not a limitation. It can be seen from the above embodiments that the image collecting method provided by the embodiment of the present invention reminds the subject to move by means of human-computer interaction of sound or light prompting until the subject of the subject is in the framing interface. When the location area is in the photographing area, it is ensured that the photographed object can still capture an ideal photograph without being able to see the framing interface, thereby improving photographing efficiency and user satisfaction. For ease of understanding, the image acquisition method of the present invention will be described below by way of specific embodiments. In this embodiment, taking a camera or a mobile phone of a touch screen as an example, when the photographer performs self-photographing, the photographer and the subject are the same person. After entering the photographing mode, the photographer draws a touch trajectory by touching the touch screen of the camera or the mobile phone, and the camera or the mobile phone records the touch trajectory as a region boundary, and the photographer forms a diagonal line at the beginning and end of the screen as a diagonal line. a rectangular area, which is used as a photographing area, or as a radius of the photographer's connection point at the beginning and end of the screen, with the starting point as the center of the circle, forming a circle, which is used as a photographing area, and then the camera or The mobile phone is fixed, the photographer enters the scenic spot as the subject, collects the facial features of the subject, and obtains a positional area by the face recognition method. Generally, the face recognition method obtained by the face recognition method takes a rectangular area as an example. However, it is not limited thereto, and the method for face recognition is as described above, and details are not described herein again. In this embodiment, the framing interface is used as a two-dimensional plane, and all coordinate points on the framing interface are used as the coordinate origin of the two-dimensional plane with the lower left corner of the framing interface, and the edge and the location of the photographing area. Each position in the photographing area may have a corresponding coordinate value, and the edge of the position area and each position inside the position area may also have corresponding coordinate values. In this embodiment, each of the position areas is selected. Specific coordinate points of the direction, in this embodiment, for the convenience of description, the specific coordinate points in each direction take the coordinate points of the four vertices of the rectangle as an example, that is, Define the upper left vertex on the position area as point A, the coordinates are (X0, Y0), the upper right vertex is B, the coordinates are (XI, Y1), the lower left vertex is C point, the coordinate is (X2, Y2), the lower right The vertex is D and the coordinates are (X3, Y3). Thus, for ease of calculation, the coordinates of the center point E of the rectangle can be recorded as (X4, Y4), where X4=( X0+X1+X2+X3 ) /4, Y4=( Y0+Y1+Y2+Y3 ) /4. Correspondingly, a specific coordinate point corresponding to each direction in the photographing area is selected, and the specific coordinate point in each direction is also taken as an example of the coordinate points of the four vertices of the rectangle, and the upper left vertex on the photographing area is defined as A' point. , the coordinates are (ΧΟ', Y0'), the upper right vertex is Β', the coordinates are (ΧΓ, ΥΓ), the lower left vertex is C' point, the coordinates are (Χ2', Υ2,), and the lower right vertex is D', coordinates For (Χ3', Υ3'), thus, for the convenience of calculation, the center point 所述 of the rectangle can be recorded, and the coordinates are (Χ4,, Υ4,), where Χ4,=( Χ0, +ΧΓ+Χ2, +Χ3, ) /4, Υ4,= ( Υ0, +ΥΓ+Υ2, +Υ3,) /4.
比较所述位置区域上的 、 B、 C、 D四个坐标点与所述拍照区域上的 A,、 B,、 C,、 D,四个坐标点的坐标, 当所述 A、 B、 C、 D的二维坐标值全部位于 所述 A'、 B'、 C'、 D'坐标值的范围内, 或者当所述 A、 B的坐标值与所述 A'、 B'的坐标值相等, 所述 C、 D两坐标值位于所述 C'、 D'的坐标值的范围内时, 或者所述 、 C两坐标值与所述 A,、 C,的坐标值相等, 所述 B、 D两坐标值 位于所述 B'、 D'坐标值的范围内时, 所述位置区域位于所述拍照区域内; 当所述位置区域的 A、 B、 C、 D四坐标点均与所述拍照区域的 A,、 B,、 C,、 D'坐标点相等时, 则所述位置区域与所述拍照区域重合。 Comparing the coordinate points of B, C, and D on the position area with the coordinates of A, B, C, and D on the photographing area, and the coordinates of the four coordinate points, when the A, B, and C The two-dimensional coordinate values of D are all within the range of the coordinate values of the A', B', C', D', or when the coordinate values of the A, B are equal to the coordinates of the A', B' When the C and D coordinate values are within the range of the coordinate values of the C' and D', or the C coordinate values are equal to the coordinate values of the A, C, and the B, When the two coordinate values are within the range of the B', D' coordinate values, the location area is located in the photographing area; when the positional areas A, B, C, and D coordinate points are all When the A, B, C, and D' coordinate points of the photographing area are equal, the position area coincides with the photographing area.
在所述所述位置区域位于所述拍照区域内或者所述位置区域与所述拍 照区域重合时, 相机或手机通过语音输出拍照指示, 比如 "OK, 三秒钟后 拍照" 的语音拍照指示", 相机或手机在三秒钟后自动拍照。 当然,在上述过程中, 当所述位置区域中的部分位置区域(比如坐标 A ) 不在所述拍照区域内时, 由于坐标点 A为矩形的左上坐标点, 则相机或手机 播放 "左上方超出拍照区域, 请向右下方移动" 的语音提示, 提示被拍摄 对象移动。 如果是其他部分不在所述拍照区域内的情况, 相机或手机根据
不同的情况播放不同的语音提示被拍摄对象进行移动, 至所述位置区域完 全位于所述拍照区域内时, 输出拍照指示, 并启动相机或手机的摄像头, 对被拍摄对象进行自动拍照。 需要指出的, 上述实施例只是示例, 本发明实施例所述的, 位置区域 的形状, 比较判断方式和提示方式不限于此, 还可以根据拍摄者的选择和 相机或手机的不同, 包括其他的方式, 在此不再贅述。 需要指出的, 当对多人进行拍照时, 电子设备可以对每个识别出的人 脸进行编号, 每一张人脸都有相应的编号, 通过比较每一张人脸与拍照区 域, 判断是否所有的人脸都进入的拍照区域中, 如果相应的人脸没有进入 拍照区域, 电子设备针对该没有进入拍照区域的人脸进行相应的语音提示, 所述比较判断的方式和提示的方式与上述实施例类似, 在此不在贅述。 需要指出的, 所拍摄的物体不仅限于人还可以是其他物体, 而且所述 采集到的物体的位置区域的形状, 可以是现有的图像采集技术中可以得到 的相应人或物体的任意形状, 在此不作限制。 由以上技术方案可知, 本发明实施例所提供的图像采集方法, 通过人 物识别的方式确定位置区域, 同时通过声音和灯光提示的人机交互的方式 , 来调整位置区域的位置, 当所述位置区域在拍照区域内时, 触发自动拍照, 保证了所拍图像的完整性, 从而提高了拍照效率和用户的满意度。 基于上述方法的实现过程, 本发明实施例提供了一种图像采集装置, 如图 3所示, 图 3为本发明实施例提供的一种图像采集装置的结构示意图, 所述图像采集装置包括: 第一确定单元 11、 采集单元 12、 拍照单元 13 , 其 中, 所述第一确定单元 11 , 用于在进入拍照模式后, 确定取景界面中的拍 照区域; 所述采集单元 12, 用于采集被拍摄对象在所述取景界面中的位置 区域; 所述拍照单元 13 , 用于在所述采集单元 12采集到的位置区域位于所 述第一确定单元 11确定的拍照区域内后, 自动启动拍照。
本实施例提供的图像采集装置, 通过在取景界面中确定拍照区域作为 理想拍照区域, 当采集得到的被拍摄对象的位置区域在该理想区域中时, 进行拍照, 保证了所拍图像的完整性, 从而提高了拍照效率和用户的满意 度。 When the location area is located in the photographing area or the position area coincides with the photographing area, the camera or the mobile phone outputs a photographing instruction by voice, such as "OK, a photo taking instruction of photographing after three seconds". , the camera or the mobile phone automatically takes a picture after three seconds. Of course, in the above process, when a part of the position area (such as the coordinate A) in the position area is not in the photographing area, since the coordinate point A is a rectangle upper left At the coordinate point, the camera or mobile phone plays the voice prompt of “Top left beyond the photo area, please move to the lower right”, prompting the subject to move. If other parts are not in the photo area, the camera or mobile phone is based on In different situations, different voice prompts are played by the subject to move, and when the location area is completely located in the photographing area, a photographing instruction is output, and a camera of the camera or the mobile phone is activated to automatically take a photograph of the subject. It should be noted that the foregoing embodiment is only an example. In the embodiment of the present invention, the shape of the location area, the comparison judgment manner, and the prompting manner are not limited thereto, and may also be different according to the choice of the photographer and the camera or the mobile phone, including other The method will not be described here. It should be pointed out that when taking photos of multiple people, the electronic device can number each recognized face, and each face has a corresponding number. By comparing each face and the photographed area, it is judged whether or not In the photographing area where all the faces are entered, if the corresponding face does not enter the photographing area, the electronic device performs a corresponding voice prompt for the face that does not enter the photographing area, and the manner of the comparison judgment and the manner of the prompt are as described above. The embodiments are similar and will not be described here. It should be noted that the object to be photographed is not limited to a person but also other objects, and the shape of the location area of the collected object may be any shape of a corresponding person or object available in the existing image acquisition technology. There are no restrictions here. It can be seen from the above technical solution that the image collection method provided by the embodiment of the present invention determines the location area by means of the character recognition, and adjusts the position of the location area by the manner of human interaction of the sound and the light prompt, when the position is When the area is in the photographing area, automatic photographing is triggered to ensure the integrity of the captured image, thereby improving the photographing efficiency and the user's satisfaction. Based on the implementation process of the foregoing method, an embodiment of the present invention provides an image capture device. As shown in FIG. 3, FIG. 3 is a schematic structural diagram of an image capture device according to an embodiment of the present invention. The image capture device includes: a first determining unit 11, a collecting unit 12, and a photographing unit 13, wherein the first determining unit 11 is configured to determine a photographing area in the framing interface after entering the photographing mode; the collecting unit 12 is configured to collect The photographing unit 13 is configured to automatically start photographing after the location area collected by the collection unit 12 is located in the photographing area determined by the first determining unit 11 . The image capturing device provided in this embodiment determines the photographing area as an ideal photographing area in the framing interface, and when the collected position area of the photographed object is in the ideal area, photographing is performed to ensure the integrity of the captured image. , thereby improving the efficiency of photographing and the satisfaction of users.
可选的, 在上述实施例的基石出上, 所述第一确定单元包括接收单元和 生成单元, 在一个实施例中, 所述接收单元, 用于接收一个触碰事件, 相 应的, 所述生成单元, 用于根据所述接收单元接收到的触碰事件生成拍照 区域; 在另一实施例中, 所述接收单元, 还可以用于接收一个键入事件, 相应的, 所述生成单元, 用于根据所述接收单元接收到的键入事件生成拍 照区域。 本发明实施例还提供了一种图像采集装置, 如图 4所述, 图 4为本发明 实施例提供的一种图像采集装置的第二结构示意图, 所述图像采集装置包 括: 第一确定单元 21、 采集单元 22、 发送单元 23和拍照单元 24, 其中, 所 述第一确定单元 21、 所述采集单元 22和所述拍照单元 24的功能和作用与上 述实施例相同, 在此不再贅述, 所述发送单元 23 , 用于在所述采集单元 22 采集到的位置区域在所述拍照区域内, 且进行拍照前, 向所述拍照单元 24 发送拍照指示; 相应的, 在本实施例中, 所述拍照单元 24, 还用于在接收 到所述拍照指示发送单元 23发送的拍照指示后, 自动启动拍照。 Optionally, in the above-mentioned embodiment, the first determining unit includes a receiving unit and a generating unit. In an embodiment, the receiving unit is configured to receive a touch event, and correspondingly, the a generating unit, configured to generate a photographing area according to the touch event received by the receiving unit; in another embodiment, the receiving unit may further be configured to receive a typing event, and correspondingly, the generating unit, Generating a photographing area according to the keying event received by the receiving unit. The embodiment of the present invention further provides an image acquisition device. As shown in FIG. 4, FIG. 4 is a schematic diagram of a second structure of an image collection device according to an embodiment of the present invention. The image collection device includes: a first determining unit. The collection unit 22, the sending unit 23, and the photographing unit 24, wherein the functions and functions of the first determining unit 21, the collecting unit 22, and the photographing unit 24 are the same as those of the foregoing embodiment, and details are not described herein again. The sending unit 23 is configured to send a photographing instruction to the photographing unit 24 before the photographing area is collected in the photographing area collected by the collecting unit 22; correspondingly, in this embodiment, The photographing unit 24 is further configured to automatically start photographing after receiving the photographing instruction sent by the photographing instruction sending unit 23.
以上两种实施方式, 均是在所述采集单元采集得到的位置区域位于所 述拍照区域内的情况, 当所述采集单元采集得到的位置区域不在所述拍照 区域内时, 所述图像采集装置如图 5所示, 图 5为本发明实施例提供的图像 采集装置的第三种结构示意图, 所述图像采集装置包括: 第一确定单元 31、 采集单元 32、 拍照单元 33、 第二确定单元 34和第一提示单元 35 , 其中, 所 述第一确定单元 31、 所述采集单元 32和所述拍照单元 33的功能和作用于详 见上述实施例中, 在此不再贅述, 所述第二确定单元 34, 用于在所述采集
单元采集的位置区域不在所述拍照区域内时, 确定所述被拍摄对象的移动 方向; 所述第一提示单元 35 , 用于在所述第二确定单元 34确定所述被拍摄 对象的移动方向后, 提示所述被拍摄对象向确定的移动方向移动; 相应的, 在上述两实施例的基础上, 在本实施例中, 所述采集单元 32, 还用于在所 述第一提示单元 35提示所述被拍摄对象向所述第二确定单元确定的移动方 向移动后, 重新采集所述被拍摄对象的位置区域; 相应的, 所诉拍照单元 33 , 还用于在所述采集单元 32重新采集的位置区域位于所述拍照区域内时, 自动启动拍照。 可选的, 本实施例中, 所述第二确定单元 34包括: 计算单元、 第一位 置确定单元和第一方向确定单元, 所述计算单元, 用于计算所述位置区域 的中心坐标点以及所述拍照区域的中心坐标点; 所述第一位置确定单元, 用于确定所述计算单元计算得到的中心坐标点与所述拍照区域的中心坐标 点的相对位置; 所述第一方向确定单元, 用于根据所述位置确定单元所确 定的所述相对位置确定所述被拍摄对象的移动的方向。 可选的, 在另一实施例中, 所述第二确定单元包括: 选择单元, 第二 位置确定单元和第二方向确定单元, 其中, 所述选择单元, 用于选择所述 位置区域上的各个方向上的特定坐标点; 以及所述拍照区域上对应的各个 方向上的特定坐标点; 所述第二位置确定单元, 用于确定所述位置区域上 的各个方向上的特定坐标点与所述拍照区域上对应的各个方向上的特定坐 标点的相对位置; 所述第二方向确定单元, 用于根据所述相对位置确定被 拍摄对象的移动方向。 当然, 在另一实施例中, 所述第二确定单元也可以包括上述所有第二 确定单元包括的单元。 需要指出的, 上述只是示例, 所述第二确定单元还可以包括其他的用 于确定拍照区域的装置, 在此不做限制。
可选的, 本实施例中, 所述第一提示单元 35具体可以为第一声音提示 单元和 /或第一灯光提示单元, 其中, 所述第一声音提示单元, 用于通过声 音提示所述被拍摄对象向所述第二确定单元确定的移动方向移动; 所述第 一灯光提示单元, 用于通过第一灯光的提示提示所述被拍摄对象向所述第 二确定单元确定的移动方向移动。 可选的, 在本实施例的基石出上, 在一个实施例中, 所述第一提示单元 包括第一声音提示单元作时, 所述第一声音提示单元, 具体用于通过语音 提示所述被拍摄对象向所述第二确定单元确定的移动方向移动, 或者通过 频率提示所述被拍摄对象向所述第二确定单元确定的移动方向移动; 可选的, 在另一实施例中, 所述第一提示单元包括第一灯光提示单元 时, 所述第一灯光提示提示单元, 具体用于通过灯光颜色的变化提示所述 被拍摄对象向所述第二确定单元确定的移动方向移动, 或者通过灯光闪烁 的频率变化来提示所述被拍摄对象向所述第二确定单元确定的移动方向移 动。 当然, 所述第一提示单元也可以同时包括所述第一声音提示单元和所 述第一灯光提示单元, 本实施例不作限制。 需要指出的, 所述电子设备中的第一提示单元可以同时包含第一声音 提示单元和所述第一灯光提示单元, 或者包含其中任意一个装置, 而在实 际应用中, 只有一个装置起作用, 并通过一种提示方式进行提示。 例如, 在上述图 3或图 4实施例的基础上, 在一个实施例中, 所述第一 提示单元可以为第一声音提示单元, 通过不同的语音提示被拍摄对象向所 述第二确定单元确定的移动方向移动; 同样在当所述第一提示单元为第一 声音提示单元的在另一实施例中, 所述第一声音提示单元可以通过不同的 频率提示声音来提醒所述被拍摄对象向所述第二确定单元确定的移动方向 移动; 相应的, 在又一实施例中, 当所述第一提示单元为第一灯光提示单
元时, 所述第一灯光提示单元可以通过灯光颜色的变化提醒所述被拍摄对 象向所述第二确定单元确定的移动方向移动; 同样在所述第一提示单元为 第一灯光提示单元的另一实施例中, 所述第一灯光提示单元可以通过灯光 闪烁的频率变化来提醒所述被拍摄对象向所述第二确定单元确定的移动方 向移动。 需要指出的, 所述第一提示单元还可以为其他的用于提示的装置, 同 样的, 所述第一声音提示单元和所述第一灯光提示单元的提示方式也可以 是其他的方式, 在此不作限制。 所述装置中各个单元的功能和作用的实现过程详见上述方法中对应步 骤的实现过程, 在此不再贅述。 还请参阅图 6 , 图 6为本发明实施例提供的一种图像采集装置的第四种 结构示意图, 所述图像采集装置包括: 第一确定单元 41、 采集单元 42、 发 送单元 43、 拍照单元 44、 第二确定单元 45和第一提示单元 46, 其中, 所述 第一确定单元 41、 所述采集单元 42、 所述发送单元 43、 所述拍照单元 44、 所述第二确定单元 45和所述第一提示单元 46的功能和作用于上述三个实施 例中相似, 在此不再贅述。 优选的, 所述发送单元具体可以为第二语音指示单元和 /或第二灯光指 示单元, 其中, 所述第二语音指示单元, 用于通过语音发送拍照指示; 或 者通过语音发送拍照指示后,等待 Ν秒后启动拍照,其中 Ν小于或等于 10秒; 所述第二灯光指示单元, 用于通过第二灯光发送拍照指示, 其中, 所述第 二灯光与所述第一灯光为不同颜色的灯光。 需要指出的, 电子设备的发送单元可以同时包含第二语音指示单元和 第二灯光指示单元,或者只包含其中一个, 而在实际应用中, 只有一个单元 起作用。
在上述任一实施例的基础上, 在一个实施例中, 当所述发送单元为第 二语音指示单元时, 所述第二语音指示单元可以通过语音发送拍照指示, 电子设备在发出指示后, 随即拍照, 例如 "OK, 拍照" ; 或者, 同样当所 述发送单元为第二语音指示单元的另一实施例中, 所述第二语音指示通过 语音发送拍照指示后, 等待 N秒启动拍照, 其中 N小于或等于 10秒, 例如, "OK, 三秒后拍照" ; 相应的, 若所述发送单元为第二灯光指示单元, 在 一个实施例中, 可以通过与所述不同于第一灯光提示单元的灯光颜色的灯 光指示被拍摄对象, 或者当发送单元为第二指示单元时的另一实施例中, 所述第二灯光指示单元可以通过不同于第一提示灯光的闪烁频率的灯光指 示被拍摄对象。 需要指出的, 所述发送单元还可以为其他的用于发送拍照指示的装置, 同时, 所述第二语音指示单元和所述第二灯光指示单元还可以通过其他的 指示方式指示被拍摄对象, 在此不作限制。 所述装置中各个单元的功能和作用的实现过程详见上述方法中对应步 骤的实现过程, 在此不再贅述。 由以上技术方案可知, 本发明实施例所提供的图像采集装置, 通过人 物识别的方式确定位置区域, 同时通过声音或者灯光提示的人机交互的方 式, 来调整位置区域的位置, 当所述位置区域位于所述拍照区域内时, 触 发自动拍照, 保证了所拍图像的完整性, 从而提高了拍照效率和用户的满 意度。 In the above two embodiments, the location area collected by the collection unit is located in the photographing area, and when the location area collected by the collecting unit is not in the photographing area, the image collecting apparatus As shown in FIG. 5, FIG. 5 is a schematic diagram of a third structure of an image collection device according to an embodiment of the present invention. The image collection device includes: a first determining unit 31, an acquisition unit 32, a photographing unit 33, and a second determining unit. 34 and the first prompting unit 35, wherein the functions and functions of the first determining unit 31, the collecting unit 32, and the photographing unit 33 are described in the above embodiments, and are not described herein again. a determining unit 34, configured to be in the collecting Determining a moving direction of the object when the location area of the unit is not in the photographing area; the first prompting unit 35 is configured to determine, in the second determining unit 34, a moving direction of the object to be photographed After that, the subject is prompted to move in a certain moving direction; correspondingly, based on the above two embodiments, in the embodiment, the collecting unit 32 is further used in the first prompting unit 35. After the subject is prompted to move to the moving direction determined by the second determining unit, the position area of the subject is re-acquired; correspondingly, the photographing unit 33 is further used to re-create in the collecting unit 32. When the collected location area is located in the photographing area, the photograph is automatically started. Optionally, in this embodiment, the second determining unit 34 includes: a calculating unit, a first location determining unit, and a first direction determining unit, where the calculating unit is configured to calculate a central coordinate point of the location area and a central coordinate point of the photographing area; the first position determining unit is configured to determine a relative position of a central coordinate point calculated by the calculating unit and a central coordinate point of the photographing area; And determining a direction of movement of the subject according to the relative position determined by the position determining unit. Optionally, in another embodiment, the second determining unit includes: a selecting unit, a second location determining unit, and a second direction determining unit, where the selecting unit is configured to select the location area a specific coordinate point in each direction; and a specific coordinate point in each of the corresponding directions on the photographing area; the second position determining unit is configured to determine a specific coordinate point and a position in each direction on the position area a relative position of a specific coordinate point in each of the corresponding directions on the photographing area; the second direction determining unit is configured to determine a moving direction of the object according to the relative position. Of course, in another embodiment, the second determining unit may also include all the units included in the second determining unit. It should be noted that the foregoing is only an example, and the second determining unit may further include other means for determining a photographing area, which is not limited herein. Optionally, in the embodiment, the first prompting unit 35 may be a first sound prompting unit and/or a first light prompting unit, where the first sound prompting unit is configured to prompt the voice by voice The subject is moved to the moving direction determined by the second determining unit; the first light prompting unit is configured to prompt the moving direction of the subject to be determined by the second determining unit by the prompt of the first light . Optionally, in the embodiment, when the first prompting unit includes the first sound prompting unit, the first sound prompting unit is specifically configured to The subject moves to the moving direction determined by the second determining unit, or prompts the subject to move in the moving direction determined by the second determining unit by frequency; alternatively, in another embodiment, When the first prompting unit includes the first light prompting unit, the first light prompting prompting unit is specifically configured to prompt the movement direction of the photographed object to be determined by the second determining unit by the change of the color of the light, or The moving direction of the subject determined to the second determining unit is prompted by a frequency change of the flashing of the light. Of course, the first prompting unit may also include the first sound prompting unit and the first light prompting unit, which are not limited in this embodiment. It should be noted that the first prompting unit in the electronic device may include the first sound prompting unit and the first light prompting unit, or include any one of the devices, and in practical applications, only one device functions, And prompted by a prompt. For example, in the embodiment of FIG. 3 or FIG. 4, in an embodiment, the first prompting unit may be a first sound prompting unit, and the subject is photographed to the second determining unit by different voice prompts. The determined movement direction moves; also in another embodiment when the first prompting unit is the first sound prompting unit, the first sound prompting unit can remind the subject by different frequency prompting sounds Moving to the moving direction determined by the second determining unit; correspondingly, in another embodiment, when the first prompting unit is the first light prompt When the first light prompting unit is configured to remind the subject to move in the moving direction determined by the second determining unit by the change of the color of the light; also in the first prompting unit being the first light prompting unit In another embodiment, the first light prompting unit may remind the subject to move in a moving direction determined by the second determining unit by a frequency change of the light flashing. It should be noted that the first prompting unit may also be another device for prompting. Similarly, the prompting manners of the first sound prompting unit and the first light prompting unit may be other manners. This is not a limitation. For the implementation process of the functions and functions of the various units in the device, refer to the implementation process of the corresponding steps in the foregoing method, and details are not described herein again. Referring to FIG. 6 , FIG. 6 is a schematic diagram of a fourth structure of an image collection device according to an embodiment of the present invention. The image collection device includes: a first determining unit 41, an acquisition unit 42, a sending unit 43, and a photographing unit. The second determining unit 45 and the first prompting unit 46, wherein the first determining unit 41, the collecting unit 42, the sending unit 43, the photographing unit 44, the second determining unit 45, and The function of the first prompting unit 46 is similar to that of the above three embodiments, and details are not described herein again. Preferably, the sending unit may be a second voice indicating unit and/or a second light indicating unit, where the second voice indicating unit is configured to send a photographing instruction by voice; or after sending a photographing instruction by voice, Waiting for a leap second to start taking a picture, wherein Ν is less than or equal to 10 seconds; the second light indicating unit is configured to send a photographing indication by the second light, wherein the second light and the first light are different colors light. It should be noted that the transmitting unit of the electronic device may include the second voice indicating unit and the second light indicating unit at the same time, or only one of them, and in actual applications, only one unit functions. On the basis of any of the foregoing embodiments, in an embodiment, when the sending unit is the second voice indicating unit, the second voice indicating unit may send a photographing instruction by using a voice, and after the electronic device issues the instruction, Then take a picture, for example, "OK, take a picture"; or, in another embodiment, when the sending unit is the second voice indicating unit, the second voice instruction sends a picture indication by voice, and waits for N seconds to start taking the picture. Where N is less than or equal to 10 seconds, for example, "OK, take a picture after three seconds"; correspondingly, if the sending unit is a second light indicating unit, in one embodiment, it may be different from the first light The light of the light color of the prompting unit indicates the object to be photographed, or in another embodiment when the sending unit is the second indicating unit, the second light indicating unit may indicate by a light different from the blinking frequency of the first prompt light Subject. It should be noted that the sending unit may also be another device for sending a photographing indication, and the second voice indicating unit and the second light indicating unit may further indicate the subject by other indication manners. There are no restrictions here. For the implementation process of the functions and functions of the various units in the device, refer to the implementation process of the corresponding steps in the foregoing method, and details are not described herein again. It can be seen from the above technical solution that the image collection device provided by the embodiment of the present invention determines the location area by means of person recognition, and adjusts the position of the location area by means of sound or light human interaction. When the area is located in the photographing area, automatic photographing is triggered to ensure the integrity of the captured image, thereby improving the photographing efficiency and the user's satisfaction.
相应的, 本发明实施例还提供一种电子设备, 所述电子设备包括图像 采集装置, 所述图像采集装置包括的各个单元的功能和作用的实现过程详 见上述, 在此不再贅述。 还请参阅图 7 , 图 7为本发明实施例提供的一种电子设备的结构示意图, 所述电子设备 1包括: 处理器 10、 收发器 20和摄像头 30, 其中, 所述处理器
10, 用于在进入拍照模式后, 确定取景界面中的拍照区域; 所述收发器 20, 用于采集被拍摄对象在所述取景界面中的位置区域; 在本实施例中, 所述 处理器 10, 还用于在所述收发器采集的所述位置区域在所述拍照区域内时, 向所述摄像头 30发送拍照指示; 所述摄像头 30在接收到所述处理器发送的 拍照指示后, 自动拍照。 可选的, 所述收发器 20, 还用于接收一个触碰事件或者键入事件; 相 应的, 所述处理器 10具体用于, 根据所述收发器 20接收一个触碰事件或者 键入事件生成拍照区域。 可选的, 所述处理器 10, 还用于当所述位置区域不在所述拍照区域内 时, 确定所述被拍摄对象的移动方向; 所述收发器 20, 还用于在所述处理 器 10确定了所述被拍摄对象的移动方向后, 提示所述被拍摄对象向所述确 定的移动方向移动。 可选的, 所述处理器 10在所述位置区域不在所述拍照区域内时, 确定 所述被拍摄对象的移动方向, 具体包括: 计算所述位置区域的中心坐标点 以及所述拍照区域的中心坐标点; 确定所述位置区域的中心坐标点与所述 拍照区域的中心坐标点的相对位置; 根据所述相对位置确定被拍摄对象的 移动方向; 或者, 选择所述位置区域上的各个方向的特定坐标点; 以及所 述拍照区域上对应的各个方向的特定坐标点; 确定所述位置区域上的各个 方向的特定坐标点与所述拍照区域上对应的各个方向的特定坐标点的相对 位置; 根据所述相对位置确定被拍摄对象的移动方向。 可选的, 所述收发器 20提示所述被拍摄对象向所述确定的移动方向移 动, 具体包括: 通过声音或第一灯光提示所述被拍摄对象向所述确定的移 动方向移动。 其中, 所述收发器 20通过声音提示所述被拍摄对象向所述确定的移动 方向移动, 具体包括, 通过语音来提示所述被拍摄对象向所述确定的移动
方向移动; 或者, 通过频率提示所述被拍摄对象向所述确定的移动方向移 动。 Correspondingly, the embodiment of the present invention further provides an electronic device, where the electronic device includes an image capturing device, and the implementation process of the functions and functions of each unit included in the image capturing device is as described above, and details are not described herein. Please refer to FIG. 7. FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device 1 includes: a processor 10, a transceiver 20, and a camera 30, wherein the processor 10, configured to determine a photographing area in the framing interface after entering the photographing mode; the transceiver 20 is configured to collect a position area of the photographed object in the framing interface; in this embodiment, the processor 10, further configured to send a photographing instruction to the camera 30 when the location area collected by the transceiver is in the photographing area; after receiving the photographing instruction sent by the processor, the camera 30 Take a photo automatically. Optionally, the transceiver 20 is further configured to receive a touch event or a key-in event; correspondingly, the processor 10 is specifically configured to: generate a photo according to the transceiver 20 receiving a touch event or typing event region. Optionally, the processor 10 is further configured to determine a moving direction of the object when the location area is not in the photographing area; the transceiver 20 is further configured to be in the processor After determining the moving direction of the subject, the subject is prompted to move in the determined moving direction. Optionally, the determining, by the processor 10, the moving direction of the object when the location area is not in the photographing area, specifically: calculating a central coordinate point of the location area and the photographing area a central coordinate point; determining a relative position of the central coordinate point of the positional area and a central coordinate point of the photographing area; determining a moving direction of the object according to the relative position; or selecting each direction on the positional area a specific coordinate point; and a specific coordinate point of each corresponding direction on the photographing area; determining a relative position of a specific coordinate point of each direction on the position area and a specific coordinate point of each direction corresponding to the photographing area ; determining the moving direction of the subject according to the relative position. Optionally, the transceiver 20 prompts the subject to move in the determined moving direction, and specifically includes: prompting, by the sound or the first light, the subject to move in the determined moving direction. The transceiver 20 audibly prompts the subject to move in the determined moving direction, and specifically includes prompting the subject to move to the determined by voice The direction moves; or, by the frequency, the subject is moved in the determined moving direction.
所述收发器 20通过声音提示所述被拍摄对象向所述确定的移动方向移 动, 具体包括: 通过灯光颜色的变化提示所述被拍摄对象向所述确定的移 动方向移动; 或者, 通过灯光闪烁的频率变化来提示所述被拍摄对象向所 述确定的移动方向移动。 The transceiver 20 audibly prompts the subject to move in the determined moving direction, specifically: prompting the subject to move in the determined moving direction by changing a color of the light; or The frequency change indicates that the subject is moving in the determined moving direction.
可选的, 所述收发器 20, 还用于在所述位置区域在所述拍照区域内, 且摄像头自动拍照前, 发送拍照指示。 Optionally, the transceiver 20 is further configured to send a photographing indication before the camera automatically takes a photo in the location area.
所述收发器 20发送拍照指示, 具体包括, 通过语音发送拍照指示; 或 者通过语音发送拍照指示后,等待 N秒后启动拍照,其中 N小于或等于 10秒; 或者通过第二灯光发送拍照指示; 其中, 所述第二灯光与第一灯光为不同 颜色的灯光。 The transceiver 20 sends a photographing instruction, which specifically includes: sending a photographing instruction by voice; or sending a photographing instruction by voice, waiting for N seconds to start photographing, wherein N is less than or equal to 10 seconds; or sending a photographing instruction through the second light; Wherein, the second light and the first light are lights of different colors.
可选的, 所述电子设备可以是数码相机、 可拍照的手机等带有照相功 能的移动终端。 Optionally, the electronic device may be a mobile terminal with a camera function, such as a digital camera or a camera phone.
由上述实施例可知, 本发明实施例提供的图像采集方法及装置, 首先 确定一个理想拍照区域, 确定被拍摄对象的位置区域(比如通过人脸识别 来确定等) , 当所述位置区域不再所述拍照区域内时, 利用声音或者灯光 提示的被拍摄者移动, 从而调整移动后被拍摄者的位置区域, 并在所述位 置区域位于所述拍照区域内时, 触发自动拍照, 保证了所拍图像的完整性, 从而提高了拍照效率和用户的满意度。 It can be seen from the above embodiments that the image collecting method and apparatus provided by the embodiments of the present invention first determine an ideal photographing area, determine a positional area of the object to be photographed (for example, by face recognition, etc.), when the location area is no longer When the photographing area is inside, the subject moved by the sound or the light is moved, thereby adjusting the position area of the photographed person after the movement, and when the position area is located in the photographing area, the automatic photographing is triggered, and the photograph is ensured. The integrity of the image is taken, thereby improving the efficiency of photographing and the satisfaction of the user.
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的 普通技术人员来说, 在不脱离本发明原理的前提下, 还可以作出若干改进 和润饰, 这些改进和润饰也应视为本发明的保护范围。
The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It is considered as the scope of protection of the present invention.
Claims
1、 一种图像采集方法, 其特征在于, 包括: 1. An image acquisition method, characterized by including:
在进入拍照模式后, 确定取景界面中的拍照区域; After entering the photo mode, determine the photo area in the viewfinder interface;
采集被拍摄对象在所述取景界面中的位置区域; Collect the location area of the photographed object in the viewing interface;
当所述位置区域在所述拍照区域内时, 自动启动拍照。 When the location area is within the photographing area, photographing is automatically started.
2、 如权利要求 1所述的图像采集方法, 其特征在于, 所述确定取景界 面中的拍照区域, 具体包括: 接收一个触碰事件, 根据所述触碰事件生成 拍照区域; 或者接收键入事件, 通过所述键入事件生成拍照区域。 2. The image acquisition method according to claim 1, wherein the determining the photographing area in the viewfinder interface specifically includes: receiving a touch event and generating the photographing area according to the touch event; or receiving a typing event. , generating a photographing area through the keying event.
3、 如权利要求 1或 2所述的图像采集方法, 其特征在于, 所述位置区域 在所述拍照区域内, 包括: 所述位置区域的所有坐标点全部在所述拍照区 域内, 或者所述位置区域的部分坐标点在所述拍照区域的边缘, 其余坐标 点全部在所述拍照区域内。 3. The image acquisition method according to claim 1 or 2, wherein the location area is within the photography area, including: all coordinate points of the location area are within the photography area, or the location area is within the photography area, or the location area is within the photography area. Some coordinate points of the location area are at the edge of the photographing area, and all remaining coordinate points are within the photographing area.
4、如权利要求 1至 3任一项所述的图像采集方法,其特征在于,还包括: 当所述位置区域不在所述拍照区域内时, 确定所述被拍摄对象的移动 方向; 4. The image acquisition method according to any one of claims 1 to 3, further comprising: when the position area is not within the photographing area, determining the movement direction of the photographed object;
提示所述被拍摄对象向确定的移动方向移动, 以使所述被拍摄对象在 所述取景界面中的所述位置区域在所述拍照区域内时, 自动启动拍照。 The photographed object is prompted to move in the determined movement direction, so that when the position area of the photographed object in the viewfinder interface is within the photographing area, photographing is automatically started.
5、 如权利要求 4所述的图像采集方法, 其特征在于, 所述当所述位置 区域不在所述拍照区域内时, 确定所述被拍摄对象的移动方向, 具体包括: 计算所述位置区域的中心坐标点以及所述拍照区域的中心坐标点; 确 定所述位置区域的中心坐标点与所述拍照区域的中心坐标点的相对位置; 根据所述相对位置确定被拍摄对象的移动方向; 或者 5. The image acquisition method according to claim 4, wherein when the position area is not within the photographing area, determining the movement direction of the photographed object specifically includes: calculating the position area. and the center coordinate point of the photographing area; determining the relative position of the center coordinate point of the location area and the center coordinate point of the photographing area; determining the moving direction of the photographed object based on the relative position; or
选择所述位置区域上的各个方向的特定坐标点; 以及所述拍照区域上 对应的各个方向的特定坐标点; 确定所述位置区域上的各个方向的特定坐 标点与所述拍照区域上对应的各个方向的特定坐标点的相对位置; 根据所 述相对位置确定被拍摄对象的移动方向。
Select specific coordinate points in each direction on the location area; and corresponding specific coordinate points in each direction on the photo-taking area; determine the specific coordinate points in each direction on the location area and the corresponding specific coordinate points on the photo-taking area. The relative position of specific coordinate points in each direction; determine the moving direction of the photographed object based on the relative position.
6、 如权利要求 4或 5所述的图像采集方法, 其特征在于, 所述提示所述 被拍摄对象向确定的移动方向移动具体包括: 通过声音或第一灯光提示所 述被拍摄对象向确定的移动方向移动。 6. The image acquisition method according to claim 4 or 5, wherein the prompting the photographed subject to move in a determined movement direction specifically includes: prompting the photographed subject to move in a determined direction through sound or a first light. moving direction.
7、 如权利要求 6所述的图像采集方法, 其特征在于, 所述通过声音提 示所述被拍摄对象向确定的移动方向移动包括: 7. The image acquisition method according to claim 6, wherein the prompting the photographed object to move in the determined movement direction through sound includes:
通过语音来提示所述被拍摄对象向所述确定的移动方向移动; 或者 通过频率提示所述被拍摄对象向所述确定的移动方向移动。 Prompt the photographed object to move in the determined moving direction through voice; or prompt the photographed object to move in the determined moving direction through frequency.
8、 如权利要求 6所述的图像采集方法, 其特征在于, 所述通过第一灯 光来提示所述被拍摄对象向所述确定的移动方向移动包括: 8. The image acquisition method according to claim 6, wherein the prompting the photographed object to move in the determined movement direction through the first light includes:
通过灯光颜色的变化提示所述被拍摄对象向所述确定的移动方向移 动 或者 Prompt the photographed object to move in the determined movement direction through changes in light color, or
通过灯光闪烁的频率变化来提示所述被拍摄对象向所述确定的移动方 向移动。 The photographed object is prompted to move in the determined moving direction through changes in the frequency of light flashing.
9、 如权利要求 1至 8任一项所述的图像采集方法, 其特征在于, 当所述 位置区域在所述拍照区域内, 且自动启动拍照前, 还包括: 发送拍照指示。 9. The image acquisition method according to any one of claims 1 to 8, characterized in that when the location area is within the photographing area and before automatically starting photographing, it further includes: sending a photographing instruction.
10、 如权利要求 9所述的图像采集方法, 其特征在于, 所述发送拍照指 示包括: 10. The image acquisition method according to claim 9, wherein the sending a photographing instruction includes:
通过语音发送拍照指示; 或者 Send photo instructions by voice; or
通过语音发送拍照指示后,等待 N秒启动拍照,其中 N小于或等于 10秒; 或者 After sending the photo taking instructions via voice, wait for N seconds to start taking photos, where N is less than or equal to 10 seconds; or
通过第二灯光发送拍照指示; 其中, 所述第二灯光与第一灯光为不同 颜色的灯光。 The photography instruction is sent through the second light; wherein the second light and the first light are lights of different colors.
11、 一种图像采集装置, 其特征在于, 包括: 11. An image acquisition device, characterized in that it includes:
第一确定单元, 用于在进入拍照模式后, 确定取景界面中的拍照区域; 采集单元, 用于采集被拍摄对象在所述取景界面中的位置区域;
拍照单元, 用于在所述采集单元采集到的位置区域位于所述第一确定 单元确定的拍照区域内时, 自动启动拍照。 The first determination unit is used to determine the photographing area in the viewfinder interface after entering the camera mode; the acquisition unit is used to collect the position area of the photographed object in the viewfinder interface; A photographing unit, configured to automatically start photographing when the location area collected by the collection unit is located in the photographing area determined by the first determination unit.
12、 如权利要求 11所述的图像采集装置, 其特征在于, 所述第一确定 单元包括 : 12. The image acquisition device according to claim 11, characterized in that the first determination unit includes:
接收单元, 用于接收一个触碰事件或者键入事件; Receiving unit, used to receive a touch event or key event;
生成单元, 用于根据所述接收单元接收到的触碰事件或者键入事件生 成拍照区域。 A generating unit, configured to generate a photographing area according to the touch event or typing event received by the receiving unit.
13、 如权利要求 11所述的图像采集装置, 其特征在于, 还包括, 第二确定单元, 用于在所述位置区域不在所述拍照区域内时, 确定所 述被拍摄对象的移动方向; 13. The image acquisition device according to claim 11, further comprising: a second determination unit configured to determine the movement direction of the photographed object when the position area is not within the photographing area;
第一提示单元, 用于在所述第二确定单元确定所述被拍摄对象的移动 方向后, 提示所述被拍摄对象向确定的移动方向移动; The first prompting unit is configured to prompt the photographed object to move in the determined moving direction after the second determining unit determines the movement direction of the photographed object;
所述采集单元, 还用于在所述第一提示单元提示所述被拍摄对象向所 述第二确定单元确定的移动方向移动后, 重新采集所述被拍摄对象的位置 区域; The acquisition unit is also configured to re-acquire the position area of the photographed object after the first prompting unit prompts the photographed object to move in the movement direction determined by the second determination unit;
所述拍照单元, 还用于在所述采集单元重新采集的位置区域位于所述 拍照区域内时, 自动启动拍照。 The photographing unit is also configured to automatically start photographing when the location area re-collected by the collection unit is located in the photographing area.
14、 如权利要求 13所述的图像采集装置, 其特征在于, 所述第二确定 单元包括: 14. The image acquisition device according to claim 13, wherein the second determination unit includes:
计算单元, 用于计算所述位置区域的中心坐标点; 以及所述拍照区域 的中心坐标点; A calculation unit, used to calculate the central coordinate point of the location area; and the central coordinate point of the photographing area;
第一位置确定单元, 用于确定所述位置区域的中心坐标点与所述拍照 区域的中心坐标点的相对位置; The first position determination unit is used to determine the relative position of the central coordinate point of the location area and the central coordinate point of the photographing area;
第一方向确定单元, 用于根据所述相对位置确定被拍摄对象的移动方 向。 A first direction determining unit, configured to determine the moving direction of the photographed object according to the relative position.
15、 如权利要求 13所述的图像采集装置, 其特征在于, 所述第二确定 单元包括:
选择单元, 用于选择所述位置区域上的各个方向上的特定坐标点; 以 及所述拍照区域上对应的各个方向上的特定坐标点; 15. The image acquisition device according to claim 13, wherein the second determination unit includes: A selection unit, used to select specific coordinate points in each direction on the location area; and corresponding specific coordinate points in each direction on the photographing area;
第二位置确定单元, 用于确定所述位置区域上的各个方向上的特定坐 标点与所述拍照区域上对应的各个方向上的特定坐标点的相对位置; A second position determination unit, used to determine the relative position of specific coordinate points in each direction on the location area and corresponding specific coordinate points in each direction on the photographing area;
第二方向确定单元, 用于根据所述相对位置确定被拍摄对象的移动方 向。 The second direction determining unit is used to determine the moving direction of the photographed object according to the relative position.
16、 如权利要求 13至 15任一项所述的图像采集装置, 其特征在于, 所 述第一提示单元包括: 16. The image acquisition device according to any one of claims 13 to 15, characterized in that the first prompt unit includes:
第一声音提示单元, 用于通过声音提示所述被拍摄对象向所述第二确 定单元确定的移动方向移动, 或者 a first sound prompting unit, configured to prompt the photographed object to move in the moving direction determined by the second determining unit through sound, or
第一灯光提示单元, 用于通过第一灯光的提示提示所述被拍摄对象向 所述第二确定单元确定的移动方向移动。 The first light prompting unit is configured to prompt the photographed object to move in the moving direction determined by the second determining unit through the prompting of the first light.
17、 如权利要求 16所述的图像采集装置, 其特征在于, 17. The image acquisition device according to claim 16, characterized in that,
所述第一声音提示单元, 具体用于通过语音提示所述被拍摄对象向所 述第二确定单元确定的移动方向移动, 或者通过频率提示所述被拍摄对象 向所述第二确定单元确定的移动方向移动。 The first sound prompting unit is specifically configured to prompt the photographed subject to move in the movement direction determined by the second determination unit through voice, or prompt the photographed subject to move in the movement direction determined by the second determination unit through frequency. Movement direction.
18、 如权利要求 16所述的图像采集装置, 其特征在于, 18. The image acquisition device according to claim 16, characterized in that,
所述第一灯光提示单元, 具体用于通过灯光颜色的变化提示所述被拍 摄对象向所述第二确定单元确定的移动方向移动, 或者通过灯光闪烁的频 率变化来提示所述被拍摄对象向所述第二确定单元确定的移动方向移动。 The first light prompting unit is specifically configured to prompt the photographed subject to move in the moving direction determined by the second determination unit through changes in light color, or to prompt the photographed subject to move in the direction of movement determined by the light flashing frequency. The moving direction determined by the second determining unit moves.
19、 如权利要求 11至 18任一项所述的图像采集装置, 其特征在于, 还 包括, 19. The image acquisition device according to any one of claims 11 to 18, further comprising:
发送单元, 用于在所述采集单元采集到的位置区域在所述拍照区域内, 且自动启动拍照前, 向所述拍照单元发送拍照指示; A sending unit, configured to send a photographing instruction to the photographing unit when the location area collected by the collection unit is within the photographing area and before photographing is automatically started;
所述拍照单元, 还用于在接收到所述拍照指示发送单元发送的拍照指 示时, 进行拍照。
The photographing unit is also configured to take a photograph when receiving a photographing instruction sent by the photographing instruction sending unit.
20、 如权利要求 19所述的图像采集装置, 其特征在于, 所述发送单元 包括: 20. The image acquisition device according to claim 19, characterized in that the sending unit includes:
第二语音指示单元, 用于通过语音发送拍照指示; 或者通过语音发送 拍照指示后, 等待 N秒启动拍照, 其中 N小于或等于 10秒; The second voice instruction unit is used to send photographing instructions by voice; or after sending the photographing instructions by voice, wait for N seconds to start photographing, where N is less than or equal to 10 seconds;
第二灯光指示单元, 用于通过第二灯光发送拍照指示; 其中, 所述第 二灯光与所述第一灯光为不同颜色的灯光。
The second light indication unit is used to send photography instructions through the second light; wherein the second light and the first light are lights of different colors.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100662727A CN103139480A (en) | 2013-02-28 | 2013-02-28 | Image acquisition method and image acquisition device |
CN201310066272.7 | 2013-02-28 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014131329A1 true WO2014131329A1 (en) | 2014-09-04 |
Family
ID=48498728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/072116 WO2014131329A1 (en) | 2013-02-28 | 2014-02-15 | Image acquisition method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103139480A (en) |
WO (1) | WO2014131329A1 (en) |
Families Citing this family (35)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103139480A (en) * | 2013-02-28 | 2013-06-05 | 华为终端有限公司 | Image acquisition method and image acquisition device |
CN103533226A (en) * | 2013-06-07 | 2014-01-22 | Tcl集团股份有限公司 | Shooting method and system with voice prompt function |
CN103391361A (en) * | 2013-07-05 | 2013-11-13 | 中科创达软件股份有限公司 | Automatic reminding method and device for self-timer composition of intelligent terminal |
CN103703757B (en) * | 2013-08-01 | 2015-09-09 | 华为终端有限公司 | A kind of photographic method and device |
JP2015090593A (en) * | 2013-11-06 | 2015-05-11 | ソニー株式会社 | Information processing device, information processing method, and information processing system |
CN103945107B (en) * | 2013-11-29 | 2018-01-05 | 努比亚技术有限公司 | Image pickup method and filming apparatus |
CN104715246A (en) * | 2013-12-11 | 2015-06-17 | 中国移动通信集团公司 | Photographing assisting system, device and method with a posture adjusting function, |
CN103631599B (en) * | 2013-12-11 | 2017-12-12 | Tcl通讯(宁波)有限公司 | One kind is taken pictures processing method, system and mobile terminal |
CN104750236A (en) * | 2013-12-27 | 2015-07-01 | 联想(北京)有限公司 | Information processing method and electronic equipment |
CN104469157B (en) * | 2014-12-08 | 2017-11-07 | 广东欧珀移动通信有限公司 | The method and apparatus that a kind of many people of camera shoot |
CN104580899B (en) * | 2014-12-26 | 2018-08-03 | 魅族科技(中国)有限公司 | The control method and imaging device of image objects |
CN104618643B (en) * | 2015-01-20 | 2017-10-17 | 广东欧珀移动通信有限公司 | A kind of image pickup method and device |
CN104754216B (en) * | 2015-03-06 | 2018-03-27 | 广东欧珀移动通信有限公司 | A kind of photographic method and device |
CN104883486A (en) * | 2015-05-28 | 2015-09-02 | 上海应用技术学院 | Blind person camera system |
CN105827931B (en) * | 2015-06-19 | 2019-04-12 | 维沃移动通信有限公司 | It is a kind of based on the audio-frequency inputting method and device taken pictures |
CN105827933B (en) * | 2015-06-29 | 2019-04-12 | 维沃移动通信有限公司 | A kind of image capture method, device and mobile terminal |
JP2017184108A (en) * | 2016-03-31 | 2017-10-05 | オリンパス株式会社 | Imaging apparatus and imaging method |
CN107645628B (en) * | 2016-07-21 | 2021-08-06 | 中兴通讯股份有限公司 | Information processing method and device |
CN106357961A (en) * | 2016-08-25 | 2017-01-25 | 维沃移动通信有限公司 | Photographing method and mobile terminal |
US10547776B2 (en) * | 2016-09-23 | 2020-01-28 | Apple Inc. | Devices, methods, and graphical user interfaces for capturing and recording media in multiple modes |
CN106899761A (en) * | 2017-02-21 | 2017-06-27 | 深圳市金立通信设备有限公司 | A kind of image pickup method and terminal |
CN106803893B (en) * | 2017-03-14 | 2020-10-27 | 联想(北京)有限公司 | Prompting method and electronic equipment |
CN107657218B (en) * | 2017-09-12 | 2021-03-09 | Oppo广东移动通信有限公司 | Face recognition method and related product |
CN107592463B (en) * | 2017-09-29 | 2020-10-27 | 惠州Tcl移动通信有限公司 | Dynamic point photographing method based on mobile terminal, storage medium and mobile terminal |
CN107682636B (en) * | 2017-10-19 | 2019-12-03 | 维沃移动通信有限公司 | A kind of control method and mobile terminal of mobile terminal |
CN107835359B (en) * | 2017-10-25 | 2020-01-03 | 捷开通讯(深圳)有限公司 | Photographing triggering method of mobile terminal, mobile terminal and storage device |
TWI744610B (en) | 2018-03-01 | 2021-11-01 | 宏達國際電子股份有限公司 | Scene reconstructing system, scene reconstructing method and non-transitory computer-readable medium |
CN108174108A (en) * | 2018-03-08 | 2018-06-15 | 广州三星通信技术研究有限公司 | The method and apparatus and mobile terminal for effect of taking pictures are adjusted in the terminal |
CN110830705A (en) * | 2018-08-08 | 2020-02-21 | 深圳市优必选科技有限公司 | Robot photographing method, robot, terminal device and storage medium |
CN109194880B (en) * | 2018-11-28 | 2021-11-12 | 努比亚技术有限公司 | Photographing method, terminal and computer readable storage medium |
CN109981989B (en) * | 2019-04-04 | 2021-05-25 | 北京字节跳动网络技术有限公司 | Method and device for rendering image, electronic equipment and computer readable storage medium |
CN110326287A (en) * | 2019-05-14 | 2019-10-11 | 深圳市大疆创新科技有限公司 | Image pickup method and device |
CN111163261B (en) * | 2019-12-25 | 2022-03-01 | 上海肇观电子科技有限公司 | Target detection method, circuit, visual impairment assistance device, electronic device, and medium |
CN111627115A (en) * | 2020-05-26 | 2020-09-04 | 浙江商汤科技开发有限公司 | Interactive group photo method and device, interactive device and computer storage medium |
CN114972303B (en) * | 2022-06-16 | 2024-07-23 | 平安科技(深圳)有限公司 | Image acquisition method, device, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010210570A (en) * | 2009-03-12 | 2010-09-24 | Tokyo Electric Power Co Inc:The | Device and method for acquisition of data for use in calibration |
CN102413282A (en) * | 2011-10-26 | 2012-04-11 | 惠州Tcl移动通信有限公司 | Self-shooting guidance method and equipment |
CN102801857A (en) * | 2012-07-30 | 2012-11-28 | 无锡智感星际科技有限公司 | Smart phone photographing guiding method based on image matching |
CN103139480A (en) * | 2013-02-28 | 2013-06-05 | 华为终端有限公司 | Image acquisition method and image acquisition device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101639610B (en) * | 2008-08-01 | 2011-03-23 | 鸿富锦精密工业(深圳)有限公司 | Digital photographic device and self-shoot guidance method |
CN101726966B (en) * | 2008-10-10 | 2012-03-14 | 深圳富泰宏精密工业有限公司 | Self photographing system and method |
-
2013
- 2013-02-28 CN CN2013100662727A patent/CN103139480A/en active Pending
-
2014
- 2014-02-15 WO PCT/CN2014/072116 patent/WO2014131329A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010210570A (en) * | 2009-03-12 | 2010-09-24 | Tokyo Electric Power Co Inc:The | Device and method for acquisition of data for use in calibration |
CN102413282A (en) * | 2011-10-26 | 2012-04-11 | 惠州Tcl移动通信有限公司 | Self-shooting guidance method and equipment |
CN102801857A (en) * | 2012-07-30 | 2012-11-28 | 无锡智感星际科技有限公司 | Smart phone photographing guiding method based on image matching |
CN103139480A (en) * | 2013-02-28 | 2013-06-05 | 华为终端有限公司 | Image acquisition method and image acquisition device |
Also Published As
Publication number | Publication date |
---|---|
CN103139480A (en) | 2013-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014131329A1 (en) | Image acquisition method and device | |
WO2022042168A1 (en) | Audio processing method and electronic device | |
JP2018023158A (en) | Preview image display method and device, and terminal | |
JP6432130B2 (en) | Display system, display device, photographing device, display method, and program | |
JP6101397B2 (en) | Photo output method and apparatus | |
US8908916B2 (en) | Control apparatus, control method, and program to search for a subject and automatically perform image-recording | |
CN103795933B (en) | A kind of image processing method and electronic equipment | |
KR20100027700A (en) | Photographing method and apparatus | |
WO2018098860A1 (en) | Photograph synthesis method and apparatus | |
KR20170027266A (en) | Image capture apparatus and method for operating the image capture apparatus | |
WO2021036420A1 (en) | Video communication method, terminal and storage medium | |
US20210243354A1 (en) | Voice input apparatus, control method thereof, and storage medium for executing processing corresponding to voice instruction | |
JP2014228629A (en) | Imaging apparatus, control method and program thereof, and storage medium | |
WO2022121963A1 (en) | Image occlusion detection method and apparatus, photographing device and medium | |
RU2635873C2 (en) | Method and device for displaying framing information | |
JP2006268248A (en) | Photographing device, and face direction determining method | |
WO2015123888A1 (en) | Image zoom method and device | |
JP2016012846A (en) | Imaging apparatus, and control method and control program of the same | |
WO2022061541A1 (en) | Control method, handheld gimbal, system, and computer-readable storage medium | |
TW201339986A (en) | Method and device for capturing image | |
TW201714074A (en) | A method for taking a picture and an electronic device using the method | |
JP2009267468A (en) | Imaging device | |
JP5104517B2 (en) | Imaging device | |
WO2019161752A1 (en) | Photographing method and mobile terminal | |
WO2015074261A1 (en) | Method for saving photographed image, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14757754 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14757754 Country of ref document: EP Kind code of ref document: A1 |