[go: up one dir, main page]

CN107895041A - Screening-mode method to set up, device and storage medium - Google Patents

Screening-mode method to set up, device and storage medium Download PDF

Info

Publication number
CN107895041A
CN107895041A CN201711236380.9A CN201711236380A CN107895041A CN 107895041 A CN107895041 A CN 107895041A CN 201711236380 A CN201711236380 A CN 201711236380A CN 107895041 A CN107895041 A CN 107895041A
Authority
CN
China
Prior art keywords
media data
terminal
history
historical
shooting mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711236380.9A
Other languages
Chinese (zh)
Other versions
CN107895041B (en
Inventor
汤进
杨万坤
王玉梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711236380.9A priority Critical patent/CN107895041B/en
Publication of CN107895041A publication Critical patent/CN107895041A/en
Application granted granted Critical
Publication of CN107895041B publication Critical patent/CN107895041B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本公开是关于一种拍摄模式设置方法、装置及存储介质,属于终端技术领域。方法包括:从终端的媒体数据库中,获取终端已拍摄的至少一个历史媒体数据;对每个历史媒体数据进行分类,确定每个历史媒体数据所属的目标类别,一种目标类别对应于一种拍摄模式;对至少一个历史媒体数据所属的目标类别进行统计,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式。本公开能够根据用户的拍摄习惯设置默认拍摄模式,尽可能地避免了由于设置了用户不习惯的默认拍摄模式而造成用户需要手动切换拍摄模式的情况,简化了用户的操作,提高了拍摄效率,而且不会为所有的终端设置同一种默认拍摄模式,实现了默认拍摄模式的个性化设置,提高了灵活性。

The present disclosure relates to a shooting mode setting method, device and storage medium, and belongs to the technical field of terminals. The method includes: obtaining at least one piece of historical media data captured by the terminal from the media database of the terminal; classifying each historical media data, and determining the target category to which each historical media data belongs, and one target category corresponds to one shooting mode; making statistics on the target category to which at least one historical media data belongs, and setting the shooting mode corresponding to the target category with the largest number of occurrences as the default shooting mode. The disclosure can set the default shooting mode according to the user's shooting habits, avoiding as much as possible the situation that the user needs to manually switch the shooting mode due to the setting of the default shooting mode that the user is not used to, simplifies the user's operation, and improves the shooting efficiency. Moreover, the same default shooting mode is not set for all terminals, which realizes the personalized setting of the default shooting mode and improves flexibility.

Description

拍摄模式设置方法、装置及存储介质Shooting mode setting method, device and storage medium

技术领域technical field

本公开是关于终端技术领域,具体来说是关于一种拍摄模式设置方法、装置及存储介质。The present disclosure relates to the technical field of terminals, and specifically relates to a shooting mode setting method, device and storage medium.

背景技术Background technique

随着终端技术的快速发展以及多种终端的广泛普及,越来越多的人会使用终端上的相机拍摄媒体数据,如照片或视频,以记录生活中的点点滴滴。并且随着用户拍摄需求的日益提升,目前的相机可以提供多种拍摄模式,如拍摄照片时可采用的普通拍照模式、自拍模式、美颜模式和风景模式等,拍摄视频时可采用的普通拍摄模式、慢动作拍摄模式和延迟摄影模式等,在不同的拍摄模式下可以拍摄出不同效果的媒体数据。With the rapid development of terminal technology and the wide popularization of various terminals, more and more people will use the camera on the terminal to take media data, such as photos or videos, to record every bit of life. And with the increasing shooting needs of users, the current camera can provide a variety of shooting modes, such as the normal camera mode, selfie mode, beauty mode and landscape mode that can be used when taking photos, and the normal shooting mode that can be used when shooting videos. Mode, slow-motion shooting mode and delayed shooting mode, etc., in different shooting modes, media data with different effects can be captured.

在相机设置了多种拍摄模式的情况下,通常会选取一种固定的拍摄模式设置为默认拍摄模式,如大部分用户常用的普通拍照模式和自拍模式等。每当终端启动相机时,开启默认拍摄模式,此时可以采用默认拍摄模式进行拍摄,或者也可以由用户手动触发一次或多次模式切换操作,直到相机切换至用户习惯使用的拍摄模式后再进行拍摄。When the camera is set with multiple shooting modes, a fixed shooting mode is usually selected and set as the default shooting mode, such as the common camera mode and Selfie mode commonly used by most users. Whenever the terminal starts the camera, the default shooting mode is turned on. At this time, the default shooting mode can be used for shooting, or the user can manually trigger one or more mode switching operations until the camera switches to the shooting mode that the user is used to. shoot.

发明内容Contents of the invention

本公开提供了一种拍摄模式设置方法、装置及存储介质,可以解决相关技术中存在的问题。所述技术方案如下:The present disclosure provides a shooting mode setting method, device and storage medium, which can solve the problems existing in related technologies. Described technical scheme is as follows:

根据本公开实施例的第一方面,提供了一种拍摄模式设置方法,所述方法包括:According to a first aspect of an embodiment of the present disclosure, there is provided a shooting mode setting method, the method comprising:

从终端的媒体数据库中,获取所述终端已拍摄的至少一个历史媒体数据;Obtain at least one piece of historical media data captured by the terminal from the media database of the terminal;

对每个历史媒体数据进行分类,确定每个历史媒体数据所属的目标类别,一种目标类别对应于一种拍摄模式;Classify each historical media data, determine the target category to which each historical media data belongs, and one target category corresponds to one shooting mode;

对所述至少一个历史媒体数据所属的目标类别进行统计,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式,所述默认拍摄模式为所述终端启动相机时开启的拍摄模式。Perform statistics on the target category to which the at least one historical media data belongs, and set the shooting mode corresponding to the target category with the most occurrences as the default shooting mode, and the default shooting mode is the shooting mode that is turned on when the terminal starts the camera.

在一种可能的实现方式中,所述从终端的媒体数据库中,获取所述终端已拍摄的至少一个历史媒体数据,包括:In a possible implementation manner, the acquiring at least one piece of historical media data captured by the terminal from the media database of the terminal includes:

统计所述媒体数据库中所述终端已拍摄的历史照片数量;Counting the number of historical photos taken by the terminal in the media database;

统计所述媒体数据库中所述终端已拍摄的历史视频数量;Counting the number of historical videos taken by the terminal in the media database;

当所述历史照片数量大于所述历史视频数量时,从所述媒体数据库中获取所述终端已拍摄的历史照片;When the number of historical photos is greater than the number of historical videos, acquiring historical photos taken by the terminal from the media database;

当所述历史照片数量小于所述历史视频数量时,从所述媒体数据库中获取所述终端已拍摄的历史视频;When the number of historical photos is less than the number of historical videos, acquiring historical videos taken by the terminal from the media database;

当所述历史照片数量等于所述历史视频数量时,从所述媒体数据库中获取所述终端已拍摄的历史照片和历史视频。When the number of historical photos is equal to the number of historical videos, the historical photos and historical videos taken by the terminal are acquired from the media database.

在另一种可能的实现方式中,所述从终端的媒体数据库中,获取所述终端已拍摄的至少一个历史媒体数据,包括以下至少一项:In another possible implementation manner, the acquisition of at least one piece of historical media data captured by the terminal from the media database of the terminal includes at least one of the following:

从所述终端本地的媒体数据库中,获取所述终端已拍摄的至少一个历史媒体数据;Obtain at least one piece of historical media data captured by the terminal from a local media database of the terminal;

从所述终端关联的云媒体数据库中,获取所述终端已拍摄的至少一个历史媒体数据,所述终端已拍摄的历史媒体数据由所述终端拍摄后上传至所述云媒体数据库。Obtaining at least one piece of historical media data captured by the terminal from a cloud media database associated with the terminal, where the historical media data captured by the terminal is uploaded to the cloud media database after being captured by the terminal.

在另一种可能的实现方式中,所述对每个历史媒体数据进行分类,确定每个历史媒体数据所属的目标类别,包括:In another possible implementation manner, the classifying each historical media data and determining the target category to which each historical media data belongs includes:

对于每个历史媒体数据,提取所述历史媒体数据的属性特征;For each historical media data, extract the attribute characteristics of the historical media data;

将所述属性特征分别输入至多个预设分类模型,由所述多个预设分类模型分别对所述属性特征进行分类,并输出分类结果,每个预设分类模型用于区分属于目标类别的媒体数据和属于与所述目标类别相反的类别的媒体数据,且不同预设分类模型对应的目标类别不同;The attribute characteristics are respectively input into a plurality of preset classification models, and the attribute characteristics are respectively classified by the plurality of preset classification models, and the classification results are output, and each preset classification model is used to distinguish objects belonging to the target category. Media data and media data belonging to a category opposite to the target category, and the target categories corresponding to different preset classification models are different;

确定输出的多个分类结果中包含的至少一种目标类别,作为所述历史媒体数据所属的目标类别。Determining at least one target category included in the multiple output classification results as the target category to which the historical media data belongs.

在另一种可能的实现方式中,所述方法还包括:In another possible implementation, the method further includes:

根据每个历史媒体数据所属的目标类别,为每个历史媒体数据添加类别标签;Adding a category label to each historical media data according to the target category to which each historical media data belongs;

所述对所述至少一个历史媒体数据所属的目标类别进行统计,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式,包括:The performing statistics on the target category to which the at least one historical media data belongs, and setting the shooting mode corresponding to the target category with the largest number of occurrences as the default shooting mode, including:

对添加的每个类别标签的数量进行统计,将数量最大的类别标签对应的拍摄模式设置为默认拍摄模式。The quantity of each category label added is counted, and the shooting mode corresponding to the category label with the largest number is set as the default shooting mode.

根据本公开实施例的第二方面,提供了一种拍摄模式设置装置,所述装置包括:According to a second aspect of an embodiment of the present disclosure, there is provided a shooting mode setting device, the device comprising:

数据获取模块,用于从终端的媒体数据库中,获取所述终端已拍摄的至少一个历史媒体数据;A data acquisition module, configured to acquire at least one piece of historical media data captured by the terminal from the media database of the terminal;

分类模块,用于对每个历史媒体数据进行分类,确定每个历史媒体数据所属的目标类别,一种目标类别对应于一种拍摄模式;A classification module, configured to classify each historical media data, determine the target category to which each historical media data belongs, and a target category corresponds to a shooting mode;

设置模块,用于对所述至少一个历史媒体数据所属的目标类别进行统计,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式,所述默认拍摄模式为所述终端启动相机时开启的拍摄模式。A setting module, configured to perform statistics on the target category to which the at least one historical media data belongs, and set the shooting mode corresponding to the target category with the largest number of occurrences as the default shooting mode, and the default shooting mode is opened when the terminal starts the camera shooting mode.

在一种可能的实现方式中,所述数据获取模块,包括:In a possible implementation manner, the data acquisition module includes:

统计单元,用于统计所述媒体数据库中所述终端已拍摄的历史照片数量;A statistical unit, configured to count the number of historical photos taken by the terminal in the media database;

所述统计单元,还用于统计所述媒体数据库中所述终端已拍摄的历史视频数量;The statistical unit is also used to count the number of historical videos shot by the terminal in the media database;

第一获取单元,用于当所述历史照片数量大于所述历史视频数量时,从所述媒体数据库中获取所述终端已拍摄的历史照片;A first acquiring unit, configured to acquire historical photos taken by the terminal from the media database when the number of historical photos is greater than the number of historical videos;

第二获取单元,用于当所述历史照片数量小于所述历史视频数量时,从所述媒体数据库中获取所述终端已拍摄的历史视频;A second acquiring unit, configured to acquire historical videos taken by the terminal from the media database when the number of historical photos is less than the number of historical videos;

第三获取单元,用于当所述历史照片数量等于所述历史视频数量时,从所述媒体数据库中获取所述终端已拍摄的历史照片和历史视频。A third acquiring unit, configured to acquire historical photos and historical videos taken by the terminal from the media database when the number of historical photos is equal to the number of historical videos.

在另一种可能的实现方式中,所述数据获取模块,还用于执行以下至少一项操作:In another possible implementation manner, the data acquisition module is further configured to perform at least one of the following operations:

从所述终端本地的媒体数据库中,获取所述终端已拍摄的至少一个历史媒体数据;Obtain at least one piece of historical media data captured by the terminal from a local media database of the terminal;

从所述终端关联的云媒体数据库中,获取所述终端已拍摄的至少一个历史媒体数据,所述终端已拍摄的历史媒体数据由所述终端拍摄后上传至所述云媒体数据库。Obtaining at least one piece of historical media data captured by the terminal from a cloud media database associated with the terminal, where the historical media data captured by the terminal is uploaded to the cloud media database after being captured by the terminal.

在另一种可能的实现方式中,所述分类模块,包括:In another possible implementation manner, the classification module includes:

特征提取单元,用于对于每个历史媒体数据,提取所述历史媒体数据的属性特征;A feature extraction unit, configured to extract attribute features of the historical media data for each historical media data;

分类单元,用于将所述属性特征分别输入至多个预设分类模型,由所述多个预设分类模型分别对所述属性特征进行分类,并输出分类结果,每个预设分类模型用于区分属于目标类别的媒体数据和属于与所述目标类别相反的类别的媒体数据,且不同预设分类模型对应的目标类别不同;A classification unit, configured to input the attribute characteristics into a plurality of preset classification models, respectively classify the attribute characteristics by the plurality of preset classification models, and output classification results, and each preset classification model is used for distinguishing media data belonging to a target category from media data belonging to a category opposite to the target category, and the target categories corresponding to different preset classification models are different;

确定单元,用于确定输出的多个分类结果中包含的至少一种目标类别,作为所述历史媒体数据所属的目标类别。A determining unit, configured to determine at least one target category included in the output classification results as the target category to which the historical media data belongs.

在另一种可能的实现方式中,所述装置还包括:In another possible implementation manner, the device further includes:

标签添加模块,用于根据每个历史媒体数据所属的目标类别,为每个历史媒体数据添加类别标签;A label adding module is used to add a category label to each historical media data according to the target category to which each historical media data belongs;

所述设置模块,还用于对添加的每个类别标签的数量进行统计,将数量最大的类别标签对应的拍摄模式设置为默认拍摄模式。The setting module is also used to count the number of each category label added, and set the shooting mode corresponding to the category label with the largest number as the default shooting mode.

根据本公开实施例的第三方面,提供了一种拍摄模式设置装置,所述装置包括:According to a third aspect of an embodiment of the present disclosure, there is provided a shooting mode setting device, the device comprising:

处理器;processor;

用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;

其中,所述处理器被配置为:Wherein, the processor is configured as:

从终端的媒体数据库中,获取所述终端已拍摄的至少一个历史媒体数据;Obtain at least one piece of historical media data captured by the terminal from the media database of the terminal;

对每个历史媒体数据进行分类,确定每个历史媒体数据所属的目标类别,一种目标类别对应于一种拍摄模式;Classify each historical media data, determine the target category to which each historical media data belongs, and one target category corresponds to one shooting mode;

对所述至少一个历史媒体数据所属的目标类别进行统计,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式,所述默认拍摄模式为所述终端启动相机时开启的拍摄模式。Perform statistics on the target category to which the at least one historical media data belongs, and set the shooting mode corresponding to the target category with the most occurrences as the default shooting mode, and the default shooting mode is the shooting mode that is turned on when the terminal starts the camera.

根据本公开实施例的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如第一方面所述的拍摄模式设置方法中所执行的操作。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein at least one instruction is stored in the computer-readable storage medium, and the instruction is loaded and executed by a processor to implement the above-mentioned method described in the first aspect. Operations performed in the shooting mode setting method described above.

本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

本实施例提供的方法、装置及存储介质,通过对终端已拍摄的历史媒体数据进行分类,确定历史媒体数据所属的目标类别,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式。本公开通过历史媒体数据所属的目标类别确定该历史媒体数据适用的拍摄模式,从而能够根据用户的拍摄习惯设置默认拍摄模式,尽可能地避免了由于设置了用户不习惯的默认拍摄模式而造成用户需要手动切换拍摄模式的情况,简化了用户的操作,提高了拍摄效率,而且不会为所有的终端设置同一种默认拍摄模式,实现了默认拍摄模式的个性化设置,提高了灵活性。The method, device, and storage medium provided in this embodiment determine the target category to which the historical media data belongs by classifying the historical media data captured by the terminal, and set the shooting mode corresponding to the target category with the most occurrences as the default shooting mode. This disclosure determines the shooting mode applicable to the historical media data through the target category to which the historical media data belongs, so that the default shooting mode can be set according to the user's shooting habits, and the user is prevented from causing problems due to setting a default shooting mode that the user is not used to. The need to manually switch the shooting mode simplifies the user's operation and improves the shooting efficiency, and does not set the same default shooting mode for all terminals, which realizes the personalized setting of the default shooting mode and improves flexibility.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的一种拍摄模式设置方法的流程图;Fig. 1 is a flow chart of a method for setting a shooting mode according to an exemplary embodiment;

图2A是根据一示例性实施例示出的一种拍摄模式设置方法的流程图;Fig. 2A is a flowchart of a shooting mode setting method according to an exemplary embodiment;

图2B是根据一示例性实施例示出的一种操作流程的示意图;Fig. 2B is a schematic diagram of an operation process according to an exemplary embodiment;

图3是根据一示例性实施例示出的一种拍摄模式设置装置的框图;Fig. 3 is a block diagram of an apparatus for setting a shooting mode according to an exemplary embodiment;

图4是根据一示例性实施例示出的一种拍摄模式设置装置的框图。Fig. 4 is a block diagram showing a shooting mode setting device according to an exemplary embodiment.

具体实施方式Detailed ways

为使本公开的目的、技术方案和优点更加清楚明白,下面结合实施方式和附图,对本公开做进一步详细说明。在此,本公开的示意性实施方式及其说明用于解释本公开,但并不作为对本公开的限定。In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be described in further detail below in conjunction with the implementation manners and accompanying drawings. Here, the exemplary embodiments of the present disclosure and their descriptions are used to explain the present disclosure, but not to limit the present disclosure.

本公开实施例提供一种拍摄模式设置方法、装置及存储介质,以下结合附图对本公开进行详细说明。Embodiments of the present disclosure provide a shooting mode setting method, device, and storage medium, and the present disclosure will be described in detail below with reference to the accompanying drawings.

图1是根据一示例性实施例示出的一种拍摄模式设置方法的流程图,应用于终端中,如图1所示,包括以下步骤:Fig. 1 is a flow chart of a method for setting a shooting mode according to an exemplary embodiment, which is applied to a terminal, as shown in Fig. 1 , including the following steps:

在步骤101中,从终端的媒体数据库中,获取终端已拍摄的至少一个历史媒体数据。In step 101, at least one piece of historical media data captured by the terminal is obtained from a media database of the terminal.

在步骤102中,对每个历史媒体数据进行分类,确定每个历史媒体数据所属的目标类别,一种目标类别对应于一种拍摄模式。In step 102, each historical media data is classified, and the target category to which each historical media data belongs is determined, and one target category corresponds to one shooting mode.

在步骤103中,对至少一个历史媒体数据所属的目标类别进行统计,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式,默认拍摄模式为终端启动相机时开启的拍摄模式。In step 103, the target category to which at least one historical media data belongs is counted, and the shooting mode corresponding to the target category with the largest number of occurrences is set as the default shooting mode, and the default shooting mode is the shooting mode that is turned on when the terminal starts the camera.

本实施例提供的方法,通过对终端已拍摄的历史媒体数据进行分类,确定历史媒体数据所属的目标类别,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式。本公开通过历史媒体数据所属的目标类别确定该历史媒体数据适用的拍摄模式,从而能够根据用户的拍摄习惯设置默认拍摄模式,尽可能地避免了由于设置了用户不习惯的默认拍摄模式而造成用户需要手动切换拍摄模式的情况,简化了用户的操作,提高了拍摄效率,而且不会为所有的终端设置同一种默认拍摄模式,实现了默认拍摄模式的个性化设置,提高了灵活性。The method provided in this embodiment determines the target category to which the historical media data belongs by classifying the historical media data captured by the terminal, and sets the shooting mode corresponding to the target category with the largest number of occurrences as the default shooting mode. This disclosure determines the shooting mode applicable to the historical media data through the target category to which the historical media data belongs, so that the default shooting mode can be set according to the user's shooting habits, and the user is prevented from causing problems due to setting a default shooting mode that the user is not used to. The need to manually switch the shooting mode simplifies the user's operation and improves the shooting efficiency, and does not set the same default shooting mode for all terminals, which realizes the personalized setting of the default shooting mode and improves flexibility.

在一种可能的实现方式中,从终端的媒体数据库中,获取终端已拍摄的至少一个历史媒体数据,包括:In a possible implementation manner, at least one piece of historical media data captured by the terminal is obtained from the media database of the terminal, including:

统计媒体数据库中终端已拍摄的历史照片数量;Count the number of historical photos taken by the terminal in the media database;

统计媒体数据库中终端已拍摄的历史视频数量;Count the number of historical videos taken by the terminal in the media database;

当历史照片数量大于历史视频数量时,从媒体数据库中获取终端已拍摄的历史照片;When the number of historical photos is greater than the number of historical videos, obtain the historical photos taken by the terminal from the media database;

当历史照片数量小于历史视频数量时,从媒体数据库中获取终端已拍摄的历史视频;When the number of historical photos is less than the number of historical videos, obtain the historical videos taken by the terminal from the media database;

当历史照片数量等于历史视频数量时,从媒体数据库中获取终端已拍摄的历史照片和历史视频。When the number of historical photos is equal to the number of historical videos, the historical photos and historical videos taken by the terminal are obtained from the media database.

在另一种可能的实现方式中,从终端的媒体数据库中,获取终端已拍摄的至少一个历史媒体数据,包括以下至少一项:In another possible implementation manner, at least one piece of historical media data captured by the terminal is obtained from the media database of the terminal, including at least one of the following:

从终端本地的媒体数据库中,获取终端已拍摄的至少一个历史媒体数据;Obtain at least one piece of historical media data captured by the terminal from a local media database of the terminal;

从终端关联的云媒体数据库中,获取终端已拍摄的至少一个历史媒体数据,终端已拍摄的历史媒体数据由终端拍摄后上传至云媒体数据库。At least one piece of historical media data captured by the terminal is acquired from the cloud media database associated with the terminal, and the historical media data captured by the terminal is uploaded to the cloud media database after being captured by the terminal.

在另一种可能的实现方式中,对每个历史媒体数据进行分类,确定每个历史媒体数据所属的目标类别,包括:In another possible implementation manner, classify each historical media data, and determine the target category to which each historical media data belongs, including:

对于每个历史媒体数据,提取历史媒体数据的属性特征;For each historical media data, extracting attribute characteristics of the historical media data;

将属性特征分别输入至多个预设分类模型,由多个预设分类模型分别对属性特征进行分类,并输出分类结果,每个预设分类模型用于区分属于目标类别的媒体数据和属于与目标类别相反的类别的媒体数据,且不同预设分类模型对应的目标类别不同;The attribute features are respectively input into multiple preset classification models, and the attribute features are respectively classified by the multiple preset classification models, and the classification results are output. Each preset classification model is used to distinguish the media data belonging to the target category from the target category. Media data of opposite categories, and different preset classification models correspond to different target categories;

确定输出的多个分类结果中包含的至少一种目标类别,作为历史媒体数据所属的目标类别。Determine at least one target category included in the multiple output classification results as the target category to which the historical media data belongs.

在另一种可能的实现方式中,方法还包括:In another possible implementation, the method further includes:

根据每个历史媒体数据所属的目标类别,为每个历史媒体数据添加类别标签;Adding a category label to each historical media data according to the target category to which each historical media data belongs;

对至少一个历史媒体数据所属的目标类别进行统计,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式,包括:Make statistics on the target category to which at least one historical media data belongs, and set the shooting mode corresponding to the target category with the most occurrences as the default shooting mode, including:

对添加的每个类别标签的数量进行统计,将数量最大的类别标签对应的拍摄模式设置为默认拍摄模式。The quantity of each category label added is counted, and the shooting mode corresponding to the category label with the largest number is set as the default shooting mode.

相关技术中,通常将某种固定的拍摄模式设置为默认拍摄模式,导致每个终端均设置相同的默认拍摄模式,启动相机时用户可能需要手动切换拍摄模式,才能使用自己习惯的拍摄模式进行拍摄。而本实施例中通过对终端已拍摄的历史媒体数据进行统计分析,确定终端用户习惯使用的拍摄模式,将用户习惯使用的拍摄模式设置为默认拍摄模式,尽可能地避免了用户手动切换拍摄模式的情况,具体过程详见下述实施例。In related technologies, a certain fixed shooting mode is usually set as the default shooting mode, so that each terminal is set to the same default shooting mode. When starting the camera, the user may need to manually switch the shooting mode in order to use the shooting mode he is accustomed to for shooting . However, in this embodiment, by statistically analyzing the historical media data captured by the terminal, the shooting mode that the terminal user is accustomed to using is determined, and the shooting mode that the user is accustomed to using is set as the default shooting mode, so as to avoid the manual switching of the shooting mode by the user as much as possible. For the specific process, see the following examples for details.

图2A是根据一示例性实施例示出的一种拍摄模式设置方法的流程图,如图2A所示,该方法用于终端中,包括以下步骤:Fig. 2A is a flowchart of a method for setting a shooting mode according to an exemplary embodiment. As shown in Fig. 2A, the method is used in a terminal and includes the following steps:

在步骤201中,终端从媒体数据库中,获取终端已拍摄的至少一个历史媒体数据。In step 201, the terminal acquires at least one piece of historical media data captured by the terminal from a media database.

其中,该终端配置有相机,可以通过相机拍摄媒体数据,该终端可以为手机、平板电脑等类型的设备。Wherein, the terminal is equipped with a camera, and media data can be photographed through the camera, and the terminal can be a mobile phone, a tablet computer, and other types of equipment.

该终端具有媒体数据库,该媒体数据库中可以存储该终端已拍摄的历史媒体数据,这些终端已拍摄的历史媒体数据也即是用户使用终端拍摄的媒体数据。为了确定终端的用户习惯使用的拍摄模式,可以从媒体数据库中获取终端已拍摄的至少一个历史媒体数据,对这些历史媒体数据进行统计分析。The terminal has a media database, which can store historical media data captured by the terminal, and the historical media data captured by the terminal is media data captured by the user using the terminal. In order to determine the shooting mode used by the user of the terminal, at least one piece of historical media data that has been captured by the terminal may be obtained from the media database, and statistical analysis is performed on the historical media data.

另外,该媒体数据库中还可以存储该终端下载的媒体数据或者其他终端发送给该终端的媒体数据等多种来源的媒体数据。实际应用中可以为媒体数据添加标记,表明媒体数据的来源,从而将不同来源的媒体数据区分开,例如为拍摄的媒体数据添加拍摄标记,为下载的媒体数据添加下载标记。In addition, the media database may also store media data from various sources, such as media data downloaded by the terminal or media data sent to the terminal by other terminals. In practical applications, a mark can be added to the media data to indicate the source of the media data, so as to distinguish media data from different sources, for example, add a shooting mark to the captured media data, and add a download mark to the downloaded media data.

在一种可能实现方式中,该媒体数据库可以为终端本地的媒体数据库,每次终端拍摄到媒体数据时,存储于本地的媒体数据库中,相应地,当要设置默认拍摄模式时,终端从本地的媒体数据库中获取已拍摄的至少一个历史媒体数据。In a possible implementation manner, the media database may be a local media database of the terminal, and each time the terminal captures media data, it is stored in the local media database. Obtain at least one piece of historical media data that has been captured in the media database of the device.

在另一种可能实现方式中,该媒体数据库也可以为终端关联的云媒体数据库,每次终端拍摄到媒体数据时,可以将已拍摄的媒体数据上传至云媒体数据库进行存储。相应地,终端可以从关联的云媒体数据库中获取已拍摄的至少一个历史媒体数据。In another possible implementation manner, the media database may also be a cloud media database associated with the terminal, and each time the terminal captures media data, the captured media data may be uploaded to the cloud media database for storage. Correspondingly, the terminal can acquire at least one historical media data that has been photographed from the associated cloud media database.

其中,该云媒体数据库可以为与终端关联的服务器上设置的媒体数据库,也可以为与终端安装的文件管理应用关联的服务器上设置的媒体数据库等,终端可以基于用户标识登录云媒体数据库,该用户标识可以为手机号码或者注册的用户账号等。Wherein, the cloud media database may be a media database set on a server associated with the terminal, or a media database set on a server associated with a file management application installed on the terminal, etc., and the terminal may log in to the cloud media database based on a user ID. The user identifier may be a mobile phone number or a registered user account.

实际应用中,终端可以从本地的媒体数据库和云媒体数据库中选取其中一个媒体数据库,例如若终端拍摄媒体数据时,为了节省本地的存储空间,会将媒体数据上传至云媒体数据库,而将本地媒体数据库中的媒体数据删除,则在步骤201中可以从云媒体数据库中获取历史媒体数据,而不再采用本地媒体数据库。若终端的本地媒体数据库和云媒体数据库保持同步,则在步骤201中可以直接从本地媒体数据库中获取历史媒体数据,从而节省了从云媒体数据库获取历史媒体数据时消耗的数据流量。In practical applications, the terminal can select one of the media databases from the local media database and the cloud media database. If the media data in the media database is deleted, then in step 201, the historical media data can be obtained from the cloud media database instead of using the local media database. If the local media database of the terminal is synchronized with the cloud media database, the historical media data can be obtained directly from the local media database in step 201, thereby saving the data traffic consumed when obtaining the historical media data from the cloud media database.

另外,媒体数据可以包括照片和视频两种类型,针对照片来说,拍摄照片时可以采用的拍摄模式包括普通拍照模式、自拍模式、美颜模式、风景模式、美食模式等,而拍摄视频时可以采用的拍摄模式包括普通拍摄模式、慢动作拍摄模式和延迟摄影模式等,针对照片和视频这两种不同类型的媒体数据,可以采用的拍摄模式不同。因此,在设置默认拍摄模式时,可以设置适用于照片的拍摄模式,也可以设置适用于视频的拍摄模式。In addition, media data can include two types of photos and videos. For photos, the shooting modes that can be used when taking photos include normal photo mode, selfie mode, beauty mode, landscape mode, food mode, etc., while shooting videos can be The shooting modes adopted include normal shooting mode, slow-motion shooting mode, and delayed shooting mode, etc., and different shooting modes can be used for two different types of media data, photos and videos. Therefore, when setting the default shooting mode, you can set the shooting mode suitable for photos, and you can also set the shooting mode suitable for videos.

在一种可能实现方式中,终端可以获取媒体数据库中的历史拍摄照片和历史拍摄视频,以便根据历史拍摄照片和历史拍摄视频确定要设置的默认拍摄模式,则该默认拍摄模式可能是适用于照片的拍摄模式,也可能是适用于视频的拍摄模式。In a possible implementation, the terminal can obtain the historically taken photos and historically taken videos in the media database, so as to determine the default shooting mode to be set according to the historically taken photos and historically taken videos, then the default shooting mode may be suitable for photos shooting mode, and possibly a shooting mode suitable for video.

在另一种可能实现方式中,终端可以先统计媒体数据库中终端已拍摄的历史照片数量和已拍摄的历史视频数量,根据两种类型的历史媒体数据的数量确定用户习惯拍摄哪一种类型的媒体数据,再根据相应类型的历史媒体数据设置相应的默认拍摄模式。In another possible implementation, the terminal can first count the number of historical photos and the number of historical videos taken by the terminal in the media database, and determine which type of video the user is accustomed to shooting according to the amount of the two types of historical media data. Media data, and then set the corresponding default shooting mode according to the corresponding type of historical media data.

也即是,当历史照片数量大于历史视频数量时,表示用户习惯拍摄照片,从媒体数据库中获取终端已拍摄的历史照片,以便根据获取的历史照片设置默认拍摄模式,则所设置的默认拍摄模式适用于拍摄照片。当历史照片数量小于历史视频数量时,表示用户习惯拍摄视频,从媒体数据库中获取终端已拍摄的历史视频,以便根据获取的历史视频设置默认拍摄模式,则所设置的默认拍摄模式适用于拍摄视频。当历史照片数量等于历史视频数量时,从媒体数据库中获取终端已拍摄的历史照片和历史视频,以便根据获取的历史照片和历史视频设置默认拍摄模式。That is to say, when the number of historical photos is greater than the number of historical videos, it means that the user is used to taking photos, and the historical photos taken by the terminal are obtained from the media database, so as to set the default shooting mode according to the obtained historical photos, then the set default shooting mode Suitable for taking photos. When the number of historical photos is less than the number of historical videos, it means that the user is used to shooting videos, and the historical videos taken by the terminal are obtained from the media database, so that the default shooting mode can be set according to the acquired historical videos, and the set default shooting mode is suitable for shooting videos . When the number of historical photos is equal to the number of historical videos, the historical photos and historical videos taken by the terminal are acquired from the media database, so as to set a default shooting mode according to the acquired historical photos and historical videos.

在步骤202中,终端对每个历史媒体数据进行分类,确定每个历史媒体数据所属的目标类别。In step 202, the terminal classifies each historical media data, and determines the target category to which each historical media data belongs.

本实施例中,终端可以提供多种拍摄模式,并设置与每种拍摄模式对应的目标类别,表示采用任一种拍摄模式可以拍摄出属于对应的目标类别的媒体数据。例如,采用美食模式可以拍摄出美食照片,采用自拍模式可以拍摄出自拍照片。In this embodiment, the terminal can provide multiple shooting modes, and set a target category corresponding to each shooting mode, indicating that media data belonging to the corresponding target category can be captured by using any shooting mode. For example, gourmet mode can be used to capture food photos, and selfie mode can be used to capture selfie photos.

相应地,针对已经拍摄完成的历史媒体数据来说,如果该历史媒体数据属于某一种目标类别,则表示该历史媒体数据可能是采用该目标类别对应的拍摄模式拍摄的,或者,即使该历史媒体数据不是采用该目标类别对应的拍摄模式拍摄,也可以表示用户拍摄了属于该目标类别的媒体数据,对属于目标类别的媒体数据感兴趣。例如,美食照片很可能是用户采用美食模式拍摄的,或者即使用户未采用美食模式拍摄,也可以看出用户拍摄了美食照片。Correspondingly, for historical media data that has been photographed, if the historical media data belongs to a certain target category, it means that the historical media data may have been photographed using the shooting mode corresponding to the target category, or even if the historical media data The media data is not shot in the shooting mode corresponding to the target category, which may also indicate that the user has shot the media data belonging to the target category and is interested in the media data belonging to the target category. For example, a photo of food is likely taken by the user in food mode, or it can be seen that the user took a photo of food even if the user did not take it in food mode.

因此,终端获取到至少一个历史媒体数据时,对每个历史媒体数据进行分类,确定每个历史媒体数据属于哪一种目标类别,即可确定每个历史媒体数据对应的拍摄模式。Therefore, when the terminal acquires at least one piece of historical media data, it classifies each historical media data and determines which target category each historical media data belongs to, so as to determine the shooting mode corresponding to each historical media data.

在一种可能实现方式中,终端可以建立与多种目标类别分别对应的多个预设分类模型,每个预设分类模型用于区分属于目标类别的媒体数据和属于与目标类别相反的类别的媒体数据,即将媒体数据划分为两类,且不同预设分类模型对应的目标类别不同。采用每种预设分类模型可以确定历史媒体数据是否属于对应的目标类别,从而确定历史媒体数据是否适用于与目标类别对应的拍摄模式。In a possible implementation manner, the terminal may establish a plurality of preset classification models respectively corresponding to various target categories, and each preset classification model is used to distinguish media data belonging to the target category from media data belonging to the opposite category to the target category. Media data, that is, media data is divided into two categories, and different preset classification models correspond to different target categories. Each preset classification model can be used to determine whether the historical media data belongs to the corresponding target category, thereby determining whether the historical media data is applicable to the shooting mode corresponding to the target category.

在训练过程中,对于设置的每种目标类别,可以获取属于目标类别的多个样本媒体数据以及不属于目标类别的多个样本媒体数据,分别提取每个样本媒体数据的属性特征,根据这些样本媒体数据的属性特征进行训练,从而训练出预设分类模型,则针对多种目标类别可以分别训练出多个预设分类模型。During the training process, for each target category set, multiple sample media data belonging to the target category and multiple sample media data not belonging to the target category can be obtained, and the attribute characteristics of each sample media data are extracted respectively. According to these samples The attribute features of the media data are trained to train a preset classification model, and multiple preset classification models can be trained for multiple target categories.

例如,目标类别为美食类,则根据包含美食的照片和不包含美食的照片的属性特征进行训练,得到美食分类模型,采用该美食分类模型可以确定某一照片中是否包含美食。另一目标类别为自拍类,则根据自拍照片和他拍照片的属性特征进行训练,得到自拍分类模型,采用该自拍分类模型可以确定某一照片是否是自拍得到。For example, if the target category is gourmet, then training is performed according to the attribute features of photos containing gourmet and photos that do not contain gourmet, and a gourmet classification model is obtained. Using the gourmet classification model, it can be determined whether a certain photo contains gourmet. The other target category is the selfie category, and training is carried out according to the attributes and characteristics of the selfie photos and photos taken by others to obtain a selfie classification model, which can be used to determine whether a certain photo is taken by a selfie.

其中,训练预设分类模型时采用的算法可以为支持向量机算法、深度神经网络算法、决策树算法等。Wherein, the algorithm adopted when training the preset classification model may be a support vector machine algorithm, a deep neural network algorithm, a decision tree algorithm, and the like.

在分类过程中,终端可以提取历史媒体数据的属性特征,将属性特征输入至预设分类模型,由预设分类模型对属性特征进行分类,并输出分类结果,该分类结果可能是历史媒体数据属于该预设分类模型对应的目标类别,也可能是历史媒体数据属于与目标类别相反的类别。通过将历史媒体数据的属性特征分别输入至多个预设分类模型,可以得到多个分类结果,则确定输出的多个分类结果中包含的至少一种目标类别,作为历史媒体数据所属的目标类别。During the classification process, the terminal can extract the attribute features of the historical media data, input the attribute features into the preset classification model, classify the attribute features by the preset classification model, and output the classification result, which may be that the historical media data belongs to The target category corresponding to the preset classification model may also be that the historical media data belongs to a category opposite to the target category. Multiple classification results can be obtained by inputting attribute characteristics of the historical media data into multiple preset classification models, and at least one target category included in the output multiple classification results is determined as the target category to which the historical media data belongs.

例如,目标类别包括美食类和自拍类,采用训练得到的美食分类模型对历史媒体数据进行分类,确定该历史媒体数据为包含美食的照片,而采用训练得到的自拍分类模型确定历史媒体数据不是自拍照片,而是他拍照片,则可以确定该历史媒体数据所属的目标类别为美食类。For example, if the target categories include gourmet and selfies, use the trained food classification model to classify the historical media data, and determine that the historical media data is a photo containing food, and use the trained selfie classification model to determine that the historical media data is not a selfie photo, but he takes a photo, then it can be determined that the target category to which the historical media data belongs is the gourmet category.

在步骤203中,终端根据每个历史媒体数据所属的目标类别,为每个历史媒体数据添加类别标签。In step 203, the terminal adds a category label to each historical media data according to the target category to which each historical media data belongs.

在步骤204中,终端对添加的每个类别标签的数量进行统计,将数量最大的类别标签对应的拍摄模式设置为默认拍摄模式。In step 204, the terminal counts the number of each added category label, and sets the shooting mode corresponding to the category label with the largest number as the default shooting mode.

为了便于统计,当确定某一历史媒体数据所属的目标类别时,为该历史媒体数据添加表示该目标类别的类别标签,针对每个历史媒体数据重复执行添加类别标签的步骤,进而可以确定每个历史媒体数据的类别标签,这些历史媒体数据的类别标签可能相同也可能不同。For the convenience of statistics, when determining the target category to which a certain historical media data belongs, add a category label representing the target category to the historical media data, repeat the step of adding category labels for each historical media data, and then determine each Category labels of historical media data, which may or may not be the same.

则对于添加过的每个类别标签的数量进行统计,确定每个类别标签的数量,该数量的多少代表属于相应目标类别的历史媒体数据的多少,因此数量最大的类别标签所代表的目标类别对应的拍摄模式可以认为是用户习惯使用的拍摄模式,因此将该拍摄模式设置为默认拍摄模式。设置之后,每当终端启动相机时,即可开启该默认拍摄模式,用户即可直接采用习惯使用的拍摄模式进行拍摄。Then count the number of each category label that has been added to determine the number of each category label, which represents the amount of historical media data belonging to the corresponding target category, so the target category represented by the category label with the largest number corresponds to The shooting mode of can be considered as the shooting mode that the user is used to, so this shooting mode is set as the default shooting mode. After setting, whenever the terminal starts the camera, the default shooting mode can be turned on, and the user can directly use the shooting mode that is used to shooting.

图2B是根据一示例性实施例示出的一种操作流程的示意图,针对历史媒体数据进行分类,确定每个历史媒体数据对应的拍摄模式,然后统计出用户习惯使用的拍摄模式,作为默认拍摄模式。Fig. 2B is a schematic diagram of an operation process according to an exemplary embodiment, which classifies historical media data, determines the shooting mode corresponding to each historical media data, and then calculates the shooting mode that the user is used to as the default shooting mode .

需要说明的是,本实施例提供的设置默认拍摄模式的方法可以在终端使用过程中的任一时刻执行,或者由终端周期性地执行,或者在终端开启相机时执行。并且,随着用户继续使用终端进行拍摄,所收集到的历史媒体数据也会增多,针对新增的历史媒体数据也可以采用上述步骤201-203添加类别标签,则在步骤204中可以根据之前获取的历史媒体数据的类别标签以及新增的历史媒体数据的类别标签进行统计,将数量最大的类别标签对应的拍摄模式设置为默认拍摄模式。It should be noted that the method for setting the default shooting mode provided in this embodiment may be executed at any time during the use of the terminal, or periodically by the terminal, or when the terminal turns on the camera. Moreover, as the user continues to use the terminal to shoot, the collected historical media data will also increase. For the newly added historical media data, the above steps 201-203 can also be used to add category tags, and then in step 204 can be obtained according to the previous The category labels of the historical media data and the category labels of the newly added historical media data are counted, and the shooting mode corresponding to the category label with the largest number is set as the default shooting mode.

本实施例提供的方法,通过对终端已拍摄的历史媒体数据进行分类,确定历史媒体数据所属的目标类别,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式。本公开通过历史媒体数据所属的目标类别确定该历史媒体数据适用的拍摄模式,从而能够根据用户的拍摄习惯设置默认拍摄模式,也即是将用户常用的拍摄模式设置为默认拍摄模式,或者在用户不知道使用哪种拍摄模式的情况下,根据用户拍摄的历史媒体数据的类别为用户设置合适的默认拍摄模式,尽可能地避免了由于设置了用户不习惯的默认拍摄模式而造成用户需要手动切换拍摄模式的情况,简化了用户的操作,提高了拍摄效率,提升了用户体验,而且不会为所有的终端设置同一种默认拍摄模式,实现了默认拍摄模式的个性化设置,做到了多人多面的相机,提高了灵活性。The method provided in this embodiment determines the target category to which the historical media data belongs by classifying the historical media data captured by the terminal, and sets the shooting mode corresponding to the target category with the most occurrences as the default shooting mode. This disclosure determines the shooting mode applicable to the historical media data through the target category to which the historical media data belongs, so that the default shooting mode can be set according to the shooting habits of the user, that is, the shooting mode commonly used by the user is set as the default shooting mode, or the shooting mode is set in the user If you don’t know which shooting mode to use, set an appropriate default shooting mode for the user according to the type of historical media data that the user shoots, and avoid as much as possible the need for the user to manually switch due to setting a default shooting mode that the user is not used to The situation of the shooting mode simplifies the user's operation, improves the shooting efficiency, and improves the user experience, and does not set the same default shooting mode for all terminals, realizes the personalized setting of the default shooting mode, and achieves multi-person and multi-faceted camera for increased flexibility.

图3是根据一示例性实施例示出的一种拍摄模式设置装置的框图。参见图3,该装置包括数据获取模块301,分类模块302和设置模块303。Fig. 3 is a block diagram showing a shooting mode setting device according to an exemplary embodiment. Referring to FIG. 3 , the device includes a data acquisition module 301 , a classification module 302 and a setting module 303 .

数据获取模块301,用于从终端的媒体数据库中,获取终端已拍摄的至少一个历史媒体数据;A data acquisition module 301, configured to acquire at least one piece of historical media data captured by the terminal from the media database of the terminal;

分类模块302,用于对每个历史媒体数据进行分类,确定每个历史媒体数据所属的目标类别,一种目标类别对应于一种拍摄模式;A classification module 302, configured to classify each historical media data, and determine the target category to which each historical media data belongs, and a target category corresponds to a shooting mode;

设置模块303,用于对至少一个历史媒体数据所属的目标类别进行统计,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式,默认拍摄模式为终端启动相机时开启的拍摄模式。The setting module 303 is used to make statistics on the target category to which at least one historical media data belongs, and set the shooting mode corresponding to the target category with the most occurrences as the default shooting mode, and the default shooting mode is the shooting mode that is turned on when the terminal starts the camera.

在一种可能的实现方式中,数据获取模块301,包括:In a possible implementation manner, the data acquisition module 301 includes:

统计单元,用于统计媒体数据库中终端已拍摄的历史照片数量;A statistical unit, used to count the number of historical photos taken by the terminal in the media database;

统计单元,还用于统计媒体数据库中终端已拍摄的历史视频数量;The statistical unit is also used to count the number of historical videos taken by the terminal in the media database;

第一获取单元,用于当历史照片数量大于历史视频数量时,从媒体数据库中获取终端已拍摄的历史照片;The first obtaining unit is used to obtain the historical photos taken by the terminal from the media database when the number of historical photos is greater than the number of historical videos;

第二获取单元,用于当历史照片数量小于历史视频数量时,从媒体数据库中获取终端已拍摄的历史视频;The second acquiring unit is used to acquire the historical videos taken by the terminal from the media database when the number of historical photos is less than the number of historical videos;

第三获取单元,用于当历史照片数量等于历史视频数量时,从媒体数据库中获取终端已拍摄的历史照片和历史视频。The third acquisition unit is configured to acquire the historical photos and historical videos taken by the terminal from the media database when the number of historical photos is equal to the number of historical videos.

在另一种可能的实现方式中,数据获取模块301,还用于执行以下至少一项操作:In another possible implementation manner, the data acquisition module 301 is also configured to perform at least one of the following operations:

从终端本地的媒体数据库中,获取终端已拍摄的至少一个历史媒体数据;Obtain at least one piece of historical media data captured by the terminal from a local media database of the terminal;

从终端关联的云媒体数据库中,获取终端已拍摄的至少一个历史媒体数据,终端已拍摄的历史媒体数据由终端拍摄后上传至云媒体数据库。At least one piece of historical media data captured by the terminal is acquired from the cloud media database associated with the terminal, and the historical media data captured by the terminal is uploaded to the cloud media database after being captured by the terminal.

在另一种可能的实现方式中,分类模块302,包括:In another possible implementation, the classification module 302 includes:

特征提取单元,用于对于每个历史媒体数据,提取历史媒体数据的属性特征;A feature extraction unit, configured to extract attribute features of the historical media data for each historical media data;

分类单元,用于将属性特征分别输入至多个预设分类模型,由多个预设分类模型分别对属性特征进行分类,并输出分类结果,每个预设分类模型用于区分属于目标类别的媒体数据和属于与目标类别相反的类别的媒体数据,且不同预设分类模型对应的目标类别不同;The classification unit is used to input the attribute features into multiple preset classification models, respectively classify the attribute features by the multiple preset classification models, and output the classification results, and each preset classification model is used to distinguish the media belonging to the target category Data and media data belonging to the category opposite to the target category, and different preset classification models correspond to different target categories;

确定单元,用于确定输出的多个分类结果中包含的至少一种目标类别,作为历史媒体数据所属的目标类别。A determining unit, configured to determine at least one target category included in the output classification results as the target category to which the historical media data belongs.

在另一种可能的实现方式中,装置还包括:In another possible implementation manner, the device further includes:

标签添加模块,用于根据每个历史媒体数据所属的目标类别,为每个历史媒体数据添加类别标签;A label adding module is used to add a category label to each historical media data according to the target category to which each historical media data belongs;

设置模块303,还用于对添加的每个类别标签的数量进行统计,将数量最大的类别标签对应的拍摄模式设置为默认拍摄模式。The setting module 303 is further configured to count the number of each category label added, and set the shooting mode corresponding to the category label with the largest number as the default shooting mode.

上述所有可选技术方案,可以采用任意结合形成本公开的可选实施例,在此不再一一赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present disclosure, which will not be repeated here.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

需要说明的是:上述实施例提供的拍摄模式设置装置在设置默认拍摄模式时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将终端的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的拍摄模式设置装置与拍摄模式设置方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the default shooting mode is set by the shooting mode setting device provided in the above-mentioned embodiment, the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be assigned to different functional modules according to needs. To complete means to divide the internal structure of the terminal into different functional modules, so as to complete all or part of the functions described above. In addition, the shooting mode setting device and the shooting mode setting method embodiment provided by the above embodiment belong to the same idea, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

图4是根据一示例性实施例示出的一种拍摄模式设置装置400的框图。例如,装置400可以是移动电话,计算机,数字广播装置,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 4 is a block diagram of an apparatus 400 for setting a shooting mode according to an exemplary embodiment. For example, device 400 may be a mobile phone, computer, digital broadcast device, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图4,装置400可以包括以下一个或多个组件:处理组件402,存储器404,电源组件406,多媒体组件408,音频组件410,输入/输出(I/O)的接口412,传感器组件414,以及通信组件416。4, device 400 may include one or more of the following components: processing component 402, memory 404, power supply component 406, multimedia component 408, audio component 410, input/output (I/O) interface 412, sensor component 414, and communication component 416 .

处理组件402通常控制装置400的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件402可以包括一个或多个处理器420来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件402可以包括一个或多个模块,便于处理组件402和其他组件之间的交互。例如,处理组件402可以包括多媒体模块,以方便多媒体组件408和处理组件402之间的交互。The processing component 402 generally controls the overall operations of the device 400, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 402 may include one or more modules that facilitate interaction between processing component 402 and other components. For example, processing component 402 may include a multimedia module to facilitate interaction between multimedia component 408 and processing component 402 .

存储器404被配置为存储各种类型的数据以支持在装置400的操作。这些数据的示例包括用于在装置400上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 404 is configured to store various types of data to support operations at the device 400 . Examples of such data include instructions for any application or method operating on device 400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 404 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件406为装置400的各种组件提供电力。电源组件406可以包括电源管理系统,一个或多个电源,及其他与为装置400生成、管理和分配电力相关联的组件。The power supply component 406 provides power to various components of the device 400 . Power components 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 400 .

多媒体组件408包括在所述装置400和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件408包括一个前置摄像头和/或后置摄像头。当装置400处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 408 includes a screen that provides an output interface between the device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. When the device 400 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件410被配置为输出和/或输入音频信号。例如,音频组件410包括一个麦克风(MIC),当装置400处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器404或经由通信组件416发送。在一些实施例中,音频组件410还包括一个扬声器,用于输出音频信号。The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a microphone (MIC), which is configured to receive external audio signals when the device 400 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 404 or sent via communication component 416 . In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

I/O接口412为处理组件402和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 412 provides an interface between the processing component 402 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件414包括一个或多个传感器,用于为装置400提供各个方面的状态评估。例如,传感器组件414可以检测到装置400的打开/关闭状态,组件的相对定位,例如所述组件为装置400的显示器和小键盘,传感器组件414还可以检测装置400或装置400一个组件的位置改变,用户与装置400接触的存在或不存在,装置400方位或加速/减速和装置400的温度变化。传感器组件414可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件414还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件414还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 414 includes one or more sensors for providing status assessments of various aspects of device 400 . For example, the sensor component 414 can detect the open/closed state of the device 400, the relative positioning of components, such as the display and keypad of the device 400, and the sensor component 414 can also detect a change in the position of the device 400 or a component of the device 400 , the presence or absence of user contact with the device 400 , the device 400 orientation or acceleration/deceleration and the temperature change of the device 400 . The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件416被配置为便于装置400和其他设备之间有线或无线方式的通信。装置400可以接入基于通信标准的无线网络,如Wi-Fi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件416经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件416还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 416 is configured to facilitate wired or wireless communication between the apparatus 400 and other devices. The device 400 can access wireless networks based on communication standards, such as Wi-Fi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置400可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, apparatus 400 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器404,上述指令可由装置400的处理器420执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 404 including instructions, which can be executed by the processor 420 of the device 400 to implement the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

一种计算机可读存储介质,当所述计算机可读存储介质中的指令由终端的处理器执行时,使得终端能够执行上述实施例中的方法,所述方法包括:A computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by the processor of the terminal, the terminal is enabled to execute the method in the above embodiment, the method includes:

从终端的媒体数据库中,获取终端已拍摄的至少一个历史媒体数据;From the media database of the terminal, obtain at least one piece of historical media data that the terminal has captured;

对每个历史媒体数据进行分类,确定每个历史媒体数据所属的目标类别,一种目标类别对应于一种拍摄模式;Classify each historical media data, and determine the target category to which each historical media data belongs, and one target category corresponds to one shooting mode;

对至少一个历史媒体数据所属的目标类别进行统计,将出现次数最多的目标类别对应的拍摄模式设置为默认拍摄模式,默认拍摄模式为终端启动相机时开启的拍摄模式。Make statistics on the target category to which at least one historical media data belongs, and set the shooting mode corresponding to the target category with the most occurrences as the default shooting mode, and the default shooting mode is the shooting mode that is turned on when the terminal starts the camera.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. a kind of screening-mode method to set up, it is characterised in that methods described includes:
From the media database of terminal, at least one history media data that the terminal has been shot is obtained;
Each history media data is classified, it is determined that the target classification belonging to each history media data, a kind of target class Dui Yingyu not a kind of screening-mode;
Target classification belonging at least one history media data is counted, will appear from the most target classification of number Corresponding screening-mode is arranged to give tacit consent to screening-mode, and the acquiescence screening-mode is that the terminal starts the bat opened during camera Take the photograph pattern.
2. according to the method for claim 1, it is characterised in that in the media database from terminal, obtain the end At least one history media data shot is held, including:
Count the historical photograph quantity that terminal described in the media database has been shot;
Count the history number of videos that terminal described in the media database has been shot;
When the historical photograph quantity is more than the history number of videos, the terminal has been obtained from the media database The historical photograph of shooting;
When the historical photograph quantity is less than the history number of videos, the terminal has been obtained from the media database The history video of shooting;
When the historical photograph quantity is equal to the history number of videos, the terminal has been obtained from the media database The historical photograph and history video of shooting.
3. method according to claim 1 or 2, it is characterised in that in the media database from terminal, described in acquisition At least one history media data that terminal has been shot, including it is at least one of following:
From the media database of the terminal local, at least one history media data that the terminal has been shot is obtained;
From the cloud media database of the terminal association, at least one history media data that the terminal has been shot is obtained, The history media data that the terminal has been shot is by being uploaded to the cloud media database after the terminal taking.
4. according to the method for claim 1, it is characterised in that it is described that each history media data is classified, it is determined that Target classification belonging to each history media data, including:
For each history media data, the attributive character of the history media data is extracted;
The attributive character is separately input into multiple default disaggregated models, by the multiple default disaggregated model respectively to described Attributive character is classified, and output category result, and each default disaggregated model belongs to the other media number of target class for differentiation According to the media data of the classification opposite with the target classification with belonging to, and target classification corresponding to different default disaggregated models is not Together;
It is determined that at least one target classification included in multiple classification results of output, as belonging to the history media data Target classification.
5. according to the method for claim 1, it is characterised in that methods described also includes:
According to the target classification belonging to each history media data, class label is added for each history media data;
The target classification to belonging at least one history media data counts, and will appear from the most target of number Screening-mode corresponding to classification is arranged to give tacit consent to screening-mode, including:
The quantity of each class label of addition is counted, screening-mode corresponding to the maximum class label of quantity is set To give tacit consent to screening-mode.
6. a kind of screening-mode sets device, it is characterised in that described device includes:
Data acquisition module, at least one history matchmaker shot for from the media database of terminal, obtaining the terminal Volume data;
Sort module, for classifying to each history media data, it is determined that the target class belonging to each history media data Not, a kind of target classification corresponds to a kind of screening-mode;
Setup module, for being counted to the target classification belonging at least one history media data, it will appear from number Screening-mode corresponding to most target classifications is arranged to give tacit consent to screening-mode, and the acquiescence screening-mode starts for the terminal The screening-mode opened during camera.
7. device according to claim 6, it is characterised in that the data acquisition module, including:
Statistic unit, the historical photograph quantity shot for counting terminal described in the media database;
The statistic unit, it is additionally operable to count the history number of videos that terminal described in the media database has been shot;
First acquisition unit, for when the historical photograph quantity is more than the history number of videos, from the media data The historical photograph that the terminal has been shot is obtained in storehouse;
Second acquisition unit, for when the historical photograph quantity is less than the history number of videos, from the media data The history video that the terminal has been shot is obtained in storehouse;
3rd acquiring unit, for when the historical photograph quantity is equal to the history number of videos, from the media data Historical photograph and history video that the terminal has been shot are obtained in storehouse.
8. the device according to claim 6 or 7, it is characterised in that the data acquisition module, it is following extremely to be additionally operable to execution One item missing operates:
From the media database of the terminal local, at least one history media data that the terminal has been shot is obtained;
From the cloud media database of the terminal association, at least one history media data that the terminal has been shot is obtained, The history media data that the terminal has been shot is by being uploaded to the cloud media database after the terminal taking.
9. device according to claim 6, it is characterised in that the sort module, including:
Feature extraction unit, for for each history media data, extracting the attributive character of the history media data;
Taxon, for the attributive character to be separately input into multiple default disaggregated models, by the multiple default classification Model is classified to the attributive character respectively, and output category result, and each default disaggregated model belongs to mesh for differentiation Mark the media data of classification and belong to the media data of the classification opposite with the target classification, and different default disaggregated models pair The target classification answered is different;
Determining unit, at least one target classification for including in multiple classification results for determining output, as the history Target classification belonging to media data.
10. device according to claim 6, it is characterised in that described device also includes:
Label add module, for the target classification according to belonging to each history media data, add for each history media data Add class label;
The setup module, it is additionally operable to count the quantity of each class label of addition, by the classification mark that quantity is maximum Screening-mode corresponding to label is arranged to give tacit consent to screening-mode.
11. a kind of screening-mode sets device, it is characterised in that including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
From the media database of terminal, at least one history media data that the terminal has been shot is obtained;
Each history media data is classified, it is determined that the target classification belonging to each history media data, a kind of target class Dui Yingyu not a kind of screening-mode;
Target classification belonging at least one history media data is counted, will appear from the most target classification of number Corresponding screening-mode is arranged to give tacit consent to screening-mode, and the acquiescence screening-mode is that the terminal starts the bat opened during camera Take the photograph pattern.
12. a kind of computer-readable recording medium, it is characterised in that at least one is stored with the computer-readable recording medium Bar is instructed, and the instruction is loaded as processor and performed to realize the shooting mould as described in claim 1 to 5 any claim Performed operation in formula method to set up.
CN201711236380.9A 2017-11-30 2017-11-30 Shooting mode setting method, device and storage medium Active CN107895041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711236380.9A CN107895041B (en) 2017-11-30 2017-11-30 Shooting mode setting method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711236380.9A CN107895041B (en) 2017-11-30 2017-11-30 Shooting mode setting method, device and storage medium

Publications (2)

Publication Number Publication Date
CN107895041A true CN107895041A (en) 2018-04-10
CN107895041B CN107895041B (en) 2020-12-29

Family

ID=61807035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711236380.9A Active CN107895041B (en) 2017-11-30 2017-11-30 Shooting mode setting method, device and storage medium

Country Status (1)

Country Link
CN (1) CN107895041B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108764371A (en) * 2018-06-08 2018-11-06 Oppo广东移动通信有限公司 Image processing method, device, computer-readable storage medium, and electronic device
CN109348120A (en) * 2018-09-30 2019-02-15 烽火通信科技股份有限公司 A kind of image pickup method, the display methods of image, system and equipment
CN111225153A (en) * 2020-01-21 2020-06-02 Oppo广东移动通信有限公司 Image data processing method, image data processing device and mobile terminal
CN113315910A (en) * 2021-05-19 2021-08-27 闻泰通讯股份有限公司 Shooting method, shooting device, computer equipment and storage medium
CN118948206A (en) * 2024-07-10 2024-11-15 杭州目乐医疗科技股份有限公司 A fully self-service fundus camera and a method for setting a photographing mode

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070160365A1 (en) * 2005-10-05 2007-07-12 Fujifilm Corporation Image capture system, handheld terminal device, and image server
CN102932592A (en) * 2012-09-25 2013-02-13 中兴通讯股份有限公司南京分公司 Shooting method, device and terminal
CN104216525A (en) * 2014-08-14 2014-12-17 小米科技有限责任公司 Method and device for mode control of camera application
CN104243814A (en) * 2014-07-28 2014-12-24 小米科技有限责任公司 Analysis method for object layout in image and image shoot reminding method and device
CN105323456A (en) * 2014-12-16 2016-02-10 维沃移动通信有限公司 Image previewing method for photographing device and image photographing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070160365A1 (en) * 2005-10-05 2007-07-12 Fujifilm Corporation Image capture system, handheld terminal device, and image server
CN102932592A (en) * 2012-09-25 2013-02-13 中兴通讯股份有限公司南京分公司 Shooting method, device and terminal
CN104243814A (en) * 2014-07-28 2014-12-24 小米科技有限责任公司 Analysis method for object layout in image and image shoot reminding method and device
CN104216525A (en) * 2014-08-14 2014-12-17 小米科技有限责任公司 Method and device for mode control of camera application
CN105323456A (en) * 2014-12-16 2016-02-10 维沃移动通信有限公司 Image previewing method for photographing device and image photographing device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108764371A (en) * 2018-06-08 2018-11-06 Oppo广东移动通信有限公司 Image processing method, device, computer-readable storage medium, and electronic device
CN109348120A (en) * 2018-09-30 2019-02-15 烽火通信科技股份有限公司 A kind of image pickup method, the display methods of image, system and equipment
CN111225153A (en) * 2020-01-21 2020-06-02 Oppo广东移动通信有限公司 Image data processing method, image data processing device and mobile terminal
CN111225153B (en) * 2020-01-21 2021-08-06 Oppo广东移动通信有限公司 Image data processing method, image data processing device and mobile terminal
CN113315910A (en) * 2021-05-19 2021-08-27 闻泰通讯股份有限公司 Shooting method, shooting device, computer equipment and storage medium
CN118948206A (en) * 2024-07-10 2024-11-15 杭州目乐医疗科技股份有限公司 A fully self-service fundus camera and a method for setting a photographing mode
CN118948206B (en) * 2024-07-10 2025-03-14 杭州目乐医疗科技股份有限公司 A fully self-service fundus camera and a method for setting a photographing mode

Also Published As

Publication number Publication date
CN107895041B (en) 2020-12-29

Similar Documents

Publication Publication Date Title
CN107895041B (en) Shooting mode setting method, device and storage medium
CN104717366B (en) The recommendation method and device of contact head image
CN107454465A (en) Video playback progress display method, device, and electronic equipment
WO2017020483A1 (en) Photo sharing method and apparatus
CN105069083B (en) The determination method and device of association user
CN104267877B (en) The display methods and device of expression picture, electronic equipment
CN111539443A (en) An image recognition model training method and device, and storage medium
CN105488025A (en) Template construction method and apparatus and information identification method and apparatus
WO2017088257A1 (en) Facial-album-based music playing method and apparatus, and terminal device
CN105069073A (en) Contact information recommendation method and device
CN109819288A (en) Determination method, apparatus, electronic equipment and the storage medium of advertisement dispensing video
CN106250921A (en) Image processing method and device
CN110266914A (en) Image capturing method, device, and computer-readable storage medium
CN106777016B (en) Method and device for information recommendation based on instant messaging
CN108898591A (en) Methods of marking and device, electronic equipment, the readable storage medium storing program for executing of picture quality
WO2016107037A1 (en) Picture sorting method and apparatus
CN106357804A (en) Image processing method, electronic equipment and cloud server
CN105512220A (en) Image page output method and device
CN107025421A (en) Fingerprint identification method and device
CN105335714A (en) Photograph processing method, device and apparatus
CN107544802A (en) device identification method and device
CN108154091A (en) Image presentation method, image processing method and device
CN106547850A (en) Expression annotation method and device
CN105224950A (en) The recognition methods of filter classification and device
CN104853329B (en) The method and apparatus of identification number

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant