WO2017166802A1 - 一种照片分类存储方法、装置及移动终端 - Google Patents

一种照片分类存储方法、装置及移动终端 Download PDF

Info

Publication number
WO2017166802A1
WO2017166802A1 PCT/CN2016/103575 CN2016103575W WO2017166802A1 WO 2017166802 A1 WO2017166802 A1 WO 2017166802A1 CN 2016103575 W CN2016103575 W CN 2016103575W WO 2017166802 A1 WO2017166802 A1 WO 2017166802A1
Authority
WO
WIPO (PCT)
Prior art keywords
photo
feature value
feature
type
belongs
Prior art date
Application number
PCT/CN2016/103575
Other languages
English (en)
French (fr)
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 WO2017166802A1 publication Critical patent/WO2017166802A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5838Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques

Definitions

  • the embodiments of the present invention relate to the field of human-computer interaction technologies, and in particular, to a photo classification storage method, device, and mobile terminal.
  • the mobile terminal having the photographing function stores the photographs taken according to the shooting time, and the landscape photographs and the photographs of the characters are mixed together, and the user needs to manually
  • the selection can achieve classification storage, and the user experience is poor.
  • the technical problem to be solved by the present invention is to overcome the defect that the photographs taken in the prior art cannot be automatically classified, thereby providing a photo classification storage method, apparatus and mobile terminal capable of automatically categorizing.
  • an embodiment of the present invention provides a photo classification storage method for a mobile terminal having a photographing function, including the following steps:
  • the photos are classified and stored according to the type of the object in the photo.
  • the step of extracting feature values in a photo includes:
  • the feature value of the picture within the range of the photo center area is extracted as the feature value of the photo.
  • the determining, according to the feature value, the type of the object in the photo belongs to:
  • determining that the type of the object in the photo belongs to is a landscape photo
  • the step of determining, according to the feature value, the type of the object in the photo belongs to:
  • the feature value includes a feature value embodying the non-human feature in addition to the feature value embodying the human feature, and acquiring a proportion of the feature value embodying the human feature in the feature value;
  • the ratio exceeds the preset ratio value, it is determined that the type of the object in the photo belongs to the person photo, and if not, it is determined that the type of the object in the photo belongs to the landscape photo.
  • the embodiment of the present invention further provides a photo classification storage device for a mobile terminal having a photographing function, including:
  • a categorizing unit configured to determine, according to the feature value, a type to which an object in the photo belongs
  • a classification storage unit configured to classify and store the photos according to the type of the object in the photo.
  • the feature value extracting unit includes:
  • a central area determining subunit configured to determine a photo center area range according to a preset size, and the photo center area range includes a photo focus position;
  • Extracting a subunit for extracting feature values of a picture in a range of the center of the photo Is the characteristic value of the photo.
  • the feature value when the feature value does not include the feature value of the human feature, it is determined that the type of the object in the photo belongs to the landscape photo; only the embodiment is included in the feature value.
  • the feature value of the human feature when used, it is determined that the type of the object in the photo belongs to the person's photo.
  • the categorization unit acquires the eigenvalues of the avatars in the eigenvalues in addition to the eigenvalues constituting the human features and the eigenvalues constituting the non-human features.
  • the ratio of the feature values when the ratio exceeds the preset ratio value, determining that the type of the object in the photo belongs to the person's photo, and if not, determining that the type of the object in the photo belongs to the landscape photo.
  • an embodiment of the present invention further provides a mobile terminal, including the foregoing photo classification storage device and a photographing device;
  • the photographing device is configured to take a photo and transmit it to the photo sorting storage device.
  • an embodiment of the present invention further provides an electronic device, including:
  • At least one processor At least one processor
  • At least one memory communicatively coupled to the processor, wherein:
  • the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the above method.
  • an embodiment of the present invention further provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program When the instructions are executed by the computer, the computer is caused to perform the above method.
  • an embodiment of the present invention further provides a non-transitory computer readable storage medium storing computer instructions, the computer instructions causing the computer to perform the above method.
  • the embodiment of the invention provides a photo classification storage method and device. After receiving the photo classification instruction, the feature value in the photo is extracted, and the type of the object in the photo is determined according to the feature value, and the photo is taken according to the type of the object in the photo. Perform classified storage. Automatic classification of photos without user manual selection, user experience is good.
  • Embodiment 1 is a flowchart of a specific example of a photo classification storage method in Embodiment 1 of the present invention
  • FIG. 3 is a flowchart of determining a specific example of a type of an object in a photo in a photo classification storage method according to Embodiment 1 of the present invention
  • FIG. 4 is a schematic block diagram of a specific example of a photo classification storage device in Embodiment 2 of the present invention.
  • FIG. 5 is a schematic block diagram of a specific example of a mobile terminal according to Embodiment 3 of the present invention.
  • FIG. 6 is a structural block diagram of an electronic device according to Embodiment 4 of the present invention.
  • 1-characteristic value extracting unit 2-classifying unit; 3-classifying memory unit; 11-center region determining subunit; 12-extracting subunit; 4-photo sorting storage device; 5-photographing device.
  • the terms “installation”, “connected”, and “connected” are to be understood broadly, and may be, for example, a fixed connection or a Removable connection, or integral connection; can be mechanical connection or electrical connection; can be directly connected, can also be indirectly connected through an intermediate medium, or can be internal communication between two components, can be wireless connection, or It is a wired connection.
  • the specific meanings of the above terms in the embodiments of the present invention can be understood in a specific case for those skilled in the art.
  • the embodiment of the present invention provides a photo classification storage method for a mobile terminal having a photographing function, wherein the mobile terminal includes, but is not limited to, a smart phone, a pad, a digital camera, etc., and the photo classification storage method in this embodiment includes the following step:
  • step S11 Detect whether a photo categorization instruction is received. If yes, go to step S12, if not, repeat step S11. Specifically, the newly taken photo may be regarded as receiving the photo categorization instruction, or the button information generated by the user pressing a certain key or the combination key may be used as a photo categorization instruction, for example, the user may press the storage. The key information generated by the key is used as a photo classification instruction or the like.
  • the photo is classified and stored according to the type of the object in the photo.
  • the photo classification storage method of the embodiment after receiving the photo classification instruction, the feature value in the photo is extracted, the type of the object in the photo is determined according to the feature value, and the photo is classified and stored according to the type of the object in the photo. Automatic classification of photos without user manual selection, user experience is good.
  • step S12 includes:
  • S121 Determine a photo center area range according to the preset size, and the photo center area range includes a photo focus position. Specifically, when taking a photo, people usually focus on the object to be photographed, that is, the image in the range of the center of the photo that is extended to the preset size with the focus position of the photo as the reference point is the user really wants The object to be shot.
  • the preset size can be set by the user or the default setting.
  • step S2 includes:
  • step S211 Determine whether the feature value embodying the human feature is not included in the feature value. If yes, go to step S212, if no, go to step S22.
  • S212 Determine the type of the object in the photo to be a landscape photo. Specifically, if the feature value does not include a feature value that reflects a human feature such as a face, a hand, or a limb, it can be determined that the image in the center region does not include a character, that is, an object that the user wants to photograph (in focus) The object is not a character. In this case, it is determined that the type of the object in the photo belongs to the landscape photo that meets the actual needs of the user.
  • step S221. Determine whether the feature value including only the human feature is included in the feature value. If yes, go to step S222, if no, go to step S23.
  • S222 Determine the type of the object in the photo to be a photo of the person. Specifically, if only the feature values embodying the human feature are included in the feature value, it can be determined that only the character is included in the image in the central region, that is, the object that the user wants to photograph (the object that is in focus) is the character. It is determined that the type of the object in the photo belongs to the photo of the person is in accordance with the actual needs of the user.
  • S24 Determine the type of the photo according to the proportion of the feature values embodying the human characteristics in the feature values. Further includes:
  • step S241 Determine whether the ratio exceeds a preset ratio value. If yes, proceed to step S242, if If not exceeded, the process proceeds to step S243.
  • the object in the central region has both a character and a landscape, and in this case, it is obviously not directly based on the feature.
  • the value is used to determine whether the photo is a landscape photo or a character photo.
  • the proportion of the characters in the central area can be analyzed, and only when the ratio exceeds the preset ratio threshold (for example, 60%) Only when the character is the object that the user really wants to shoot, rather than appearing as a background of the photo, determining the photo as a photo of the character is in line with the real needs of the user, which can further enhance the user experience.
  • the preset ratio threshold for example, 60%
  • a photo classification storage device for a mobile terminal having a photographing function, wherein the mobile terminal includes, but is not limited to, a smart phone, a pad, a digital camera, etc., and the photo classification storage device in the embodiment, such as As shown in Figure 4, it includes:
  • the feature value extracting unit 1 is configured to extract the feature value in the photo after receiving the photo classification instruction.
  • the categorizing unit 2 is configured to determine, according to the feature value, a type to which the object in the photo belongs.
  • the classification storage unit 3 is configured to classify and store the photos according to the type of the object in the photo.
  • the photo classification storage device in the embodiment extracts the feature value in the photo after receiving the photo classification instruction, determines the type of the object in the photo according to the feature value, and classifies and stores the photo according to the type of the object in the photo. Automatic classification of photos without user manual selection, user experience is good.
  • the feature value extraction unit 1 includes:
  • the extraction sub-unit 12 is configured to extract feature values of pictures in the range of the photo center area as feature values of the photos. Specifically, taking the feature value of the picture in the center of the photo as the feature value of the photo, the interference factor can be eliminated, and only the feature of the object that the user really wants to capture is extracted. The value helps to make the results of automatic photo classification meet the real needs of users, which improves the user experience.
  • the object in the central region has both a character and a landscape, and in this case, it is obviously not directly based on the feature.
  • the value is used to determine whether the photo is a landscape photo or a character photo.
  • the proportion of the characters in the central area can be analyzed, and only when the ratio exceeds the preset ratio threshold (for example, 60%) Only when the character is the object that the user really wants to shoot, rather than appearing as a background of the photo, determining the photo as a photo of the character is in line with the real needs of the user, which can further enhance the user experience.
  • the preset ratio threshold for example, 60%
  • the present embodiment provides a mobile terminal, including but not limited to a smart phone, a pad, a digital camera, etc.
  • the mobile terminal in this embodiment includes the photo classification storage device 4 in Embodiment 2 and Photographing device 5.
  • the photographing device 5 is for taking a photo and transmitting it to the photo sorting storage device 4.
  • the mobile terminal in this embodiment can realize automatic classification of photos by the photo classification storage device 4 without manual selection by the user.
  • the feature value of the picture in the center of the photo is taken as the feature value of the photo, which can eliminate the interference factor and extract only the feature value of the object that the user really wants to shoot, which helps to match the result of the automatic classification of the photo.
  • the real needs of users enhance the user experience.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • the electronic device includes: a processor 601, a memory 602, and a bus 603;
  • the processor 601 and the memory 602 complete communication with each other through the bus 603;
  • the processor 601 is configured to invoke the program instructions in the memory 602 to perform the method provided by the foregoing method embodiments, for example, including: after receiving the photo classification instruction, extracting feature values in the photo; The feature value determines the type to which the object belongs in the photo; the photo is classified and stored according to the type of the object in the photo.
  • Embodiments of the present invention disclose a computer program product, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer,
  • the computer can perform the method provided by the foregoing method embodiments, for example, including: after receiving the photo classification instruction, extracting feature values in the photo; determining, according to the feature value, a type to which the object belongs in the photo; according to the photo The type to which the object belongs is stored in the category.
  • An embodiment of the present invention provides a non-transitory computer readable storage medium storing computer instructions, the computer instructions causing the computer to perform the methods provided by the foregoing method embodiments, for example
  • the method includes: after receiving the photo classification instruction, extracting the feature value in the photo; determining, according to the feature value, a type to which the object belongs in the photo; and classifying the photo according to the type of the object in the photo.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • the embodiments of the photo classification storage device and the like described above are merely illustrative, wherein 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. , can be located in one place, or can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Library & Information Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Telephone Function (AREA)
  • Studio Devices (AREA)

Abstract

一种照片分类存储方法、装置及移动终端,涉及人机交互技术领域。其中照片分类存储方法中收到照片归类指令后提取出照片中的特征值(S1),根据特征值确定照片中对象所属的类型(S2),并按照照片中对象的类型对照片进行分类存储(S3)。无需用户手动挑选即可实现照片的自动归类,用户体验度好。

Description

一种照片分类存储方法、装置及移动终端
交叉引用
本申请引用于2016年4月1日提交的专利名称为“一种照片分类存储方法、装置及移动终端”的第2016102033831号中国专利申请,其通过引用被全部并入本申请。
技术领域
本发明实施例涉及人机交互技术领域,具体涉及一种照片分类存储方法、装置及移动终端。
背景技术
随着科技的发展,带有拍照功能的手机、数码相机等移动终端的体积越来越轻薄,拍出的照片质量也越来越好。人们外出游玩,常会随身携带具有拍照功能的手机、数码相机等移动终端以便随时拍下心仪的照片。
发明人在实现本发明的过程中,发现现有技术至少存在以下问题:目前具有拍照功能的移动终端都是按照拍摄时间存储所拍到的照片,风景照片和人物照片混杂在一起,需要用户手动挑选才能实现分类存储,用户体验度差。
发明内容
因此,本发明要解决的技术问题在于克服现有技术中拍摄的照片不能自动归类的缺陷,从而提供一种能够自动归类的照片分类存储方法、装置及移动终端。
为此,本发明实施例提供了如下技术方案:
第一方面,本发明实施例提供了一种照片分类存储方法,用于具有拍照功能的移动终端,包括如下步骤:
收到照片归类指令后,提取出照片中的特征值;
根据所述特征值确定照片中对象所属的类型;
按照所述照片中对象所属的类型对该照片进行分类存储。
本发明实施例所述的方法,所述提取出照片中的特征值的步骤包括:
根据预设尺寸确定照片中心区域范围,且所述照片中心区域范围包含照片焦点位置;
提取出所述照片中心区域范围内的图片的特征值作为所述照片的特征值。
本发明实施例所述的方法,所述根据所述特征值确定照片中对象所属的类型的步骤包括:
若所述特征值中不包括体现人类特征的特征值,确定照片中对象所属的类型为风景照片;
若所述特征值中仅包括体现人类特征的特征值,确定照片中对象所属的类型为人物照片。
本发明实施例所述的方法,所述根据所述特征值确定照片中对象所属的类型的步骤还包括:
若所述特征值中除了包括体现人类特征的特征值外还包括体现非人类特征的特征值,获取所述体现人类特征的特征值在所述特征值中所占的比例;
若所述比例超出预设比例值,确定照片中对象所属的类型为人物照片,若未超出,确定照片中对象所属的类型为风景照片。
第二方面,本发明实施例还提供了一种照片分类存储装置,用于具有拍照功能的移动终端,包括:
特征值提取单元,用于在收到照片归类指令后,提取出照片中的特征值;
归类单元,用于根据所述特征值确定照片中对象所属的类型;
分类存储单元,用于按照所述照片中对象所属的类型对该照片进行分类存储。
本发明实施例所述的装置,所述特征值提取单元包括:
中心区域确定子单元,用于根据预设尺寸确定照片中心区域范围,且所述照片中心区域范围包含照片焦点位置;
提取子单元,用于提取出所述照片中心区域范围内的图片的特征值作 为所述照片的特征值。
本发明实施例所述的装置,所述归类单元在所述特征值中不包括体现人类特征的特征值时,确定照片中对象所属的类型为风景照片;在所述特征值中仅包括体现人类特征的特征值时,确定照片中对象所属的类型为人物照片。
本发明实施例所述的装置,所述归类单元在所述特征值中除了包括体现人类特征的特征值外还包括体现非人类特征的特征值时,获取所述体现人类特征的特征值在所述特征值中所占的比例;在所述比例超出预设比例值时,确定照片中对象所属的类型为人物照片,若未超出时,确定照片中对象所属的类型为风景照片。
第三方面,本发明实施例还提供了一种移动终端,包括上述照片分类存储装置和拍摄装置;
所述拍摄装置,用于拍摄照片并传输至所述照片分类存储装置。
第四方面,本发明实施例还提供了一种电子设备,包括:
至少一个处理器;以及
与所述处理器通信连接的至少一个存储器,其中:
所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行上述方法。
第五方面,本发明实施例还提供了一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述方法。
第六方面,本发明实施例还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述方法。
本发明实施例技术方案,具有如下优点:
本发明实施例提供了一种照片分类存储方法及装置,收到照片归类指令后提取出照片中的特征值,根据特征值确定照片中对象所属的类型,并按照照片中对象的类型对照片进行分类存储。无需用户手动挑选即可实现照片的自动归类,用户体验度好。
附图说明
为了更清楚地说明本发明具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例1中照片分类存储方法的一个具体实例的流程图;
图2为本发明实施例1照片分类存储方法中提取照片特征值的一个具体实例的流程图;
图3为本发明实施例1照片分类存储方法中确定照片中对象所属的类型的一个具体实例的流程图;
图4为本发明实施例2中照片分类存储装置的一个具体实例的原理框图;
图5为本发明实施例3中移动终端的一个具体实例的原理框图;
图6为本发明实施例4中的电子设备的结构框图。
附图标记:
1-特征值提取单元;2-归类单元;3-分类存储单元;11-中心区域确定子单元;12-提取子单元;4-照片分类存储装置;5-拍摄装置。
具体实施方式
下面将结合附图对本发明实施例的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
在本发明实施例的描述中,需要说明的是,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述 本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。
在本发明实施例的描述中,需要说明的是,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,还可以是两个元件内部的连通,可以是无线连接,也可以是有线连接。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明实施例中的具体含义。
此外,下面所描述的本发明实施例不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。
实施例1
本发明实施例提供了一种照片分类存储方法,用于具有拍照功能的移动终端,其中移动终端包括但不限定于智能手机、Pad、数码相机等,本实施例中的照片分类存储方法包括如下步骤:
S1.特征值提取。进一步包括:
S11.检测是否收到照片归类指令。若收到,进入步骤S12,若未收到,重复步骤S11。具体地,可以将收到新拍摄的照片视为收到照片归类指令,也可以将用户按下某个按键或者组合键所产生的按键信息作为照片归类指令,比如可以将用户按下存储键所产生的按键信息作为照片归类指令等。
S12.提取出照片中的特征值。具体地,可以基于图像分析技术来提取照片中的特征值。
S2.根据特征值确定照片中对象所属的类型。
S3.按照照片中对象所属的类型对该照片进行分类存储。
本实施例中的照片分类存储方法,收到照片归类指令后提取出照片中的特征值,根据特征值确定照片中对象所属的类型,并按照照片中对象的类型对照片进行分类存储。无需用户手动挑选即可实现照片的自动归类,用户体验度好。
优选地,如图2所示,步骤S12包括:
S121.根据预设尺寸确定照片中心区域范围,且所述照片中心区域范围包含照片焦点位置。具体地,拍摄照片时,人们通常会把焦点对准要拍摄的对象,也即以照片焦点位置为参照点向外扩展至预设尺寸截取出的照片中心区域范围内的图片才是用户真正想要拍摄的对象。预设尺寸可以由用户自行设置或者采用默认设置。
S122.提取出照片中心区域范围内的图片的特征值作为照片的特征值。具体地,将照片中心区域范围内的图片的特征值作为照片的特征值,能够摒除干扰因素,只提取出用户真正想要拍摄的对象的特征值,有助于使照片自动分类的结果符合用户的真实需求,提升了用户的体验度。
优选地,如图3所示,步骤S2包括:
S21.风景照片判定。进一步包括:
S211.判断特征值中是否不包括体现人类特征的特征值。若是,进入步骤S212,若否,进入步骤S22。
S212.确定照片中对象所属的类型为风景照片。具体地,如果特征值中不包含人脸、手、四肢等体现人类特征的特征值,就可以确定中心区域范围内的图片中不包括人物,也即用户想要拍摄的对象(焦点对准的对象)不是人物了,该情况下确定照片中对象所属的类型为风景照片是符合用户实际需求的。
S22.人物照片判定。进一步包括:
S221.判断特征值中是否仅包括体现人类特征的特征值。若是,进入步骤S222,若否,进入步骤S23。
S222.确定照片中对象所属的类型为人物照片。具体地,如果特征值中仅包括体现人类特征的特征值,就可以确定中心区域范围内的图片中只包括人物,也即用户想要拍摄的对象(焦点对准的对象)就是人物,该情况下确定照片中对象所属的类型为人物照片是符合用户实际需求的。
S23.获取体现人类特征的特征值在特征值中所占的比例。
S24.根据体现人类特征的特征值在特征值中所占的比例确定照片的类型。进一步包括:
S241.判断该比例是否超出预设比例值。若超出,进入步骤S242,若 未超出,进入步骤S243。
S242.确定照片中对象所属的类型为人物照片。
S243.确定照片中对象所属的类型为风景照片。
具体地,若特征值中除了包括体现人类特征的特征值外还包括体现非人类特征的特征值,说明中心区域范围内的对象既有人物,也有植物等风景,该情况下显然不能直接根据特征值来判断照片到底是风景照片还是人物照片了。通过判断体现人类特征的特征值在特征值中所占的比例是否超出预设比例阈值,能够分析出中心区域范围内人物所占的比重,只有该比例超出预设比例阈值(比如60%)时,才说明人物是用户真正想要拍摄的对象,而不是作为照片背景出现的,此时将照片确定为人物照片是符合用户真实需求的,能够进一步提升用户的体验度。
实施例2
在本实施例提供了一种照片分类存储装置,用于具有拍照功能的移动终端,其中移动终端包括但不限定于智能手机、Pad、数码相机等,本实施例中的照片分类存储装置,如图4所示,包括:
特征值提取单元1,用于在收到照片归类指令后,提取出照片中的特征值。
归类单元2,用于根据特征值确定照片中对象所属的类型。
分类存储单元3,用于按照照片中对象所属的类型对该照片进行分类存储。
本实施例中的照片分类存储装置,收到照片归类指令后提取出照片中的特征值,根据特征值确定照片中对象所属的类型,并按照照片中对象的类型对照片进行分类存储。无需用户手动挑选即可实现照片的自动归类,用户体验度好。
优选地,特征值提取单元1包括:
中心区域确定子单元11,用于根据预设尺寸确定照片中心区域范围,且所述照片中心区域范围包含照片焦点位置。
提取子单元12,用于提取出照片中心区域范围内的图片的特征值作为照片的特征值。具体地,将照片中心区域范围内的图片的特征值作为照片的特征值,能够摒除干扰因素,只提取出用户真正想要拍摄的对象的特征 值,有助于使照片自动分类的结果符合用户的真实需求,提升了用户的体验度。
优选地,归类单元2在特征值中不包括体现人类特征的特征值时,确定照片中对象所属的类型为风景照片;在特征值中仅包括体现人类特征的特征值时,确定照片中对象所属的类型为人物照片。在特征值中除了包括体现人类特征的特征值外还包括体现非人类特征的特征值时,获取体现人类特征的特征值在特征值中所占的比例;在比例超出预设比例值时,确定照片中对象所属的类型为人物照片,若未超出时,确定照片中对象所属的类型为风景照片。
具体地,若特征值中除了包括体现人类特征的特征值外还包括体现非人类特征的特征值,说明中心区域范围内的对象既有人物,也有植物等风景,该情况下显然不能直接根据特征值来判断照片到底是风景照片还是人物照片了。通过判断体现人类特征的特征值在特征值中所占的比例是否超出预设比例阈值,能够分析出中心区域范围内人物所占的比重,只有该比例超出预设比例阈值(比如60%)时,才说明人物是用户真正想要拍摄的对象,而不是作为照片背景出现的,此时将照片确定为人物照片是符合用户真实需求的,能够进一步提升用户的体验度。
实施例3
本实施例提供了一种移动终端,包括但不限定于智能手机、Pad、数码相机等,本实施例中的移动终端,如图5所示,包括实施例2中的照片分类存储装置4和拍摄装置5。
拍摄装置5,用于拍摄照片并传输至照片分类存储装置4。
本实施例中的移动终端,通过照片分类存储装置4,无需用户手动挑选即可实现照片的自动归类。分类过程中,将照片中心区域范围内的图片的特征值作为照片的特征值,能够摒除干扰因素,只提取出用户真正想要拍摄的对象的特征值,有助于使照片自动分类的结果符合用户的真实需求,提升了用户的体验度。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个 或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
实施例4
图6是示出本发明实施例4的电子设备的结构框图。
参照图6,所述电子设备,包括:处理器(processor)601、存储器(memory)602和总线603;
其中,
所述处理器601、存储器602通过所述总线603完成相互间的通信;
所述处理器601用于调用所述存储器602中的程序指令,以执行上述各方法实施例所提供的方法,例如包括:收到照片归类指令后,提取出照片中的特征值;根据所述特征值确定照片中对象所属的类型;按照所述照片中对象所属的类型对该照片进行分类存储。
实施例5
本发明实施例公开一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,计算机能够执行上述各方法实施例所提供的方法,例如包括:收到照片归类指令后,提取出照片中的特征值;根据所述特征值确定照片中对象所属的类型;按照所述照片中对象所属的类型对该照片进行分类存储。
实施例6
本发明实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行上述各方法实施例所提供的方法,例如包括:收到照片归类指令后,提取出照片中的特征值;根据所述特征值确定照片中对象所属的类型;按照所述照片中对象所属的类型对该照片进行分类存储。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所描述的照片分类存储装置等实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等) 执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上各实施例仅用以说明本发明的实施例的技术方案,而非对其限制;尽管参照前述各实施例对本发明的实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明的实施例各实施例技术方案的范围。

Claims (12)

  1. 一种照片分类存储方法,用于具有拍照功能的移动终端,其特征在于,包括如下步骤:
    收到照片归类指令后,提取出照片中的特征值;
    根据所述特征值确定照片中对象所属的类型;
    按照所述照片中对象所属的类型对该照片进行分类存储。
  2. 根据权利要求1所述的方法,其特征在于,所述提取出照片中的特征值的步骤包括:
    根据预设尺寸确定照片中心区域范围,且所述照片中心区域范围包含照片焦点位置;
    提取出所述照片中心区域范围内的图片的特征值作为所述照片的特征值。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述特征值确定照片中对象所属的类型的步骤包括:
    若所述特征值中不包括体现人类特征的特征值,确定照片中对象所属的类型为风景照片;
    若所述特征值中仅包括体现人类特征的特征值,确定照片中对象所属的类型为人物照片。
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述特征值确定照片中对象所属的类型的步骤还包括:
    若所述特征值中除了包括体现人类特征的特征值外还包括体现非人类特征的特征值,获取所述体现人类特征的特征值在所述特征值中所占的比例;
    若所述比例超出预设比例值,确定照片中对象所属的类型为人物照片,若未超出,确定照片中对象所属的类型为风景照片。
  5. 一种照片分类存储装置,用于具有拍照功能的移动终端,其特征在于,包括:
    特征值提取单元(1),用于在收到照片归类指令后,提取出照片中的特征值;
    归类单元(2),用于根据所述特征值确定照片中对象所属的类型;
    分类存储单元(3),用于按照所述照片中对象所属的类型对该照片进行分类存储。
  6. 根据权利要求5所述的装置,其特征在于,所述特征值提取单元(1)包括:
    中心区域确定子单元(11),用于根据预设尺寸确定照片中心区域范围,且所述照片中心区域范围包含照片焦点位置;
    提取子单元(12),用于提取出所述照片中心区域范围内的图片的特征值作为所述照片的特征值。
  7. 根据权利要求5或6所述的装置,其特征在于,所述归类单元(2)在所述特征值中不包括体现人类特征的特征值时,确定照片中对象所属的类型为风景照片;在所述特征值中仅包括体现人类特征的特征值时,确定照片中对象所属的类型为人物照片。
  8. 根据权利要求7所述的装置,其特征在于,所述归类单元(2)在所述特征值中除了包括体现人类特征的特征值外还包括体现非人类特征的特征值时,获取所述体现人类特征的特征值在所述特征值中所占的比例;在所述比例超出预设比例值时,确定照片中对象所属的类型为人物照片,若未超出时,确定照片中对象所属的类型为风景照片。
  9. 一种移动终端,其特征在于,包括权利要求5-8任一项所述的照片分类存储装置(4)和拍摄装置(5);
    所述拍摄装置(5),用于拍摄照片并传输至所述照片分类存储装置(4)。
  10. 一种电子设备,其特征在于,包括:
    至少一个处理器;以及
    与所述处理器通信连接的至少一个存储器,其中:
    所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如权利要求1至4任一所述的方法。
  11. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行如权利要求1至4任一所述的方法。
  12. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令使所述计算机执行如权利要求1至4任一所述的方法。
PCT/CN2016/103575 2016-04-01 2016-10-27 一种照片分类存储方法、装置及移动终端 WO2017166802A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610203383.1A CN105912590A (zh) 2016-04-01 2016-04-01 一种照片分类存储方法、装置及移动终端
CN201610203383.1 2016-04-01

Publications (1)

Publication Number Publication Date
WO2017166802A1 true WO2017166802A1 (zh) 2017-10-05

Family

ID=56744496

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/103575 WO2017166802A1 (zh) 2016-04-01 2016-10-27 一种照片分类存储方法、装置及移动终端

Country Status (2)

Country Link
CN (1) CN105912590A (zh)
WO (1) WO2017166802A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110084256A (zh) * 2018-01-25 2019-08-02 中兴通讯股份有限公司 照片的分类方法、装置、终端设备及存储介质

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105912590A (zh) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 一种照片分类存储方法、装置及移动终端
CN106777334A (zh) * 2017-01-12 2017-05-31 珠海格力电器股份有限公司 一种照片分类存储方法、装置及移动终端
CN106933966A (zh) * 2017-02-08 2017-07-07 捷开通讯(深圳)有限公司 照片分类管理方法、装置及其移动终端
CN107291577A (zh) * 2017-06-19 2017-10-24 腾讯科技(深圳)有限公司 文件备份方法、装置及存储介质
CN108304563B (zh) * 2018-02-08 2022-09-27 百度在线网络技术(北京)有限公司 图片处理方法、装置及设备
CN111163170A (zh) * 2019-12-31 2020-05-15 上海博泰悦臻电子设备制造有限公司 照片分享方法、系统及服务器

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120106854A1 (en) * 2010-10-28 2012-05-03 Feng Tang Event classification of images from fusion of classifier classifications
CN103207870A (zh) * 2012-01-17 2013-07-17 华为技术有限公司 一种照片分类管理方法、服务器、装置及系统
CN104933145A (zh) * 2015-06-19 2015-09-23 深圳天珑无线科技有限公司 照片处理方法及装置与移动终端
CN104951426A (zh) * 2014-03-26 2015-09-30 联想移动通信软件(武汉)有限公司 一种拍照分类处理的方法、装置及终端设备
CN105205181A (zh) * 2015-10-28 2015-12-30 上海斐讯数据通信技术有限公司 一种照片管理方法及管理系统
CN105426497A (zh) * 2015-11-24 2016-03-23 上海斐讯数据通信技术有限公司 一种智能终端相册的自动分类方法及系统
CN105912590A (zh) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 一种照片分类存储方法、装置及移动终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120106854A1 (en) * 2010-10-28 2012-05-03 Feng Tang Event classification of images from fusion of classifier classifications
CN103207870A (zh) * 2012-01-17 2013-07-17 华为技术有限公司 一种照片分类管理方法、服务器、装置及系统
CN104951426A (zh) * 2014-03-26 2015-09-30 联想移动通信软件(武汉)有限公司 一种拍照分类处理的方法、装置及终端设备
CN104933145A (zh) * 2015-06-19 2015-09-23 深圳天珑无线科技有限公司 照片处理方法及装置与移动终端
CN105205181A (zh) * 2015-10-28 2015-12-30 上海斐讯数据通信技术有限公司 一种照片管理方法及管理系统
CN105426497A (zh) * 2015-11-24 2016-03-23 上海斐讯数据通信技术有限公司 一种智能终端相册的自动分类方法及系统
CN105912590A (zh) * 2016-04-01 2016-08-31 乐视控股(北京)有限公司 一种照片分类存储方法、装置及移动终端

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110084256A (zh) * 2018-01-25 2019-08-02 中兴通讯股份有限公司 照片的分类方法、装置、终端设备及存储介质

Also Published As

Publication number Publication date
CN105912590A (zh) 2016-08-31

Similar Documents

Publication Publication Date Title
WO2017166802A1 (zh) 一种照片分类存储方法、装置及移动终端
US11343387B2 (en) Electronic device, imaging device, image reproduction method, image reproduction program, recording medium with image reproduction program recorded thereupon, and image reproduction device
US11637797B2 (en) Automated image processing and content curation
RU2659746C2 (ru) Способ и устройство обработки изображений
KR101906827B1 (ko) 연속 사진 촬영 장치 및 방법
WO2017020483A1 (zh) 照片共享方法、装置
US9584713B2 (en) Image capturing apparatus capable of specifying an object in image data based on object detection, motion detection and/or object recognition, communication apparatus communicating with image capturing apparatus, and control method therefor
JP5763075B2 (ja) オブジェクト情報の提供方法及びそれを適用した撮影装置
WO2016023336A1 (zh) 照片的分类存储方法、装置、设备和计算机存储介质
TWI520601B (zh) 影像傳輸裝置及其方法
JP2017531950A (ja) 撮影テンプレートデータベースを構築し、且つ撮影推薦情報を提供するための方法及び装置
JP6263263B2 (ja) 関連ユーザー確定方法および装置
WO2022111072A1 (zh) 图像拍摄方法、装置、电子设备、服务器及存储介质
CN109040605A (zh) 拍摄引导方法、装置及移动终端和存储介质
CN107005629A (zh) 信息处理装置、信息处理方法和程序
CN107613550B (zh) 解锁控制方法及相关产品
US9973649B2 (en) Photographing apparatus, photographing system, photographing method, and recording medium recording photographing control program
US20160156854A1 (en) Image processing method and apparatus, and electronic device
JP5890325B2 (ja) 画像データ処理装置、方法、プログラム及び集積回路
WO2016131239A1 (zh) 照片分享方法及装置
WO2015196681A1 (zh) 一种图片处理方法及电子设备
JP2015139001A (ja) 情報処理装置、情報処理方法及びプログラム
CN106202341B (zh) 结合照片信息与人像识别的关系网络构建方法
WO2021129444A1 (zh) 文件聚类方法及装置、存储介质和电子设备
KR101431651B1 (ko) 시각 장애인용 모바일 사진 촬영 장치 및 방법

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896571

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896571

Country of ref document: EP

Kind code of ref document: A1