WO2017084220A1 - Photography processing method and apparatus, and terminal - Google Patents

Photography processing method and apparatus, and terminal Download PDF

Info

Publication number
WO2017084220A1
WO2017084220A1 PCT/CN2016/074891 CN2016074891W WO2017084220A1 WO 2017084220 A1 WO2017084220 A1 WO 2017084220A1 CN 2016074891 W CN2016074891 W CN 2016074891W WO 2017084220 A1 WO2017084220 A1 WO 2017084220A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
matching
reference biological
photographing
biological image
Prior art date
Application number
PCT/CN2016/074891
Other languages
French (fr)
Chinese (zh)
Inventor
廖声洋
Original Assignee
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2017084220A1 publication Critical patent/WO2017084220A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/171Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/64Computer-aided capture of images, e.g. transfer from script file into camera, check of taken image quality, advice or proposal for image composition or decision on when to take image
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a method, an apparatus, and a terminal for photographing processing.
  • the existing camera using the front camera of the terminal has many inconveniences.
  • the user needs to manually press the camera button or use the auxiliary device (self-timer) to complete the self-timer.
  • the auxiliary device self-timer
  • Such problems make the photographs taken unclear and ineffective, which will affect the sales of the end products.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method, a device, and a terminal for photographing processing, which can perform photographing processing intelligently.
  • a first aspect of the embodiments of the present invention provides a method for photographing processing, where the method includes:
  • the photographing determining operation is triggered to store the preview image as a photographing image.
  • the preview image and the preset reference biological image set to be collected are Feature matching of one or more images, before obtaining one or more matching degrees, also includes:
  • biometric recognition-based photographing mode perform performing feature matching on the captured preview image and one or more images in the preset reference bio-image set to obtain one or more matching degrees;
  • the preview image is stored as a photographing image.
  • the method further includes:
  • a setting parameter of the biometric-based photographing mode to select an image matching mode in the setting parameter; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode.
  • the method further includes:
  • the method before the acquiring the reference biological image and parsing the acquired feature information of the reference biological image, the method further includes:
  • the prompt information is used to prompt the user whether to select to import the reference biological image
  • the acquiring the reference biological image is performed, and the acquired feature information of the reference biological image is parsed.
  • the matching the captured preview image and the one or more images in the preset reference biological image set to perform one or more matching degrees including:
  • the method further includes:
  • a prompt message for prompting to reset the preset reference biological image set or re-adjusting the photographing posture is sent.
  • the second aspect of the embodiments of the present invention provides an apparatus for photographing processing, where the apparatus includes:
  • An acquisition module configured to collect a preview image when a photographing event is detected
  • a matching module configured to perform feature matching on the preview image collected by the collection module and one or more images in a preset reference biological image set to obtain one or more matching degrees;
  • the photographing module is configured to trigger a photographing determining operation to store the preview image as a photographing image if a matching degree exceeding a preset threshold exists in each matching degree obtained in the matching module.
  • the device further includes:
  • a detecting module configured to detect a current photographing mode of the communication terminal; and if the detecting module detects the photographing mode based on the biometric identification, notifying the matching module;
  • the detecting module detects the normal photographing mode, the detecting module is further configured to monitor whether a photographing determining operation is generated in real time, and if yes, notify the photographing module to store the preview image as a photographing image.
  • the device further includes:
  • a display module configured to display a setting parameter of the biometric-based photographing mode, so as to select an image matching mode in the setting parameter; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode.
  • the device further includes:
  • Obtaining a parsing module configured to acquire a reference biometric image, and parse the acquired feature information of the reference biometric image
  • a learning module configured to perform adaptive learning on the feature information of the reference biological image parsed by the acquisition parsing module according to an image matching mode in the setting parameter selected by the display module, to obtain a preset reference Biological image collection.
  • the device further includes:
  • the sending module is configured to send prompt information, where the prompt information is used to prompt the user to select to import the reference biological image; and if the instruction for instructing to select to import the reference biological image is received, the obtaining the parsing module is notified.
  • the matching module is specifically configured to: according to an image matching mode in the setting parameter selected by the display module, one of the collected preview image and a preset reference biological image set or Multiple images are feature matched to obtain one or more matching degrees.
  • the sending module is further configured to: if the matching degree obtained by the matching module does not exceed a preset threshold, send a prompt message for prompting to reset the preset reference biological image set or re-adjust the photographing posture.
  • a third aspect of the embodiments of the present invention provides a communication terminal, including a communication bus, an input device, an output device, a memory, and a processor, where:
  • the communication bus is configured to implement connection communication between the input device, the output device, the memory, and the processor;
  • the input device is configured to collect a preview image
  • the output device is configured to display a setting parameter of a photo feature based on a biometric recognition
  • the program stores a set of program codes, and the communication terminal calls program code stored in the memory to perform the following operations:
  • the input device collects a preview image when a photographing event is detected
  • the processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees;
  • the photographing determining operation is triggered, and the processor stores the preview image as a photographing image.
  • the processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees, and further includes:
  • the processor detects a current photographing mode of the communication terminal
  • the processor performs the feature matching on the one or more images of the preview image and the preset reference bio-image set to obtain one or more suitability;
  • the input device monitors in real time whether a photographing determination operation is generated, and if so, stores the preview image as a photographed image.
  • the processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees, and further includes:
  • the output device displays setting parameters of the biometric-based photographing mode for selection An image matching mode in the setting parameter is selected; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode.
  • it also includes:
  • the processor acquires a reference biological image, and parses the acquired feature information of the reference biological image
  • the processor performs adaptive learning on the parsed feature information of the reference biological image according to the image matching mode in the selected setting parameter to obtain a preset reference biological image set.
  • the method further includes:
  • the output device sends a prompt message, where the prompt information is used to prompt the user whether to select to import the reference biological image;
  • the input device receives an instruction for instructing selection to import the reference biological image, executing the processor to acquire the reference biological image, and parsing the acquired feature information of the reference biological image.
  • the processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees, including:
  • the output device sends a prompt message for prompting to reset the preset reference biological image set or re-adjusting the photographing posture.
  • the photographing event when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. If a matching degree exceeding a preset threshold exists in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
  • FIG. 1 is a schematic flow chart of a photographing processing method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of another photographing processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of generating a preset reference biological image set according to the present disclosure
  • FIG. 4 is a schematic flow chart of another method for generating a preset reference biological image set according to the present disclosure
  • FIG. 5 is a schematic structural diagram of a photographing processing apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a photographing processing apparatus according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a communication terminal according to an embodiment of the present invention.
  • the embodiment of the invention provides a method and a device for displaying the processing result, so as to perform a quick search on the keyword and obtain the result information that the user most wants, which is simple in operation and high in efficiency.
  • FIG. 1 is a schematic flowchart of a photographing processing method according to an embodiment of the present invention.
  • the method in the embodiment of the present invention can be applied to a terminal with a communication network function, such as a smart phone, a tablet computer, and a smart wearable device. Specifically, it can be implemented by a processor of these communication terminals.
  • the method of the embodiment of the invention further includes the following steps.
  • the communication terminal when detecting that the user turns on the camera of the terminal, uses the camera of the terminal to capture and collect the preview image.
  • the communication terminal may include an Internet device such as a personal computer, a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a mobile Internet device (MID), or a wearable smart device, and the embodiment of the present invention Not limited.
  • an Internet device such as a personal computer, a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a mobile Internet device (MID), or a wearable smart device, and the embodiment of the present invention Not limited.
  • S102 Perform feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees.
  • the communication terminal can detect the current photographing mode of the terminal, and if the current photographing mode is detected as the biometric-based photographing mode, the communication terminal compares the preview image and the preset image collected by S101. Performing feature matching on one or more images in the set of biometric images to obtain one or more matching degrees; if it is detected that the current photographing mode is a normal photographing mode, the communication terminal monitors whether a photographing determination operation is generated in real time, and if so, The preview image is stored as a photographed image.
  • the biometric identification may be one or more biometrics of the fingerprint information, the iris information, the scleral information, and the facial feature information, or other biometric feature information, which is not limited by the embodiment of the present invention.
  • the communication terminal may further display the setting parameter of the biometric-based photographing mode on the display interface of the terminal, so that the user selects an image matching mode in the setting parameter; wherein the setting parameter includes the whole Image matching mode and/or area image matching mode.
  • the overall image matching mode may refer to extracting all the feature information of the image and one or more images in the preset reference biological image set for feature matching
  • the region image matching mode may refer to extracting the specified region/portion of the image.
  • the feature information is matched with one or more images in the preset reference biological image set for feature matching.
  • the communication terminal may perform feature matching on the one or more images in the preview image collected by S101 and the preset reference biological image set according to an image matching mode in the setting parameter selected by the user, to obtain a feature. Or multiple matches.
  • the specific implementation manner of the preset reference bio-image set may be: the communication terminal acquires the reference bio-image, and parses the acquired feature information of the reference bio-image, where the communication ends And performing adaptive learning on the parsed feature information of the reference biological image according to the image matching mode selected by the user, to obtain a preset reference biological image set, and the preset reference biological image
  • the collection includes at least one reference biological image.
  • the communication terminal may also send prompt information, where the prompt information is used to prompt the user to select to import the reference biological image; if the communication terminal receives the reference biological image imported by the user, parse the received reference biological image; If the communication terminal does not receive the reference biometric image imported by the user, the communication terminal extracts and parses the reference biometric image from the reference biometric image folder that is present by the terminal by default.
  • the communication terminal may determine whether each matching degree obtained in S102 has a matching degree exceeding a preset threshold. If yes, the communication terminal triggers a photographing determining operation, and saves the preview image collected by S101 as The final photo image.
  • the setting parameter of the biometric recognition-based photographing mode may further include a preset matching degree threshold, and the preset threshold may be set or changed according to actual needs or preferences of the user, or the preset threshold is a fixed value (eg, 85%).
  • the embodiment of the invention is not limited.
  • the communication terminal may send one or more prompt information, where the prompt information is used to prompt the user to reset. Preset the reference biometric image set or reselect the image matching mode in the setting parameters or adjust the photo taking posture.
  • the photographing event when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. If a matching degree exceeding a preset threshold exists in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
  • FIG. 2 is a schematic flowchart of another method for photographing processing according to an embodiment of the present invention.
  • the method of the embodiment of the present invention can be applied to, for example, a smart phone, a tablet, and a smart wearable device.
  • the terminals of the communication network function may be specifically implemented by the processors of the communication terminals.
  • the method of the embodiment of the invention further includes the following steps.
  • the communication terminal when the communication terminal detects that the current photographing mode is in the normal photographing mode, the communication terminal detects whether the terminal receives the photographing determination instruction or generates the photographing determination operation in real time, and if the terminal detects the photographing determination operation or photographing When the instruction is determined, the terminal stores the preview image collected by S201 as the final photographed image.
  • S204 If it is a biometric-based photographing mode, display setting parameters of the biometric-based photographing mode, so as to select an image matching mode in the setting parameter; wherein the setting parameter includes an overall image matching mode and / or area image matching mode.
  • the setting parameter of the photographing mode is displayed on the display interface of the terminal, so that the user performs the setting parameter on the terminal display interface. Set or modify.
  • the setting parameters may include an image matching mode, a matching degree threshold, a resolution, a focal length, or other photographing parameters, which are not limited in the embodiment of the present invention.
  • the image matching mode may include an overall image matching mode and an area image matching mode, or other image matching modes, which are not limited in the embodiment of the present invention.
  • the overall image matching mode may refer to extracting all the feature information of the image and one or more images in the preset reference biological image set for feature matching
  • the region image matching mode may refer to extracting the specified region/portion of the image.
  • the feature information is matched with one or more images in the preset reference biological image set for feature matching.
  • the terminal when the communication terminal detects that the user selects to import the reference biological image, the terminal ends The terminal receives the reference biological image imported by the user, and parses out the feature information of the reference biological image; when the communication terminal does not detect the reference biological image import, the terminal selects the reference biological image from the local reference biological image folder, And parsing the feature information of the reference biological image.
  • the user can import or select the reference biological image by pressing the selection button, and the user can also preview the acquired reference biological image by clicking the selection button.
  • the communication terminal receives the facial feature reference image imported by the user, and the facial feature reference image may include a single facial feature image, a two-person facial feature image, and two or more faces. a feature image in which, when the communication terminal selects two or more facial feature images as the reference biological image, when analyzing the feature information of the reference biological image, the most prominent one of the facial features is selected.
  • the face avatar is parsed and finally used as the feature information of the reference biological image.
  • the preset reference biological image set may be obtained by the communication terminal learning the feature information of the reference biological image parsed by S206 according to the image matching mode selected by the user in S204, or may be The user-defined, or default, communication terminal does not require the embodiment of the present invention.
  • FIG. 3( a ) shows a flow diagram for generating a preset set of reference biological images.
  • the image matching mode selected by the user is an overall image matching.
  • the communication terminal receives the reference biological image imported by the user, the communication terminal parses the received feature information of the reference biological image (as shown in FIG. 3( a )).
  • the communication terminal performs adaptive learning on the parsed feature information of the reference biological image (as shown in FIG. 3( a )) according to the overall image matching mode to obtain a preset reference biological image set ( FIG. 3( b )).
  • Figure 4 shows another flow diagram for generating a preset set of reference biological images.
  • the communication terminal may select the partial region from the reference biological image according to the user's needs or preferences to obtain the feature information of the corresponding regional portion or the communication terminal may parse all the features of the reference biological image.
  • the information extracts feature information of the preset area or the user-defined area from the parsed feature information of the reference biological image, and the communication terminal adaptively learns the feature information of the obtained partial area according to the area image matching mode to obtain a corresponding preset.
  • a collection of reference biological images As shown in FIG. 4(a), an eye feature reference image set obtained by adaptively learning the reference biological image eye feature by the communication terminal is shown; FIG. 4(b) shows the communication terminal performing the reference biological image nose feature. The nose feature reference image set obtained by adaptive learning is obtained; as shown in FIG. 4(c), the mouth feature reference image set obtained by the communication terminal adaptively learning the reference biological image mouth feature is given.
  • the communication terminal performs feature matching on one or more images in the preset reference biological image set obtained by S201 according to the image matching mode selected by the user in S204 to obtain one or Multiple matches.
  • the communication terminal parses the feature information of the preview image and the feature information of part or all of the preset reference biological image set, and the communication terminal parses the obtained feature information of the preview image and the preset reference organism.
  • the feature information of the image is matched to obtain a corresponding matching degree value.
  • the communication terminal detects that if at least one matching degree value in the matching degree obtained in S208 exceeds a preset threshold, the communication terminal determines to take a picture, and saves the preview image collected by S201 as a photo image storage. To the local data of the terminal.
  • the communication terminal detects that if none of the matching degrees obtained in S208 exceeds a preset threshold, the communication terminal may send a prompt message to prompt the user to adjust the photographing posture or reselect the setting parameter. Image matching mode, or adjust the preset reference bio image collection.
  • the preview image when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. Degree, if there is a matching degree exceeding the preset threshold in each matching degree obtained, Then, a photographing determination operation is triggered, and the preview image is stored as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
  • FIG. 5 is a schematic structural diagram of a photographing processing apparatus according to an embodiment of the present invention.
  • the apparatus of the embodiment of the present invention may be disposed in a terminal with a communication network function, such as a smart phone, a tablet computer, and a smart wearable device.
  • the device 5 may specifically include the following modules.
  • the collecting module 60 is configured to collect a preview image when a photographing event is detected
  • the matching module 61 is configured to perform feature matching on the preview image collected by the collection module 60 and one or more images in the preset reference biological image set to obtain one or more matching degrees;
  • the photographing module 62 is configured to trigger a photographing determination operation to store the preview image as a photographed image if there is a matching degree exceeding a preset threshold in each matching degree obtained in the matching module 61.
  • the matching module 61 After the acquisition module 60 acquires the preview image, the matching module 61 performs feature matching on the one or more images in the preset reference biological image set to obtain one or more matching degrees, and takes a photo.
  • the photographing module 62 determines that the matching degree obtained by the matching module 61 exceeds the preset threshold, the photographing module 62 triggers the photographing determination operation of the terminal, and stores the preview image collected by the collecting module 60 as a photographing image.
  • the photographing event when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. If a matching degree exceeding a preset threshold exists in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
  • the photographing processing apparatus when the photographing processing apparatus provided in the foregoing embodiment performs the photographing processing setting, only the division of each functional module described above is illustrated. In actual applications, the function allocation may be completed by different functional modules as needed. The internal structure of the mobile communication terminal is divided into different functional modules to complete all or part of the functions described.
  • the apparatus for photographing processing provided by the above embodiment is the same as the method of photographing processing in the embodiment of the present invention provided in FIG. For details of the implementation process, refer to the method embodiment, which is not described here.
  • FIG. 6 it is a schematic structural diagram of a photographing processing device according to an embodiment of the present invention.
  • the device in the embodiment of the present invention may be disposed in a communication network function such as a smart phone, a tablet computer, or a smart wearable device.
  • the device 6 includes the acquisition module 60, the matching module 61, and the camera module 62 in the above embodiment.
  • the device may further include:
  • the detecting module 63 is configured to detect a current photographing mode of the communication terminal; if the detecting module 63 detects the photographing mode based on the biometric identification, the matching module 61 is notified;
  • the detecting module 63 is further configured to monitor whether a photographing determination operation is generated in real time, and if so, notify the photographing module 62 to store the preview image as a photographing image.
  • the device may further include:
  • a display module 64 configured to display a setting parameter of the biometric-based photographing mode, so as to select an image matching mode in the setting parameter; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode .
  • the device may further include:
  • the obtaining parsing module 65 is configured to acquire a reference biological image, and parse the acquired feature information of the reference biological image;
  • the learning module 66 is configured to perform adaptive learning on the feature information of the reference biological image parsed by the acquisition parsing module 65 according to an image matching mode in the setting parameter selected by the display module 64, to obtain a pre- Set of reference biometric images.
  • the device may further include:
  • the sending module 67 is configured to send prompt information, where the prompt information is used to prompt the user whether to select to import the reference biological image;
  • the acquisition parsing module 65 is notified if an instruction to instruct selection to import the reference biometric image is received.
  • the matching module 61 is specifically configured to: according to the image matching mode in the setting parameter selected by the display module 64, the pre-collected The view image and one or more images in the preset reference bio-image set are feature-matched to obtain one or more matching degrees.
  • the sending module 67 is further configured to: if the matching degree obtained by the matching module 61 does not exceed a preset threshold, send a reference biological image set for prompting to reset the preset or Re-adjust the prompt message for the photo pose.
  • the photographing processing apparatus when the photographing processing apparatus provided in the foregoing embodiment performs the photographing processing setting, only the division of each functional module described above is illustrated. In actual applications, the function allocation may be completed by different functional modules as needed. The internal structure of the mobile communication terminal is divided into different functional modules to complete all or part of the functions described.
  • the photographing processing device provided in the above embodiment is the same as the photographing processing method in another embodiment of the present invention provided in FIG. 2 , and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
  • the photographing event when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. If a matching degree exceeding a preset threshold exists in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
  • the present invention also provides related terminals for implementing the foregoing solutions.
  • the following is a detailed description of the structure of a mobile communication terminal provided by the present invention, which is shown in FIG.
  • the communication terminal 70 may include an input device 700, an output device 701, a memory 702, and a processor 703 (the number of processors 703 in the network device may be one or more, and one processor is exemplified in FIG. 7).
  • the input device 700, the output device 701, the memory 702, and the processor 703 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
  • the processor 703 can be used to invoke a data update program stored in the memory 702, and perform the following steps:
  • the photographing determining operation is triggered to store the preview image as a photographing image.
  • the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
  • biometric recognition-based photographing mode perform performing feature matching on the captured preview image and one or more images in the preset reference bio-image set to obtain one or more matching degrees;
  • the preview image is stored as a photographing image.
  • the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
  • a setting parameter of the biometric-based photographing mode to select an image matching mode in the setting parameter; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode.
  • the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
  • the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
  • the prompt information is used to prompt the user whether to select to import the reference biological image
  • the acquiring the reference biological image is performed, and the acquired feature information of the reference biological image is parsed.
  • the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
  • the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
  • a prompt message for prompting to reset the preset reference biological image set or re-adjusting the photographing posture is sent.
  • the photographing event when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. If a matching degree exceeding a preset threshold exists in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
  • the embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the operation method of any of the audio playback applications described in the foregoing method embodiments.
  • the disclosed apparatus may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise. form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Studio Devices (AREA)

Abstract

Provided are a photography processing method and apparatus, and a communication terminal. The method comprises: when a photography event is detected, collecting a preview image; performing feature matching on the collected preview image and one or more images in a pre-set reference biological image set, so as to obtain one or more matching degrees; and if one matching degree exceeding a pre-set threshold value exists in all the obtained matching degrees, triggering a photography determination operation, and storing the preview image as a photography image. By means of the present invention, the convenience and rapidness of photography processing can be enhanced, and automatic and intelligent photography processing is realized, thereby reducing user operations, and saving time and labour.

Description

一种拍照处理的方法、装置以及终端Method, device and terminal for photographing processing
本申请要求于2015年11月20日提交中国专利局,申请号为201510808795.3、发明名称为“一种拍照处理的方法、装置以及终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201510808795.3, entitled "A Method, Apparatus and Terminal for Photo Processing", which is incorporated by reference in its entirety. In this application.
技术领域Technical field
本发明涉及终端技术领域,尤其涉及一种拍照处理的方法、装置以及终端。The present invention relates to the field of terminal technologies, and in particular, to a method, an apparatus, and a terminal for photographing processing.
背景技术Background technique
随着终端技术的发展,大部分智能终端上都设置有摄像头。因此,也带来越来越多使用者喜欢拍照和自拍,以随时留下生活的印记和足迹,尤其是自拍已成为越来越多年轻人秀出自我的一种方式。With the development of terminal technologies, cameras are installed on most smart terminals. Therefore, more and more users like to take pictures and take selfies to leave the mark and footprint of life at any time. Especially, self-timer has become a way for more and more young people to show their self.
然而,现有的使用终端前置摄像头进行拍照存在许多操作不便,用户需要用手按拍照键或者利用辅助设备(自拍杆)等完成自拍,在自拍过程中存在操作抖动、操作不便、场景受限等问题,使拍出来的照片模糊不清、效果差,会影响终端产品的销售状况。However, the existing camera using the front camera of the terminal has many inconveniences. The user needs to manually press the camera button or use the auxiliary device (self-timer) to complete the self-timer. During the self-timer, there are operational jitter, inconvenient operation, and limited scenes. Such problems make the photographs taken unclear and ineffective, which will affect the sales of the end products.
发明内容Summary of the invention
本发明实施例所要解决的技术问题在于,提供一种拍照处理的方法、装置以及终端,可智能地进行拍照处理。The technical problem to be solved by the embodiments of the present invention is to provide a method, a device, and a terminal for photographing processing, which can perform photographing processing intelligently.
本发明实施例第一方面公开提供了一种拍照处理的方法,所述方法包括:A first aspect of the embodiments of the present invention provides a method for photographing processing, where the method includes:
当检测到拍照事件时,采集预览图像;When a photographing event is detected, a preview image is acquired;
将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;Performing feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees;
若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。If there is a matching degree exceeding a preset threshold in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographing image.
其中可选地,所述将采集到的所述预览图像和预置的参考生物图像集合中 的一个或多个图像进行特征匹配,得到一个或多个匹配度之前,还包括:Optionally, the preview image and the preset reference biological image set to be collected are Feature matching of one or more images, before obtaining one or more matching degrees, also includes:
检测通信终端当前的拍照模式;Detecting a current photographing mode of the communication terminal;
若为基于生物特征识别的拍照模式,则执行所述将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;If the biometric recognition-based photographing mode is performed, perform performing feature matching on the captured preview image and one or more images in the preset reference bio-image set to obtain one or more matching degrees;
若为常规拍照模式,则实时监测是否产生拍照确定操作,若是,则将所述预览图像存储为拍照图像。If it is the normal photographing mode, it is monitored in real time whether a photographing determination operation is generated, and if so, the preview image is stored as a photographing image.
其中可选地,所述将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度之前,还包括:Optionally, before the one or more images of the preview image and the preset reference biological image set are feature-matched to obtain one or more matching degrees, the method further includes:
显示所述基于生物特征识别的拍照模式的设置参数,以便选择所述设置参数中的图像匹配模式;其中,所述设置参数包括整体图像匹配模式和/或区域图像匹配模式。Displaying a setting parameter of the biometric-based photographing mode to select an image matching mode in the setting parameter; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode.
其中可选地,还包括:Optionally, the method further includes:
获取参考生物图像,并解析获取到的所述参考生物图像的特征信息;Obtaining a reference biological image, and parsing the acquired feature information of the reference biological image;
根据选择到的所述设置参数中的图像匹配模式,对解析到的所述参考生物图像的特征信息进行自适应学习,得到预置的参考生物图像集合。And adaptively learning the parsed feature information of the reference biological image according to the image matching mode in the selected setting parameter to obtain a preset reference biological image set.
其中可选地,所述获取参考生物图像,并解析获取到的所述参考生物图像的特征信息之前,还包括:Optionally, before the acquiring the reference biological image and parsing the acquired feature information of the reference biological image, the method further includes:
发出提示信息,所述提示信息用于提示用户是否选择导入参考生物图像;Sending a prompt message, the prompt information is used to prompt the user whether to select to import the reference biological image;
若接收到用于指示选择导入参考生物图像的指令时,则执行所述获取参考生物图像,并解析获取到的所述参考生物图像的特征信息。If an instruction for instructing selection to import the reference biological image is received, the acquiring the reference biological image is performed, and the acquired feature information of the reference biological image is parsed.
其中可选地,所述将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度,包括:Optionally, the matching the captured preview image and the one or more images in the preset reference biological image set to perform one or more matching degrees, including:
根据选择到的所述设置参数中的图像匹配模式,对采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。Performing feature matching on the captured preview image and one or more images in the preset reference biological image set according to the image matching mode in the selected setting parameter to obtain one or more matching degrees.
其中可选地,所述方法还包括:Optionally, the method further includes:
若匹配度不超过预设阈值,则发送用于提示重新设置预置的参考生物图像集合或者重新调整拍照姿势的提示消息。 If the matching degree does not exceed the preset threshold, a prompt message for prompting to reset the preset reference biological image set or re-adjusting the photographing posture is sent.
本发明实施例第二方面公开提供了一种拍照处理的装置,所述装置包括:The second aspect of the embodiments of the present invention provides an apparatus for photographing processing, where the apparatus includes:
采集模块,用于当检测到拍照事件时,采集预览图像;An acquisition module, configured to collect a preview image when a photographing event is detected;
匹配模块,用于将所述采集模块采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;a matching module, configured to perform feature matching on the preview image collected by the collection module and one or more images in a preset reference biological image set to obtain one or more matching degrees;
拍照模块,用于若所述匹配模块中得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。The photographing module is configured to trigger a photographing determining operation to store the preview image as a photographing image if a matching degree exceeding a preset threshold exists in each matching degree obtained in the matching module.
其中可选地,所述装置还包括:Optionally, the device further includes:
检测模块,用于检测通信终端当前的拍照模式;若检测模块检测为基于生物特征识别的拍照模式,则通知所述匹配模块;a detecting module, configured to detect a current photographing mode of the communication terminal; and if the detecting module detects the photographing mode based on the biometric identification, notifying the matching module;
若检测模块检测为常规拍照模式,则所述检测模块还用于,实时监测是否产生拍照确定操作,若是,则通知所述拍照模块将所述预览图像存储为拍照图像。If the detecting module detects the normal photographing mode, the detecting module is further configured to monitor whether a photographing determining operation is generated in real time, and if yes, notify the photographing module to store the preview image as a photographing image.
其中可选地,所述装置还包括:Optionally, the device further includes:
显示模块,用于显示所述基于生物特征识别的拍照模式的设置参数,以便选择所述设置参数中的图像匹配模式;其中,所述设置参数包括整体图像匹配模式和/或区域图像匹配模式。And a display module, configured to display a setting parameter of the biometric-based photographing mode, so as to select an image matching mode in the setting parameter; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode.
其中可选地,所述装置还包括:Optionally, the device further includes:
获取解析模块,用于获取参考生物图像,并解析获取到的所述参考生物图像的特征信息;Obtaining a parsing module, configured to acquire a reference biometric image, and parse the acquired feature information of the reference biometric image;
学习模块,用于根据所述显示模块选择到的所述设置参数中的图像匹配模式,对所述获取解析模块解析到的所述参考生物图像的特征信息进行自适应学习,得到预置的参考生物图像集合。a learning module, configured to perform adaptive learning on the feature information of the reference biological image parsed by the acquisition parsing module according to an image matching mode in the setting parameter selected by the display module, to obtain a preset reference Biological image collection.
其中可选地,所述装置还包括:Optionally, the device further includes:
发送模块,用于发出提示信息,所述提示信息用于提示用户是否选择导入参考生物图像;若接收到用于指示选择导入参考生物图像的指令时,则通知所述获取解析模块。The sending module is configured to send prompt information, where the prompt information is used to prompt the user to select to import the reference biological image; and if the instruction for instructing to select to import the reference biological image is received, the obtaining the parsing module is notified.
其中可选地,Optionally,
所述匹配模块,具体用于根据所述显示模块选择到的所述设置参数中的图像匹配模式,对采集到的所述预览图像和预置的参考生物图像集合中的一个或 多个图像进行特征匹配,得到一个或多个匹配度。The matching module is specifically configured to: according to an image matching mode in the setting parameter selected by the display module, one of the collected preview image and a preset reference biological image set or Multiple images are feature matched to obtain one or more matching degrees.
其中可选地,Optionally,
所述发送模块,还用于若匹配模块得到的匹配度不超过预设阈值,则发送用于提示重新设置预置的参考生物图像集合或者重新调整拍照姿势的提示消息。The sending module is further configured to: if the matching degree obtained by the matching module does not exceed a preset threshold, send a prompt message for prompting to reset the preset reference biological image set or re-adjust the photographing posture.
本发明实施例第三方面公开提供了一种通信终端,包括通信总线、输入装置、输出装置、存储器以及处理器,其中:A third aspect of the embodiments of the present invention provides a communication terminal, including a communication bus, an input device, an output device, a memory, and a processor, where:
所述通信总线,用于实现所述输入装置、输出装置、存储器以及处理器之间的连接通信;The communication bus is configured to implement connection communication between the input device, the output device, the memory, and the processor;
所述输入装置,用于采集预览图像;The input device is configured to collect a preview image;
所述输出装置,用于显示基于生物特征识别的拍照模式的设置参数;The output device is configured to display a setting parameter of a photo feature based on a biometric recognition;
所述存储器中存储一组程序代码,且所述通信终端调用所述存储器中存储的程序代码,用于执行以下操作:The program stores a set of program codes, and the communication terminal calls program code stored in the memory to perform the following operations:
当检测到拍照事件时,所述输入装置采集预览图像;The input device collects a preview image when a photographing event is detected;
所述处理器将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;The processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees;
若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,所述处理器将所述预览图像存储为拍照图像。If there is a matching degree exceeding a preset threshold in each of the obtained matching degrees, the photographing determining operation is triggered, and the processor stores the preview image as a photographing image.
可选的,所述处理器将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度之前,还包括:Optionally, the processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees, and further includes:
所述处理器检测通信终端当前的拍照模式;The processor detects a current photographing mode of the communication terminal;
若为基于生物特征识别的拍照模式,则所述处理器执行所述将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;If the biometric recognition-based photographing mode is performed, the processor performs the feature matching on the one or more images of the preview image and the preset reference bio-image set to obtain one or more suitability;
若为常规拍照模式,则所述输入装置实时监测是否产生拍照确定操作,若是,则将所述预览图像存储为拍照图像。If it is the normal photographing mode, the input device monitors in real time whether a photographing determination operation is generated, and if so, stores the preview image as a photographed image.
可选的,所述处理器将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度之前,还包括:Optionally, the processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees, and further includes:
所述输出装置显示所述基于生物特征识别的拍照模式的设置参数,以便选 择所述设置参数中的图像匹配模式;其中,所述设置参数包括整体图像匹配模式和/或区域图像匹配模式。The output device displays setting parameters of the biometric-based photographing mode for selection An image matching mode in the setting parameter is selected; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode.
可选的,还包括:Optionally, it also includes:
所述处理器获取参考生物图像,并解析获取到的所述参考生物图像的特征信息;The processor acquires a reference biological image, and parses the acquired feature information of the reference biological image;
所述处理器根据选择到的所述设置参数中的图像匹配模式,对解析到的所述参考生物图像的特征信息进行自适应学习,得到预置的参考生物图像集合。And the processor performs adaptive learning on the parsed feature information of the reference biological image according to the image matching mode in the selected setting parameter to obtain a preset reference biological image set.
可选的,所述处理器获取参考生物图像,并解析获取到的所述参考生物图像的特征信息之前,还包括:Optionally, before the processor acquires the reference biological image and parses the acquired feature information of the reference biological image, the method further includes:
所述输出装置发出提示信息,所述提示信息用于提示用户是否选择导入参考生物图像;The output device sends a prompt message, where the prompt information is used to prompt the user whether to select to import the reference biological image;
若所述输入装置接收到用于指示选择导入参考生物图像的指令时,则执行所述处理器获取参考生物图像,并解析获取到的所述参考生物图像的特征信息。And if the input device receives an instruction for instructing selection to import the reference biological image, executing the processor to acquire the reference biological image, and parsing the acquired feature information of the reference biological image.
可选的,所述处理器将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度,包括:Optionally, the processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees, including:
所述处理器根据选择到的所述设置参数中的图像匹配模式,对采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。Performing, by the processor, feature matching on the captured preview image and one or more images in the preset reference biological image set according to the image matching mode in the selected setting parameter, to obtain one or more suitability.
可选的,若匹配度不超过预设阈值,则所述输出装置发送用于提示重新设置预置的参考生物图像集合或者重新调整拍照姿势的提示消息。Optionally, if the matching degree does not exceed the preset threshold, the output device sends a prompt message for prompting to reset the preset reference biological image set or re-adjusting the photographing posture.
本发明实施例可通过在检测到拍照事件时,采集预览图像,将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度,若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。这样对采集到的预览照片进行了选择,更高效快捷地获得拍照图像,提升了拍照处理的方便性和快捷性,同时也实现了拍照处理的自动化、智能化,减少了用户操作,省时省力。In the embodiment of the present invention, when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. If a matching degree exceeding a preset threshold exists in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will be implemented BRIEF DESCRIPTION OF THE DRAWINGS The drawings, which are used in the description or the description of the prior art, are briefly described. It is obvious that the drawings in the following description are only some embodiments of the present invention, and no one skilled in the art Other drawings can also be obtained from these drawings.
图1是本发明实施例的一种拍照处理方法的流程示意图;1 is a schematic flow chart of a photographing processing method according to an embodiment of the present invention;
图2是本发明实施例的另一种拍照处理方法的流程示意图;2 is a schematic flow chart of another photographing processing method according to an embodiment of the present invention;
图3是本发明公开的一种生成预置的参考生物图像集合的流程示意图;3 is a schematic flow chart of generating a preset reference biological image set according to the present disclosure;
图4是本发明公开另一种生成预置的参考生物图像集合的流程示意图;4 is a schematic flow chart of another method for generating a preset reference biological image set according to the present disclosure;
图5是本发明实施例的一种拍照处理装置的结构示意图;FIG. 5 is a schematic structural diagram of a photographing processing apparatus according to an embodiment of the present invention; FIG.
图6是本发明实施例的一种拍照处理装置的结构示意图;FIG. 6 is a schematic structural diagram of a photographing processing apparatus according to an embodiment of the present invention; FIG.
图7是本发明实施例的一种通信终端的结构示意图。FIG. 7 is a schematic structural diagram of a communication terminal according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种处理结果的展示方法及装置,以期可以对关键词进行快速搜索,获取用户最想得到的结果信息,操作简单,效率高。The embodiment of the invention provides a method and a device for displaying the processing result, so as to perform a quick search on the keyword and obtain the result information that the user most wants, which is simple in operation and high in efficiency.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。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. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、***、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" and the like in the specification and claims of the present invention and the above drawings are used to distinguish different objects, and are not intended to describe a specific order. Moreover, the term "comprise" and any variants thereof are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units not listed, or alternatively Other steps or units inherent to these processes, methods, products or equipment.
请参见图1,是本发明实施例的一种拍照处理方法的流程示意图,本发明实施例的所述方法可以应用在诸如智能手机、平板电脑、智能可穿戴设备等带通信网络功能的终端中,具体可由这些通信终端的处理器来实现。本发明实施例的所述方法还包括如下步骤。 FIG. 1 is a schematic flowchart of a photographing processing method according to an embodiment of the present invention. The method in the embodiment of the present invention can be applied to a terminal with a communication network function, such as a smart phone, a tablet computer, and a smart wearable device. Specifically, it can be implemented by a processor of these communication terminals. The method of the embodiment of the invention further includes the following steps.
S101、当检测到拍照事件时,采集预览图像。S101. When a photographing event is detected, a preview image is acquired.
本发明实施例中,通信终端在检测用户开启本终端的摄像头时,利用本终端的摄像头拍摄采集预览图像。In the embodiment of the present invention, when detecting that the user turns on the camera of the terminal, the communication terminal uses the camera of the terminal to capture and collect the preview image.
所述通信终端可以包括个人电脑、智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑、移动互联网设备(MID,Mobile Internet Devices)或穿戴式智能设备等互联网设备,本发明实施例不作限定。The communication terminal may include an Internet device such as a personal computer, a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palmtop computer, a mobile Internet device (MID), or a wearable smart device, and the embodiment of the present invention Not limited.
S102、将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。S102. Perform feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees.
本发明实施例中,通信终端可以检测本终端当前所处的拍照模式,若检测到当前拍照模式为基于生物特征识别的拍照模式时,所述通信终端将S101采集到的预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;若检测到当前拍照模式为常规拍照模式,则所述通信终端实时监测是否产生拍照确定操作,若是,则将所述预览图像存储为拍照图像。In the embodiment of the present invention, the communication terminal can detect the current photographing mode of the terminal, and if the current photographing mode is detected as the biometric-based photographing mode, the communication terminal compares the preview image and the preset image collected by S101. Performing feature matching on one or more images in the set of biometric images to obtain one or more matching degrees; if it is detected that the current photographing mode is a normal photographing mode, the communication terminal monitors whether a photographing determination operation is generated in real time, and if so, The preview image is stored as a photographed image.
所述生物特征识别可以为指纹信息、虹膜信息、巩膜信息、人脸特征信息中的一种或多种生物特征识别,或者其他的生物识别特征信息,本发明实施例不作限定。The biometric identification may be one or more biometrics of the fingerprint information, the iris information, the scleral information, and the facial feature information, or other biometric feature information, which is not limited by the embodiment of the present invention.
其中,通信终端还可以在本终端显示界面上显示所述基于生物特征识别的拍照模式的设置参数,以供用户对所述设置参数中的图像匹配模式进行选择;其中,所述设置参数包括整体图像匹配模式和/或区域图像匹配模式。The communication terminal may further display the setting parameter of the biometric-based photographing mode on the display interface of the terminal, so that the user selects an image matching mode in the setting parameter; wherein the setting parameter includes the whole Image matching mode and/or area image matching mode.
所述整体图像匹配模式可以指提取图像所有的特征信息和预置的参考生物图像集合中的一个或多个图像进行特征匹配进行特征匹配,所述区域图像匹配模式可以指提取图像指定区域/部分的特征信息和预置的参考生物图像集合中的一个或多个图像进行特征匹配进行特征匹配。The overall image matching mode may refer to extracting all the feature information of the image and one or more images in the preset reference biological image set for feature matching, and the region image matching mode may refer to extracting the specified region/portion of the image. The feature information is matched with one or more images in the preset reference biological image set for feature matching.
其中,通信终端可以根据用户选择到的所述设置参数中的图像匹配模式,对S101采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。The communication terminal may perform feature matching on the one or more images in the preview image collected by S101 and the preset reference biological image set according to an image matching mode in the setting parameter selected by the user, to obtain a feature. Or multiple matches.
其中,所述预置的参考生物图像集合具体的实现方式可以为:通信终端获取参考生物图像,并解析获取到的所述参考生物图像的特征信息,所述通信终 端根据用户选择到的所述设置参数中的图像匹配模式,对解析到的所述参考生物图像的特征信息进行自适应学习,得到预置的参考生物图像集合,所述预置的参考生物图像集合至少包括一个参考生物图像。The specific implementation manner of the preset reference bio-image set may be: the communication terminal acquires the reference bio-image, and parses the acquired feature information of the reference bio-image, where the communication ends And performing adaptive learning on the parsed feature information of the reference biological image according to the image matching mode selected by the user, to obtain a preset reference biological image set, and the preset reference biological image The collection includes at least one reference biological image.
其中,通信终端还可以发出提示信息,所述提示信息用于提示用户是否选择导入参考生物图像;若所述通信终端接收到用户导入的参考生物图像,则解析接收到的所述参考生物图像;若所述通信终端没有接收到用户导入的参考生物图像,则所述通信终端从本终端默认存在的参考生物图像文件夹中提取并解析参考生物图像。The communication terminal may also send prompt information, where the prompt information is used to prompt the user to select to import the reference biological image; if the communication terminal receives the reference biological image imported by the user, parse the received reference biological image; If the communication terminal does not receive the reference biometric image imported by the user, the communication terminal extracts and parses the reference biometric image from the reference biometric image folder that is present by the terminal by default.
S103、若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。S103. If there is a matching degree exceeding a preset threshold in each obtained matching degree, triggering a photographing determining operation, and storing the preview image as a photographing image.
本发明实施例中,通信终端可以判断S102中得到的各个匹配度是否存在一个超过预设阈值的匹配度,若存在,则所述通信终端触发拍照确定操作,将S101采集到的预览图像保存为最终的拍照图像。In the embodiment of the present invention, the communication terminal may determine whether each matching degree obtained in S102 has a matching degree exceeding a preset threshold. If yes, the communication terminal triggers a photographing determining operation, and saves the preview image collected by S101 as The final photo image.
基于生物特征识别的拍照模式的设置参数还可以包括预设匹配度阈值,及上述预设阈值可以根据用户实际需要或喜爱进行设置或更改,或者上述预设阈值为定值(如85%),本发明实施例不作限定。The setting parameter of the biometric recognition-based photographing mode may further include a preset matching degree threshold, and the preset threshold may be set or changed according to actual needs or preferences of the user, or the preset threshold is a fixed value (eg, 85%). The embodiment of the invention is not limited.
其中,若通信终端判断到S102中得到的各个匹配度不存在一个超过预设阈值的匹配度,则所述通信终端可以发送一个或多个提示信息,所述提示信息用于提示用户需要重新设置预置的参考生物图像集合或者重新选择设置参数中的图像匹配模式或者调整拍照姿势。If the communication terminal determines that the matching degree obtained in S102 does not have a matching degree exceeding a preset threshold, the communication terminal may send one or more prompt information, where the prompt information is used to prompt the user to reset. Preset the reference biometric image set or reselect the image matching mode in the setting parameters or adjust the photo taking posture.
本发明实施例可通过在检测到拍照事件时,采集预览图像,将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度,若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。这样对采集到的预览照片进行了选择,更高效快捷地获得拍照图像,提升了拍照处理的方便性和快捷性,同时也实现了拍照处理的自动化、智能化,减少了用户操作,省时省力。In the embodiment of the present invention, when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. If a matching degree exceeding a preset threshold exists in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
再请参见图2,是本发明实施例的另一种拍照处理方法的流程示意图,本发明实施例的所述方法可以应用在诸如智能手机、平板电脑、智能可穿戴设备 等带通信网络功能的终端中,具体可由这些通信终端的处理器来实现。本发明实施例的所述方法还包括如下步骤。2 is a schematic flowchart of another method for photographing processing according to an embodiment of the present invention. The method of the embodiment of the present invention can be applied to, for example, a smart phone, a tablet, and a smart wearable device. The terminals of the communication network function may be specifically implemented by the processors of the communication terminals. The method of the embodiment of the invention further includes the following steps.
S201、当检测到拍照事件时,采集预览图像。S201. When a photographing event is detected, a preview image is acquired.
S202、检测通信终端当前的拍照模式。S202. Detect a current photographing mode of the communication terminal.
S203、若为常规拍照模式,则实时监测是否产生拍照确定操作,若是,则将所述预览图像存储为拍照图像。S203. If it is a normal photographing mode, it is monitored in real time whether a photographing determination operation is generated, and if so, the preview image is stored as a photographing image.
本发明实施例中,通信终端检测到当前的拍照模式处于常规拍照模式时,所述通信终端实时检测本终端是否接收到拍照确定指令或者产生拍照确定操作,若本终端检测到拍照确定操作或拍照确定指令时,本终端将S201采集到预览图像存储为确定为最终的拍照图像。In the embodiment of the present invention, when the communication terminal detects that the current photographing mode is in the normal photographing mode, the communication terminal detects whether the terminal receives the photographing determination instruction or generates the photographing determination operation in real time, and if the terminal detects the photographing determination operation or photographing When the instruction is determined, the terminal stores the preview image collected by S201 as the final photographed image.
S204、若为基于生物特征识别的拍照模式,显示所述基于生物特征识别的拍照模式的设置参数,以便选择所述设置参数中的图像匹配模式;其中,所述设置参数包括整体图像匹配模式和/或区域图像匹配模式。S204. If it is a biometric-based photographing mode, display setting parameters of the biometric-based photographing mode, so as to select an image matching mode in the setting parameter; wherein the setting parameter includes an overall image matching mode and / or area image matching mode.
本发明实施例中,通信终端检测到当前的拍照模式处于基于生物识别的拍照模式时,在本终端的显示界面上显示所述拍照模式的设置参数,以便用户对终端显示界面上的设置参数进行设置或修改。In the embodiment of the present invention, when the communication terminal detects that the current photographing mode is in the biometric-based photographing mode, the setting parameter of the photographing mode is displayed on the display interface of the terminal, so that the user performs the setting parameter on the terminal display interface. Set or modify.
所述设置参数可以包括图像匹配模式、匹配度阈值、分辨率、焦距、或者其他拍照参数,本发明实施例不作限定。The setting parameters may include an image matching mode, a matching degree threshold, a resolution, a focal length, or other photographing parameters, which are not limited in the embodiment of the present invention.
所述图像匹配模式可以包括整体图像匹配模式和区域图像匹配模式,或者其他图像匹配模式,本发明实施例不作限定。The image matching mode may include an overall image matching mode and an area image matching mode, or other image matching modes, which are not limited in the embodiment of the present invention.
所述整体图像匹配模式可以指提取图像所有的特征信息和预置的参考生物图像集合中的一个或多个图像进行特征匹配进行特征匹配,所述区域图像匹配模式可以指提取图像指定区域/部分的特征信息和预置的参考生物图像集合中的一个或多个图像进行特征匹配进行特征匹配。The overall image matching mode may refer to extracting all the feature information of the image and one or more images in the preset reference biological image set for feature matching, and the region image matching mode may refer to extracting the specified region/portion of the image. The feature information is matched with one or more images in the preset reference biological image set for feature matching.
S205、发出提示信息,所述提示信息用于提示用户是否选择导入参考生物图像。S205. Send a prompt message, where the prompt information is used to prompt the user whether to select to import the reference biological image.
S206、若接收到用于指示选择导入参考生物图像的指令时,则获取参考生物图像,并解析获取到的所述参考生物图像的特征信息。S206. If an instruction for instructing selection to import the reference biological image is received, acquiring the reference biological image, and parsing the acquired feature information of the reference biological image.
本发明实施例中,当通信终端检测到用户选择导入参考生物图像时,本终 端接收用户导入的参考生物图像,并解析出所述参考生物图像的特征信息;当通信终端没检测到有参考生物图像导入时,本终端从本地的参考生物图像文件夹中选取参考生物图像,并解析出所述参考生物图像的特征信息。其中,用户可以通过按选择按钮来导入或者选取参考生物图像,用户还可以通过点击选择按钮来预览获取到的参考生物图像。In the embodiment of the present invention, when the communication terminal detects that the user selects to import the reference biological image, the terminal ends The terminal receives the reference biological image imported by the user, and parses out the feature information of the reference biological image; when the communication terminal does not detect the reference biological image import, the terminal selects the reference biological image from the local reference biological image folder, And parsing the feature information of the reference biological image. The user can import or select the reference biological image by pressing the selection button, and the user can also preview the acquired reference biological image by clicking the selection button.
当生物特征识别为人脸特征识别时,通信终端接收到用户导入的脸部特征参考图像,所述脸部特征参考图像可以包括单人脸部特征图像、两人脸部特征图像、两人以上脸部特征图像,其中,在通信终端选取两人以上脸部特征图像作为参考生物图像时,在进行解析所述参考生物图像的特征信息时,选取两人以上脸部特征图像中最明显(头像最大)的人脸头像进行解析最后作为所述参考生物图像的特征信息。When the biometric feature is recognized as facial feature recognition, the communication terminal receives the facial feature reference image imported by the user, and the facial feature reference image may include a single facial feature image, a two-person facial feature image, and two or more faces. a feature image in which, when the communication terminal selects two or more facial feature images as the reference biological image, when analyzing the feature information of the reference biological image, the most prominent one of the facial features is selected. The face avatar is parsed and finally used as the feature information of the reference biological image.
S207、根据选择到的所述设置参数中的图像匹配模式,对解析到的所述参考生物图像的特征信息进行自适应学习,得到预置的参考生物图像集合。S207. Perform adaptive learning on the parsed feature information of the reference biological image according to the image matching mode in the selected setting parameter to obtain a preset reference biological image set.
本发明实施例中,所述预置的参考生物图像集合可以是通信终端根据S204用户选择到的图像匹配模式,对S206解析到的所述参考生物图像的特征信息进行学习得到的,也可以是用户自定义的,或者通信终端中默认存在的,本发明实施例不作要求。In the embodiment of the present invention, the preset reference biological image set may be obtained by the communication terminal learning the feature information of the reference biological image parsed by S206 according to the image matching mode selected by the user in S204, or may be The user-defined, or default, communication terminal does not require the embodiment of the present invention.
下面结合图3和图4进行进一步详细阐述,图3给出了一种生成预置的参考生物图像集合的流程示意图。假设用户选择的图像匹配模式为整体图像匹配,当通信终端接收到用户导入的参考生物图像时,所述通信终端解析出接收到的所述参考生物图像的特征信息(如图3(a)),通信终端根据整体图像匹配模式对解析到的所述参考生物图像的特征信息(如图3(a))进行自适应学习,得到预置的参考生物图像集合(如图3(b))。This will be further elaborated below with reference to Figures 3 and 4, which show a flow diagram for generating a preset set of reference biological images. It is assumed that the image matching mode selected by the user is an overall image matching. When the communication terminal receives the reference biological image imported by the user, the communication terminal parses the received feature information of the reference biological image (as shown in FIG. 3( a )). The communication terminal performs adaptive learning on the parsed feature information of the reference biological image (as shown in FIG. 3( a )) according to the overall image matching mode to obtain a preset reference biological image set ( FIG. 3( b )).
图4给出了另一种生成预置的参考生物图像集合的流程示意图。假设用户选择的图像匹配模式为区域图像匹配,通信终端可以根据用户根据需求或喜好从参考生物图像中选取部分区域进行解析得到相应区域部位的特征信息或者通信终端可以解析出参考生物图像的全部特征信息从解析出的参考生物图像的特征信息中提取预置区域或用户自定义区域的特征信息,通信终端根据区域图像匹配模式对获得部分区域的特征信息进行自适应学习,得到相对应地预置 的参考生物图像集合。如图4(a)给出了通信终端对参考生物图像眼部特征进行自适应学习得到的眼部特征参考图像集合;如图4(b)给出了通信终端对参考生物图像鼻部特征进行自适应学习得到的鼻部特征参考图像集合;如图4(c)给出了通信终端对参考生物图像嘴部特征进行自适应学习得到的嘴部特征参考图像集合。Figure 4 shows another flow diagram for generating a preset set of reference biological images. Assuming that the image matching mode selected by the user is regional image matching, the communication terminal may select the partial region from the reference biological image according to the user's needs or preferences to obtain the feature information of the corresponding regional portion or the communication terminal may parse all the features of the reference biological image. The information extracts feature information of the preset area or the user-defined area from the parsed feature information of the reference biological image, and the communication terminal adaptively learns the feature information of the obtained partial area according to the area image matching mode to obtain a corresponding preset. A collection of reference biological images. As shown in FIG. 4(a), an eye feature reference image set obtained by adaptively learning the reference biological image eye feature by the communication terminal is shown; FIG. 4(b) shows the communication terminal performing the reference biological image nose feature. The nose feature reference image set obtained by adaptive learning is obtained; as shown in FIG. 4(c), the mouth feature reference image set obtained by the communication terminal adaptively learning the reference biological image mouth feature is given.
S208、根据选择到的所述设置参数中的图像匹配模式,对采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。S208. Perform feature matching on the collected preview image and one or more images in the preset reference biological image set according to the image matching mode in the selected setting parameter, to obtain one or more matching degrees. .
本发明实施例中,通信终端根据S204用户选择到的图像匹配模式,对S201采集到的预览图像与S207得到的预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。In the embodiment of the present invention, the communication terminal performs feature matching on one or more images in the preset reference biological image set obtained by S201 according to the image matching mode selected by the user in S204 to obtain one or Multiple matches.
具体实现中,通信终端解析出预览图像的特征信息和预置的参考生物图像集合中的部分或者全部图像的特征信息,所述通信终端将解析得到的预览图像的特征信息和预置的参考生物图像的特征信息进行匹配,得到对应的匹配度数值。In a specific implementation, the communication terminal parses the feature information of the preview image and the feature information of part or all of the preset reference biological image set, and the communication terminal parses the obtained feature information of the preview image and the preset reference organism. The feature information of the image is matched to obtain a corresponding matching degree value.
S209、若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。S209. If there is a matching degree exceeding a preset threshold in each obtained matching degree, triggering a photographing determining operation, and storing the preview image as a photographing image.
本发明实施例中,通信终端检测判断到若S208中得到的匹配度中有至少一个匹配度数值超过预设阈值,所述通信终端就确定拍照,将S201采集到的预览图像保存为拍照图像存放至本终端的本地数据中。In the embodiment of the present invention, the communication terminal detects that if at least one matching degree value in the matching degree obtained in S208 exceeds a preset threshold, the communication terminal determines to take a picture, and saves the preview image collected by S201 as a photo image storage. To the local data of the terminal.
S210、若匹配度不超过预设阈值,则发送用于提示重新设置预置的参考生物图像集合或者重新调整拍照姿势的提示消息。S210. If the matching degree does not exceed the preset threshold, send a prompt message for prompting to reset the preset reference biological image set or re-adjust the photographing posture.
本发明实施例中,通信终端检测判断到若S208中得到的匹配度中没有一个匹配度数值超过预设阈值,,那么通信终端可以发送提示消息,提示用户调整拍照姿势或者重新选择设置参数中的图像匹配模式,或者调整预置的参考生物图像集合。In the embodiment of the present invention, the communication terminal detects that if none of the matching degrees obtained in S208 exceeds a preset threshold, the communication terminal may send a prompt message to prompt the user to adjust the photographing posture or reselect the setting parameter. Image matching mode, or adjust the preset reference bio image collection.
本发明实施例可通过在检测到拍照事件时,采集预览图像,将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度,若得到的各个匹配度中存在一个超过预设阈值的匹配度, 则触发拍照确定操作,将所述预览图像存储为拍照图像。这样对采集到的预览照片进行了选择,更高效快捷地获得拍照图像,提升了拍照处理的方便性和快捷性,同时也实现了拍照处理的自动化、智能化,减少了用户操作,省时省力。In the embodiment of the present invention, when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. Degree, if there is a matching degree exceeding the preset threshold in each matching degree obtained, Then, a photographing determination operation is triggered, and the preview image is stored as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
下面对本发明实施例的拍照处理装置进行详细描述。The photographing processing apparatus of the embodiment of the present invention will be described in detail below.
请参见图5,是本发明实施例的一种拍照处理装置的结构示意图,本发明实施例的所述装置可设置在在诸如智能手机、平板电脑、智能可穿戴设备等带通信网络功能的终端中,所述装置5具体可以包括如下模块。FIG. 5 is a schematic structural diagram of a photographing processing apparatus according to an embodiment of the present invention. The apparatus of the embodiment of the present invention may be disposed in a terminal with a communication network function, such as a smart phone, a tablet computer, and a smart wearable device. The device 5 may specifically include the following modules.
采集模块60,用于当检测到拍照事件时,采集预览图像;The collecting module 60 is configured to collect a preview image when a photographing event is detected;
匹配模块61,用于将所述采集模块60采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;The matching module 61 is configured to perform feature matching on the preview image collected by the collection module 60 and one or more images in the preset reference biological image set to obtain one or more matching degrees;
拍照模块62,用于若所述匹配模块61中得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。The photographing module 62 is configured to trigger a photographing determination operation to store the preview image as a photographed image if there is a matching degree exceeding a preset threshold in each matching degree obtained in the matching module 61.
在所述采集模块60采集到预览图像之后,所述匹配模块61将预览图像与预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到相应地一个或多个匹配度,拍照模块62在判断到匹配模块61得到的匹配度中存在一个匹配度超过预设阈值,则所述拍照模块62触发本终端拍照确定操作,将采集模块60采集到的预览图像存储为拍照图像。After the acquisition module 60 acquires the preview image, the matching module 61 performs feature matching on the one or more images in the preset reference biological image set to obtain one or more matching degrees, and takes a photo. When the module 62 determines that the matching degree obtained by the matching module 61 exceeds the preset threshold, the photographing module 62 triggers the photographing determination operation of the terminal, and stores the preview image collected by the collecting module 60 as a photographing image.
本发明实施例可通过在检测到拍照事件时,采集预览图像,将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度,若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。这样对采集到的预览照片进行了选择,更高效快捷地获得拍照图像,提升了拍照处理的方便性和快捷性,同时也实现了拍照处理的自动化、智能化,减少了用户操作,省时省力。In the embodiment of the present invention, when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. If a matching degree exceeding a preset threshold exists in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
需要说明的是,上述实施例提供的拍照处理装置在进行拍照处理设置时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将移动通讯终端的内部结构划分成不同的功能模块,以完成描述的全部或部分功能。另外,上述实施例提供的拍照处理的装置与图1提供的本发明实施例中的一种拍照处理的方法属于同一构思, 其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the photographing processing apparatus provided in the foregoing embodiment performs the photographing processing setting, only the division of each functional module described above is illustrated. In actual applications, the function allocation may be completed by different functional modules as needed. The internal structure of the mobile communication terminal is divided into different functional modules to complete all or part of the functions described. In addition, the apparatus for photographing processing provided by the above embodiment is the same as the method of photographing processing in the embodiment of the present invention provided in FIG. For details of the implementation process, refer to the method embodiment, which is not described here.
再请参见图6,是本发明实施例的一种拍照处理装置的结构示意图,本发明实施例的所述装置可设置在在诸如智能手机、平板电脑、智能可穿戴设备等带通信网络功能的终端中,所述装置6包括上述实施例中的采集模块60、匹配模块61以及配拍照模块62。Referring to FIG. 6 , it is a schematic structural diagram of a photographing processing device according to an embodiment of the present invention. The device in the embodiment of the present invention may be disposed in a communication network function such as a smart phone, a tablet computer, or a smart wearable device. In the terminal, the device 6 includes the acquisition module 60, the matching module 61, and the camera module 62 in the above embodiment.
进一步可选地,在本发明实施例中,所述装置还可以包括:Further optionally, in the embodiment of the present invention, the device may further include:
检测模块63,用于检测通信终端当前的拍照模式;若检测模块63检测为基于生物特征识别的拍照模式,则通知所述匹配模块61;The detecting module 63 is configured to detect a current photographing mode of the communication terminal; if the detecting module 63 detects the photographing mode based on the biometric identification, the matching module 61 is notified;
若检测模块63检测为常规拍照模式,则所述检测模块63还用于,实时监测是否产生拍照确定操作,若是,则通知所述拍照模块62将所述预览图像存储为拍照图像。If the detection module 63 detects the normal photographing mode, the detecting module 63 is further configured to monitor whether a photographing determination operation is generated in real time, and if so, notify the photographing module 62 to store the preview image as a photographing image.
进一步可选地,在本发明实施例中,所述装置还可以包括:Further optionally, in the embodiment of the present invention, the device may further include:
显示模块64,用于显示所述基于生物特征识别的拍照模式的设置参数,以便选择所述设置参数中的图像匹配模式;其中,所述设置参数包括整体图像匹配模式和/或区域图像匹配模式。a display module 64, configured to display a setting parameter of the biometric-based photographing mode, so as to select an image matching mode in the setting parameter; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode .
进一步可选地,在本发明实施例中,所述装置还可以包括:Further optionally, in the embodiment of the present invention, the device may further include:
获取解析模块65,用于获取参考生物图像,并解析获取到的所述参考生物图像的特征信息;The obtaining parsing module 65 is configured to acquire a reference biological image, and parse the acquired feature information of the reference biological image;
学习模块66,用于根据所述显示模块64选择到的所述设置参数中的图像匹配模式,对所述获取解析模块65解析到的所述参考生物图像的特征信息进行自适应学习,得到预置的参考生物图像集合。The learning module 66 is configured to perform adaptive learning on the feature information of the reference biological image parsed by the acquisition parsing module 65 according to an image matching mode in the setting parameter selected by the display module 64, to obtain a pre- Set of reference biometric images.
进一步可选地,在本发明实施例中,所述装置还可以包括:Further optionally, in the embodiment of the present invention, the device may further include:
发送模块67,用于发出提示信息,所述提示信息用于提示用户是否选择导入参考生物图像;The sending module 67 is configured to send prompt information, where the prompt information is used to prompt the user whether to select to import the reference biological image;
若接收到用于指示选择导入参考生物图像的指令时,则通知所述获取解析模块65。The acquisition parsing module 65 is notified if an instruction to instruct selection to import the reference biometric image is received.
进一步可选地,在本发明实施例中,所述匹配模块61,具体用于根据所述显示模块64选择到的所述设置参数中的图像匹配模式,对采集到的所述预 览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。Further, in the embodiment of the present invention, the matching module 61 is specifically configured to: according to the image matching mode in the setting parameter selected by the display module 64, the pre-collected The view image and one or more images in the preset reference bio-image set are feature-matched to obtain one or more matching degrees.
进一步可选地,在本发明实施例中,所述发送模块67,还用于若匹配模块61得到的匹配度不超过预设阈值,则发送用于提示重新设置预置的参考生物图像集合或者重新调整拍照姿势的提示消息。Further, in the embodiment of the present invention, the sending module 67 is further configured to: if the matching degree obtained by the matching module 61 does not exceed a preset threshold, send a reference biological image set for prompting to reset the preset or Re-adjust the prompt message for the photo pose.
需要说明的是,上述实施例提供的拍照处理装置在进行拍照处理设置时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将移动通讯终端的内部结构划分成不同的功能模块,以完成描述的全部或部分功能。另外,上述实施例提供的拍照处理装置与图2提供的本发明另一实施例中的拍照处理方法属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the photographing processing apparatus provided in the foregoing embodiment performs the photographing processing setting, only the division of each functional module described above is illustrated. In actual applications, the function allocation may be completed by different functional modules as needed. The internal structure of the mobile communication terminal is divided into different functional modules to complete all or part of the functions described. In addition, the photographing processing device provided in the above embodiment is the same as the photographing processing method in another embodiment of the present invention provided in FIG. 2 , and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
本发明实施例可通过在检测到拍照事件时,采集预览图像,将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度,若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。这样对采集到的预览照片进行了选择,更高效快捷地获得拍照图像,提升了拍照处理的方便性和快捷性,同时也实现了拍照处理的自动化、智能化,减少了用户操作,省时省力。In the embodiment of the present invention, when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. If a matching degree exceeding a preset threshold exists in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
为了便于更好地实施本发明实施例的上述方案,本发明还提供了用于配合实施上述方案的相关终端。下面结合图7示出的本发明提供的一种移通信终端的结构示意图,进行详细说明:In order to facilitate the implementation of the above solutions of the embodiments of the present invention, the present invention also provides related terminals for implementing the foregoing solutions. The following is a detailed description of the structure of a mobile communication terminal provided by the present invention, which is shown in FIG.
通信终端70可以包括:输入装置700、输出装置701、存储器702和处理器703(网络设备中的处理器703的数量可以是一个或多个,图7中以一个处理器为例)。本发明的一些实施例中,输入装置700、输出装置701、存储器702和处理器703可以通过总线或其他方式连接,其中,图7中以通过总线连接为例。The communication terminal 70 may include an input device 700, an output device 701, a memory 702, and a processor 703 (the number of processors 703 in the network device may be one or more, and one processor is exemplified in FIG. 7). In some embodiments of the present invention, the input device 700, the output device 701, the memory 702, and the processor 703 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
其中,所述处理器703可以用于调用存储器702中存储的数据更新程序,并执行如下步骤:The processor 703 can be used to invoke a data update program stored in the memory 702, and perform the following steps:
当检测到拍照事件时,采集预览图像; When a photographing event is detected, a preview image is acquired;
将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;Performing feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees;
若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。If there is a matching degree exceeding a preset threshold in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographing image.
本发明实施例中,处理器703可以用于调用存储器702中存储的数据更新程序,还可以执行如下步骤:In the embodiment of the present invention, the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
检测通信终端当前的拍照模式;Detecting a current photographing mode of the communication terminal;
若为基于生物特征识别的拍照模式,则执行所述将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;If the biometric recognition-based photographing mode is performed, perform performing feature matching on the captured preview image and one or more images in the preset reference bio-image set to obtain one or more matching degrees;
若为常规拍照模式,则实时监测是否产生拍照确定操作,若是,则将所述预览图像存储为拍照图像。If it is the normal photographing mode, it is monitored in real time whether a photographing determination operation is generated, and if so, the preview image is stored as a photographing image.
本发明实施例中,处理器703可以用于调用存储器702中存储的数据更新程序,还可以执行如下步骤:In the embodiment of the present invention, the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
显示所述基于生物特征识别的拍照模式的设置参数,以便选择所述设置参数中的图像匹配模式;其中,所述设置参数包括整体图像匹配模式和/或区域图像匹配模式。Displaying a setting parameter of the biometric-based photographing mode to select an image matching mode in the setting parameter; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode.
本发明实施例中,处理器703可以用于调用存储器702中存储的数据更新程序,还可以执行如下步骤:In the embodiment of the present invention, the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
获取参考生物图像,并解析获取到的所述参考生物图像的特征信息;Obtaining a reference biological image, and parsing the acquired feature information of the reference biological image;
根据选择到的所述设置参数中的图像匹配模式,对解析到的所述参考生物图像的特征信息进行自适应学习,得到预置的参考生物图像集合。And adaptively learning the parsed feature information of the reference biological image according to the image matching mode in the selected setting parameter to obtain a preset reference biological image set.
本发明实施例中,处理器703可以用于调用存储器702中存储的数据更新程序,还可以执行如下步骤:In the embodiment of the present invention, the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
发出提示信息,所述提示信息用于提示用户是否选择导入参考生物图像;Sending a prompt message, the prompt information is used to prompt the user whether to select to import the reference biological image;
若接收到用于指示选择导入参考生物图像的指令时,则执行所述获取参考生物图像,并解析获取到的所述参考生物图像的特征信息。If an instruction for instructing selection to import the reference biological image is received, the acquiring the reference biological image is performed, and the acquired feature information of the reference biological image is parsed.
本发明实施例中,处理器703可以用于调用存储器702中存储的数据更新程序,还可以执行如下步骤: In the embodiment of the present invention, the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
根据选择到的所述设置参数中的图像匹配模式,对采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。Performing feature matching on the captured preview image and one or more images in the preset reference biological image set according to the image matching mode in the selected setting parameter to obtain one or more matching degrees.
本发明实施例中,处理器703可以用于调用存储器702中存储的数据更新程序,还可以执行如下步骤:In the embodiment of the present invention, the processor 703 can be used to invoke the data update program stored in the memory 702, and can also perform the following steps:
若匹配度不超过预设阈值,则发送用于提示重新设置预置的参考生物图像集合或者重新调整拍照姿势的提示消息。If the matching degree does not exceed the preset threshold, a prompt message for prompting to reset the preset reference biological image set or re-adjusting the photographing posture is sent.
本发明实施例可通过在检测到拍照事件时,采集预览图像,将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度,若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。这样对采集到的预览照片进行了选择,更高效快捷地获得拍照图像,提升了拍照处理的方便性和快捷性,同时也实现了拍照处理的自动化、智能化,减少了用户操作,省时省力。In the embodiment of the present invention, when the photographing event is detected, the preview image is acquired, and the collected preview image and one or more images in the preset reference biological image set are feature-matched to obtain one or more matches. If a matching degree exceeding a preset threshold exists in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographed image. In this way, the collected preview photos are selected, the photograph images are obtained more efficiently and quickly, the convenience and speed of photographing processing are improved, and the photographing processing is automated and intelligent, thereby reducing user operations, saving time and effort. .
本发明实施例还提供一种计算机存储介质,其中,该计算机存储介质可存储有程序,该程序执行时包括上述方法实施例中记载的任何音频播放应用的操作方法的部分或全部步骤。The embodiment of the present invention further provides a computer storage medium, wherein the computer storage medium can store a program, and the program includes some or all of the steps of the operation method of any of the audio playback applications described in the foregoing method embodiments.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的 形式。In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical or otherwise. form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明的各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or some of the technical features are replaced by equivalents; and the modifications or substitutions do not deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims (21)

  1. 一种拍照处理的方法,其特征在于,所述方法包括:A method for photographing processing, characterized in that the method comprises:
    当检测到拍照事件时,采集预览图像;When a photographing event is detected, a preview image is acquired;
    将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;Performing feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees;
    若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。If there is a matching degree exceeding a preset threshold in each of the obtained matching degrees, the photographing determining operation is triggered to store the preview image as a photographing image.
  2. 如权利要求1所述的方法,其特征在于,所述将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度之前,还包括:The method according to claim 1, wherein said matching one or more of said acquired preview image and said preset reference biological image set to obtain one or more matching degrees ,Also includes:
    检测通信终端当前的拍照模式;Detecting a current photographing mode of the communication terminal;
    若为基于生物特征识别的拍照模式,则执行所述将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;If the biometric recognition-based photographing mode is performed, perform performing feature matching on the captured preview image and one or more images in the preset reference bio-image set to obtain one or more matching degrees;
    若为常规拍照模式,则实时监测是否产生拍照确定操作,若是,则将所述预览图像存储为拍照图像。If it is the normal photographing mode, it is monitored in real time whether a photographing determination operation is generated, and if so, the preview image is stored as a photographing image.
  3. 如权利要求1所述的方法,其特征在于,所述将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度之前,还包括:The method according to claim 1, wherein said matching one or more of said acquired preview image and said preset reference biological image set to obtain one or more matching degrees ,Also includes:
    显示所述基于生物特征识别的拍照模式的设置参数,以便选择所述设置参数中的图像匹配模式;其中,所述设置参数包括整体图像匹配模式和/或区域图像匹配模式。Displaying a setting parameter of the biometric-based photographing mode to select an image matching mode in the setting parameter; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode.
  4. 如权利要求3所述的方法,其特征在于,还包括:The method of claim 3, further comprising:
    获取参考生物图像,并解析获取到的所述参考生物图像的特征信息;Obtaining a reference biological image, and parsing the acquired feature information of the reference biological image;
    根据选择到的所述设置参数中的图像匹配模式,对解析到的所述参考生物图像的特征信息进行自适应学习,得到预置的参考生物图像集合。And adaptively learning the parsed feature information of the reference biological image according to the image matching mode in the selected setting parameter to obtain a preset reference biological image set.
  5. 如权利要求4所述的方法,其特征在于,所述获取参考生物图像,并解析获取到的所述参考生物图像的特征信息之前,还包括: The method of claim 4, wherein before the obtaining the reference biological image and parsing the acquired feature information of the reference biological image, the method further comprises:
    发出提示信息,所述提示信息用于提示用户是否选择导入参考生物图像;Sending a prompt message, the prompt information is used to prompt the user whether to select to import the reference biological image;
    若接收到用于指示选择导入参考生物图像的指令时,则执行所述获取参考生物图像,并解析获取到的所述参考生物图像的特征信息。If an instruction for instructing selection to import the reference biological image is received, the acquiring the reference biological image is performed, and the acquired feature information of the reference biological image is parsed.
  6. 如权利要求1或3所述的方法,其特征在于,所述将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度,包括:The method according to claim 1 or 3, wherein the matching the captured preview image with one or more images of the preset reference biological image set to perform one or more matching Degree, including:
    根据选择到的所述设置参数中的图像匹配模式,对采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。Performing feature matching on the captured preview image and one or more images in the preset reference biological image set according to the image matching mode in the selected setting parameter to obtain one or more matching degrees.
  7. 如权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 wherein the method further comprises:
    若匹配度不超过预设阈值,则发送用于提示重新设置预置的参考生物图像集合或者重新调整拍照姿势的提示消息。If the matching degree does not exceed the preset threshold, a prompt message for prompting to reset the preset reference biological image set or re-adjusting the photographing posture is sent.
  8. 一种拍照处理的装置,其特征在于,所述装置包括:A device for photographing processing, characterized in that the device comprises:
    采集模块,用于当检测到拍照事件时,采集预览图像;An acquisition module, configured to collect a preview image when a photographing event is detected;
    匹配模块,用于将所述采集模块采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;a matching module, configured to perform feature matching on the preview image collected by the collection module and one or more images in a preset reference biological image set to obtain one or more matching degrees;
    拍照模块,用于若所述匹配模块中得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定操作,将所述预览图像存储为拍照图像。The photographing module is configured to trigger a photographing determining operation to store the preview image as a photographing image if a matching degree exceeding a preset threshold exists in each matching degree obtained in the matching module.
  9. 如权利要求8所述的装置,其特征在于,所述装置还包括:The device of claim 8 further comprising:
    检测模块,用于检测通信终端当前的拍照模式;若检测模块检测为基于生物特征识别的拍照模式,则通知所述匹配模块;a detecting module, configured to detect a current photographing mode of the communication terminal; and if the detecting module detects the photographing mode based on the biometric identification, notifying the matching module;
    若检测模块检测为常规拍照模式,则所述检测模块还用于,实时监测是否产生拍照确定操作,若是,则通知所述拍照模块将所述预览图像存储为拍照图像。If the detecting module detects the normal photographing mode, the detecting module is further configured to monitor whether a photographing determining operation is generated in real time, and if yes, notify the photographing module to store the preview image as a photographing image.
  10. 如权利要求8所述的装置,其特征在于,所述装置还包括:The device of claim 8 further comprising:
    显示模块,用于显示所述基于生物特征识别的拍照模式的设置参数,以便选择所述设置参数中的图像匹配模式;其中,所述设置参数包括整体图像匹配模式和/或区域图像匹配模式。And a display module, configured to display a setting parameter of the biometric-based photographing mode, so as to select an image matching mode in the setting parameter; wherein the setting parameter comprises an overall image matching mode and/or an area image matching mode.
  11. 如权利要求10所述的装置,其特征在于,所述装置还包括: The device of claim 10, wherein the device further comprises:
    获取解析模块,用于获取参考生物图像,并解析获取到的所述参考生物图像的特征信息;Obtaining a parsing module, configured to acquire a reference biometric image, and parse the acquired feature information of the reference biometric image;
    学习模块,用于根据所述显示模块选择到的所述设置参数中的图像匹配模式,对所述获取解析模块解析到的所述参考生物图像的特征信息进行自适应学习,得到预置的参考生物图像集合。a learning module, configured to perform adaptive learning on the feature information of the reference biological image parsed by the acquisition parsing module according to an image matching mode in the setting parameter selected by the display module, to obtain a preset reference Biological image collection.
  12. 如权利要求11所述的装置,其特征在于,所述装置还包括:The device of claim 11 wherein said device further comprises:
    发送模块,用于发出提示信息,所述提示信息用于提示用户是否选择导入参考生物图像;若接收到用于指示选择导入参考生物图像的指令时,则通知所述获取解析模块。The sending module is configured to send prompt information, where the prompt information is used to prompt the user to select to import the reference biological image; and if the instruction for instructing to select to import the reference biological image is received, the obtaining the parsing module is notified.
  13. 如权利要求8或10所述的装置,其特征在于,A device according to claim 8 or 10, wherein
    所述匹配模块,具体用于根据所述显示模块选择到的所述设置参数中的图像匹配模式,对采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。The matching module is configured to perform, according to an image matching mode in the setting parameter selected by the display module, one or more images in the collected preview image and the preset reference biological image set. Feature matching, resulting in one or more matching degrees.
  14. 如权利要求8所述的装置,其特征在于,The device of claim 8 wherein:
    所述发送模块,还用于若匹配模块得到的匹配度不超过预设阈值,则发送用于提示重新设置预置的参考生物图像集合或者重新调整拍照姿势的提示消息。The sending module is further configured to: if the matching degree obtained by the matching module does not exceed a preset threshold, send a prompt message for prompting to reset the preset reference biological image set or re-adjust the photographing posture.
  15. 一种通信终端,其特征在于,包括通信总线、输入装置、输出装置、存储器以及处理器,其中:A communication terminal, comprising: a communication bus, an input device, an output device, a memory, and a processor, wherein:
    所述通信总线,用于实现所述输入装置、输出装置、存储器以及处理器之间的连接通信;The communication bus is configured to implement connection communication between the input device, the output device, the memory, and the processor;
    所述输入装置,用于采集预览图像;The input device is configured to collect a preview image;
    所述输出装置,用于显示基于生物特征识别的拍照模式的设置参数;The output device is configured to display a setting parameter of a photo feature based on a biometric recognition;
    所述存储器中存储一组程序代码,且所述通信终端调用所述存储器中存储的程序代码,用于执行以下操作:The program stores a set of program codes, and the communication terminal calls program code stored in the memory to perform the following operations:
    当检测到拍照事件时,所述输入装置采集预览图像;The input device collects a preview image when a photographing event is detected;
    所述处理器将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;The processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more matching degrees;
    若得到的各个匹配度中存在一个超过预设阈值的匹配度,则触发拍照确定 操作,所述处理器将所述预览图像存储为拍照图像。If there is a matching degree exceeding a preset threshold in each of the obtained matching degrees, the photographing determination is triggered. In operation, the processor stores the preview image as a photographed image.
  16. 如权利要求15所述的通信终端,其特征在于,所述处理器将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度之前,还包括:The communication terminal according to claim 15, wherein the processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more Before the match, it also includes:
    所述处理器检测通信终端当前的拍照模式;The processor detects a current photographing mode of the communication terminal;
    若为基于生物特征识别的拍照模式,则所述处理器执行所述将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度;If the biometric recognition-based photographing mode is performed, the processor performs the feature matching on the one or more images of the preview image and the preset reference bio-image set to obtain one or more suitability;
    若为常规拍照模式,则所述输入装置实时监测是否产生拍照确定操作,若是,则将所述预览图像存储为拍照图像。If it is the normal photographing mode, the input device monitors in real time whether a photographing determination operation is generated, and if so, stores the preview image as a photographed image.
  17. 如权利要求15所述的通信终端,其特征在于,所述处理器将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度之前,还包括:The communication terminal according to claim 15, wherein the processor performs feature matching on the captured preview image and one or more images in the preset reference biological image set to obtain one or more Before the match, it also includes:
    所述输出装置显示所述基于生物特征识别的拍照模式的设置参数,以便选择所述设置参数中的图像匹配模式;其中,所述设置参数包括整体图像匹配模式和/或区域图像匹配模式。The output device displays setting parameters of the biometric-based photographing mode to select an image matching mode in the setting parameter; wherein the setting parameter includes an overall image matching mode and/or an area image matching mode.
  18. 如权利要求17所述的通信终端,其特征在于,还包括:The communication terminal of claim 17, further comprising:
    所述处理器获取参考生物图像,并解析获取到的所述参考生物图像的特征信息;The processor acquires a reference biological image, and parses the acquired feature information of the reference biological image;
    所述处理器根据选择到的所述设置参数中的图像匹配模式,对解析到的所述参考生物图像的特征信息进行自适应学习,得到预置的参考生物图像集合。And the processor performs adaptive learning on the parsed feature information of the reference biological image according to the image matching mode in the selected setting parameter to obtain a preset reference biological image set.
  19. 如权利要求18所述的通信终端,其特征在于,所述处理器获取参考生物图像,并解析获取到的所述参考生物图像的特征信息之前,还包括:The communication terminal according to claim 18, wherein before the processor acquires the reference biological image and parses the acquired feature information of the reference biological image, the method further includes:
    所述输出装置发出提示信息,所述提示信息用于提示用户是否选择导入参考生物图像;The output device sends a prompt message, where the prompt information is used to prompt the user whether to select to import the reference biological image;
    若所述输入装置接收到用于指示选择导入参考生物图像的指令时,则执行所述处理器获取参考生物图像,并解析获取到的所述参考生物图像的特征信息。And if the input device receives an instruction for instructing selection to import the reference biological image, executing the processor to acquire the reference biological image, and parsing the acquired feature information of the reference biological image.
  20. 如权利要求15或17所述的通信终端,其特征在于,所述处理器将采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特 征匹配,得到一个或多个匹配度,包括:The communication terminal according to claim 15 or 17, wherein the processor performs one or more of the captured preview image and the preset reference biological image set. Match the match to get one or more match degrees, including:
    所述处理器根据选择到的所述设置参数中的图像匹配模式,对采集到的所述预览图像和预置的参考生物图像集合中的一个或多个图像进行特征匹配,得到一个或多个匹配度。Performing, by the processor, feature matching on the captured preview image and one or more images in the preset reference biological image set according to the image matching mode in the selected setting parameter, to obtain one or more suitability.
  21. 如权利要求15所述的通信终端,其特征在于,A communication terminal according to claim 15, wherein:
    若匹配度不超过预设阈值,则所述输出装置发送用于提示重新设置预置的参考生物图像集合或者重新调整拍照姿势的提示消息。 If the matching degree does not exceed the preset threshold, the output device sends a prompt message for prompting to reset the preset reference biological image set or re-adjusting the photographing posture.
PCT/CN2016/074891 2015-11-20 2016-02-29 Photography processing method and apparatus, and terminal WO2017084220A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510808795.3A CN105554373A (en) 2015-11-20 2015-11-20 Photographing processing method and device and terminal
CN201510808795.3 2015-11-20

Publications (1)

Publication Number Publication Date
WO2017084220A1 true WO2017084220A1 (en) 2017-05-26

Family

ID=55833291

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/074891 WO2017084220A1 (en) 2015-11-20 2016-02-29 Photography processing method and apparatus, and terminal

Country Status (2)

Country Link
CN (1) CN105554373A (en)
WO (1) WO2017084220A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107389682A (en) * 2017-08-15 2017-11-24 无锡蠡湖增压技术股份有限公司 Products detection system and detection method

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106326478B (en) * 2016-08-31 2019-07-30 华平智慧信息技术(深圳)有限公司 A kind of data processing method and device of instant communication software
CN107580182B (en) * 2017-08-28 2020-02-18 维沃移动通信有限公司 Snapshot method, mobile terminal and computer readable storage medium
WO2019084756A1 (en) * 2017-10-31 2019-05-09 深圳市大疆创新科技有限公司 Image processing method and device, and aerial vehicle
CN108156385A (en) * 2018-01-02 2018-06-12 联想(北京)有限公司 Image acquiring method and image acquiring device
CN108920231A (en) * 2018-06-15 2018-11-30 Oppo广东移动通信有限公司 display control method and related product
CN108881544B (en) * 2018-06-29 2020-08-11 维沃移动通信有限公司 Photographing method and mobile terminal
CN110675446A (en) * 2018-07-03 2020-01-10 百度在线网络技术(北京)有限公司 Positioning method and device
CN109117819B (en) * 2018-08-30 2021-03-02 Oppo广东移动通信有限公司 Target object identification method and device, storage medium and wearable device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070127785A1 (en) * 2005-12-07 2007-06-07 Sony Corporation Image processing apparatus, image processing method, program, and recording medium
CN104185849A (en) * 2012-02-28 2014-12-03 英特尔公司 Method and device for notification of facial recognition environment, and computer-readable recording medium for executing method
CN104639819A (en) * 2013-11-07 2015-05-20 中兴通讯股份有限公司 Portable terminal and method for taking pictures using same
CN104683692A (en) * 2015-02-04 2015-06-03 广东欧珀移动通信有限公司 Continuous shooting method and continuous shooting device
CN104754234A (en) * 2015-04-13 2015-07-01 深圳市欧珀通信软件有限公司 Photographing method and device
CN104866806A (en) * 2014-02-21 2015-08-26 深圳富泰宏精密工业有限公司 Self-timer system and method with face positioning auxiliary function
US20150302275A1 (en) * 2013-07-24 2015-10-22 Tencent Technology (Shenzhen) Company Limited Devices, Terminals and Methods for Image Acquisition

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101477182B1 (en) * 2007-06-01 2014-12-29 삼성전자주식회사 Terminal and method for taking image thereof
CN102098441B (en) * 2010-12-16 2016-09-07 深圳市经纬科技有限公司 Image data transfer method based on SPI interface and camera installation
CN103024275A (en) * 2012-12-17 2013-04-03 东莞宇龙通信科技有限公司 Automatic shooting method and terminal
CN104767940B (en) * 2015-04-14 2018-09-11 广东欧珀移动通信有限公司 Photographic method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070127785A1 (en) * 2005-12-07 2007-06-07 Sony Corporation Image processing apparatus, image processing method, program, and recording medium
CN104185849A (en) * 2012-02-28 2014-12-03 英特尔公司 Method and device for notification of facial recognition environment, and computer-readable recording medium for executing method
US20150302275A1 (en) * 2013-07-24 2015-10-22 Tencent Technology (Shenzhen) Company Limited Devices, Terminals and Methods for Image Acquisition
CN104639819A (en) * 2013-11-07 2015-05-20 中兴通讯股份有限公司 Portable terminal and method for taking pictures using same
CN104866806A (en) * 2014-02-21 2015-08-26 深圳富泰宏精密工业有限公司 Self-timer system and method with face positioning auxiliary function
CN104683692A (en) * 2015-02-04 2015-06-03 广东欧珀移动通信有限公司 Continuous shooting method and continuous shooting device
CN104754234A (en) * 2015-04-13 2015-07-01 深圳市欧珀通信软件有限公司 Photographing method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107389682A (en) * 2017-08-15 2017-11-24 无锡蠡湖增压技术股份有限公司 Products detection system and detection method

Also Published As

Publication number Publication date
CN105554373A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
WO2017084220A1 (en) Photography processing method and apparatus, and terminal
US8866931B2 (en) Apparatus and method for image recognition of facial areas in photographic images from a digital camera
WO2019095221A1 (en) Method for searching for person, apparatus, terminal and cloud server
WO2016107006A1 (en) Intelligent camera monitoring method and apparatus
US20090174805A1 (en) Digital camera focusing using stored object recognition
CN109167877B (en) Terminal screen control method and device, terminal equipment and storage medium
WO2016173443A1 (en) Account information acquisition method, terminal, server and system
CN107835359B (en) Photographing triggering method of mobile terminal, mobile terminal and storage device
TWI586160B (en) Real time object scanning using a mobile phone and cloud-based visual search engine
CN103002152A (en) Method and device for continuous shooting of mobile terminal
US9888176B2 (en) Video apparatus and photography method thereof
WO2017166636A1 (en) Intelligent photographing method and device, mobile apparatus, and non-volatile computer storage medium
JP2011095862A (en) Apparatus and method for processing image and program
WO2019213818A1 (en) Photographing control method, and electronic device
CN107360366B (en) Photographing method and device, storage medium and electronic equipment
WO2016115786A1 (en) Terminal unlocking method and device, terminal and computer storage medium
TWI518602B (en) Image recognizing method, apparatus, terminal apparatus and server
CN111818263A (en) Shooting parameter processing method and device, mobile terminal and storage medium
WO2015123888A1 (en) Image zoom method and device
EP2670134A1 (en) Still image extraction device
CN108259767B (en) Image processing method, image processing device, storage medium and electronic equipment
JP2024045460A (en) Information processing system, information processing device, information processing method, and program
CN110581950A (en) Camera, system and method for selecting camera settings
WO2019213820A1 (en) Photographing control method and electronic device
JP5267136B2 (en) Electronic camera

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: 16865403

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: 16865403

Country of ref document: EP

Kind code of ref document: A1