[go: up one dir, main page]

CN105138699A - A photo classification method, device and mobile terminal based on shooting angle - Google Patents

A photo classification method, device and mobile terminal based on shooting angle Download PDF

Info

Publication number
CN105138699A
CN105138699A CN201510624660.1A CN201510624660A CN105138699A CN 105138699 A CN105138699 A CN 105138699A CN 201510624660 A CN201510624660 A CN 201510624660A CN 105138699 A CN105138699 A CN 105138699A
Authority
CN
China
Prior art keywords
shooting
photos
rotation angle
rotating camera
photo
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510624660.1A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510624660.1A priority Critical patent/CN105138699A/en
Publication of CN105138699A publication Critical patent/CN105138699A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Studio Devices (AREA)

Abstract

The invention discloses a photo classification method and device based on shooting angles and a mobile terminal, wherein the photo classification method is applied to the mobile terminal provided with a rotary camera and comprises the following steps: when the rotary camera shoots a photo, the rotation angle of the rotary camera during shooting is obtained; and storing the pictures shot by the rotating camera at the current rotating angle according to a preset storage path rule. According to the method, the photos shot at different rotation angles are screened and classified according to the shooting angle interval range selected by the user and are respectively stored in different folders, a query and storage processing mode is provided for a large number of photos of the user, the user can conveniently check the photos in the future, the user can manage and search the photos in batches according to the specified mode, and the user experience is improved.

Description

一种基于拍摄角度的照片分类方法、装置及移动终端A photo classification method, device and mobile terminal based on shooting angle

技术领域technical field

本发明涉及移动终端的通信技术领域,特别涉及一种基于旋转摄像头拍摄角度的照片分类方法、装置及移动终端。The present invention relates to the field of communication technology of mobile terminals, in particular to a method and device for classifying photos based on the shooting angle of a rotating camera and a mobile terminal.

背景技术Background technique

随着电子成像技术和互联网的发展,人们创造图片、分享图片和获得图片的途径越来越方便且多样。目前,众多的移动终端设备都有数码相机的功能,普通用户可能积攒了一大批数字图片。With the development of electronic imaging technology and the Internet, the ways for people to create, share and obtain pictures are becoming more and more convenient and diverse. At present, many mobile terminal devices have the function of digital cameras, and ordinary users may accumulate a large number of digital pictures.

目前已有很多的对照片进行自动管理和归档以及图像质量评价的技术和专利发明,如比较常见的基于照片拍摄时间对照片进行分类和查找的方法,又如申请号为CN201410830759.2的专利公开了一种基于地理位置的照片分类方法及装置,该方法依据照片的拍摄地点确定照片的存储路径,实现了依据照片的拍摄地点对照片分类存储。如申请号为CN201510306252.1的专利公开了一种照片分类方法及装置,所述方法按照照片中的人物数量对照片进行分类存储,解决了现有技术将所有照片存储于同一相册中导致的查阅不便的问题,为用户提供了一种对照片进行管理和查找的便捷方式。At present, there are many technologies and patented inventions for automatic management and archiving of photos and image quality evaluation, such as the relatively common method of classifying and searching photos based on the shooting time of photos, and the patent disclosure with application number CN201410830759.2 A photo classification method and device based on geographic location is provided. The method determines the storage path of the photos according to the shooting location of the photos, and realizes the classification and storage of the photos according to the shooting locations of the photos. For example, the patent application number CN201510306252.1 discloses a photo classification method and device. The method classifies and stores the photos according to the number of people in the photos, which solves the problem of storing all photos in the same album in the prior art. Inconvenient problem, providing users with a convenient way to manage and find photos.

目前市面上出现一些配备可旋转摄像头的移动终端,利用该可旋转摄像头可以进行更多趣味拍照,现在可以利用可旋转摄像头特有的拍照特性参数对拍摄出的照片进行分类。At present, there are some mobile terminals equipped with rotatable cameras on the market, and more interesting photos can be taken by using the rotatable cameras. Now, the photos taken by the rotatable cameras can be classified by using the unique camera characteristic parameters of the rotatable cameras.

发明内容Contents of the invention

本发明的目的在于克服现有技术的缺点与不足,提供一种基于旋转摄像头拍摄角度的照片分类方法、装置及移动终端。The purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art, and provide a method, device and mobile terminal for classifying photos based on the shooting angle of a rotating camera.

根据公开的实施例,本发明第一方面提出了一种基于拍摄角度的照片分类方法,应用于配备有旋转摄像头的移动终端,包括下列步骤:According to the disclosed embodiment, the first aspect of the present invention proposes a photo classification method based on shooting angle, which is applied to a mobile terminal equipped with a rotating camera, including the following steps:

当所述旋转摄像头进行照片拍摄时,获取所述旋转摄像头拍摄时的旋转角度;When the rotating camera takes pictures, obtain the rotation angle of the rotating camera;

依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片。According to the preset storage path rules, the photos taken by the rotating camera at the current rotation angle are stored.

进一步地,所述预设的存储路径规则是移动终端事先建立若干个不同旋转角度区间范围的文件夹,然后判断所述旋转摄像头拍摄时的旋转角度所处的角度区间范围确定所述当前旋转角度拍摄的照片的存储文件夹。Further, the preset storage path rule is that the mobile terminal establishes several folders with different rotation angle ranges in advance, and then determines the current rotation angle by judging the angle range of the rotation angle when the rotating camera is shooting. Storage folder for captured photos.

进一步地,所述依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片之前,还包括:Further, before storing the photos taken by the rotating camera at the current rotation angle according to the preset storage path rules, it also includes:

获得所述照片的拍摄时间,并将所述照片命名为所述拍摄时间。The shooting time of the photo is obtained, and the photo is named as the shooting time.

进一步地,所述依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片具体为:Further, according to the preset storage path rules, storing the photos taken by the rotating camera at the current rotation angle is specifically:

依据预设的存储路径规则和所述旋转摄像头拍摄时的旋转角度,确定所述拍摄照片的当前存储路径;Determine the current storage path of the captured photos according to the preset storage path rules and the rotation angle of the rotating camera when shooting;

将在当前拍摄角度拍摄的照片存储于所述当前存储路径。The photos taken at the current shooting angle are stored in the current storage path.

根据公开的实施例,本发明第二方面提出了一种基于拍摄角度的照片分类装置,应用于配备有旋转摄像头的移动终端,包括:According to the disclosed embodiment, the second aspect of the present invention proposes a photo classification device based on shooting angle, which is applied to a mobile terminal equipped with a rotating camera, including:

拍摄角度获取模块,用于当所述旋转摄像头进行照片拍摄时,获取所述旋转摄像头拍摄时的旋转角度;A shooting angle acquisition module, used to obtain the rotation angle of the rotating camera when taking photos when the rotating camera takes pictures;

拍摄照片存储模块,用于依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片。The photo storage module is used to store the photos taken by the rotating camera at the current rotation angle according to the preset storage path rules.

进一步地,所述预设的存储路径规则是移动终端事先建立若干个不同旋转角度区间范围的文件夹,然后判断所述旋转摄像头拍摄时的旋转角度所处的角度区间范围确定所述当前旋转角度拍摄的照片的存储文件夹。Further, the preset storage path rule is that the mobile terminal establishes several folders with different rotation angle ranges in advance, and then determines the current rotation angle by judging the angle range of the rotation angle when the rotating camera is shooting. Storage folder for captured photos.

进一步地,还包括:拍摄照片命名模块,用于获得所述照片的拍摄时间,并将所述照片命名为所述拍摄时间。Further, it also includes: a shooting photo naming module, configured to obtain the shooting time of the photo, and name the photo as the shooting time.

进一步地,所述拍摄照片存储模块包括:Further, the photograph storage module includes:

存储路径获取单元,用于依据预设的存储路径规则和所述旋转摄像头拍摄时的旋转角度,确定所述拍摄照片的当前存储路径;A storage path acquisition unit, configured to determine the current storage path of the captured photos according to the preset storage path rules and the rotation angle of the rotating camera when shooting;

拍摄照片处理单元,用于将在当前拍摄角度拍摄的照片存储于所述当前存储路径。The photograph processing unit is configured to store the photograph photographed at the current photographing angle in the current storage path.

根据公开的实施例,本发明第三方面提出了一种移动终端,所述移动终端包括上述的装置。According to the disclosed embodiments, a third aspect of the present invention provides a mobile terminal, where the mobile terminal includes the above apparatus.

本发明相对于现有技术具有如下的优点及效果:Compared with the prior art, the present invention has the following advantages and effects:

本发明公开了一种基于可旋转摄像头的旋转角度对拍摄出的照片进行分类的方法,将不同旋转角度拍摄出的照片根据用户选择可以筛选分类或者分别存储在不同的文件夹中,对用户大量的照片提供了一种查询以及存储处理的方式,方便用户日后的查看,能让用户按指定的方式对照片进行批量的管理和查找,提升了用户体验。The invention discloses a method for classifying photos taken based on the rotation angle of a rotatable camera. The photos taken by different rotation angles can be screened and classified according to the user's selection or stored in different folders respectively. The photo provides a query and storage processing method, which is convenient for users to view in the future, and allows users to manage and search photos in batches according to a specified method, which improves the user experience.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或者现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings that need to be used in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only the drawings of the present invention. For some embodiments, those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.

图1是本实施例一中公开的一种基于拍摄角度的照片分类方法的流程图;FIG. 1 is a flow chart of a method for classifying photos based on shooting angles disclosed in Embodiment 1;

图2是本实施例一中公开的又一种基于拍摄角度的照片分类方法的流程图;Fig. 2 is a flow chart of another photo classification method based on shooting angle disclosed in the first embodiment;

图3是本实施例一中公开的另一种基于拍摄角度的照片分类方法的流程图;FIG. 3 is a flow chart of another method for classifying photos based on shooting angles disclosed in Embodiment 1;

图4是本实施例二中公开的一种基于拍摄角度的照片分类装置的组成框图;FIG. 4 is a block diagram of a photo classification device based on shooting angles disclosed in Embodiment 2;

图5是本实施例二中公开的又一种基于拍摄角度的照片分类装置的组成框图;Fig. 5 is a composition block diagram of another photo classification device based on shooting angle disclosed in the second embodiment;

图6是本实施例二中公开的另一种基于拍摄角度的照片分类装置的组成框图。FIG. 6 is a block diagram of another apparatus for classifying photos based on shooting angles disclosed in the second embodiment.

具体实施方式detailed description

为使本发明实现的技术手段、创作特征、达成目的与功效易于明白了解,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the specification and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

以下根据实施例分别进行详细说明。The detailed description will be given below based on the examples.

实施例一Embodiment one

请参见图1,图1是本实施例一中一种基于拍摄角度的照片分类方法的流程图。图1所示的一种基于拍摄角度的照片分类方法,应用于智能移动终端,所述智能移动终端包括但不限于手机、笔记本电脑、平板电脑和掌上上网设备、多媒体设备、流媒体设备、移动互联网设备(MID,mobileinternetdevice)、可穿戴设备或其他类型的终端设备。Please refer to FIG. 1 . FIG. 1 is a flowchart of a method for classifying photos based on shooting angles in the first embodiment. A photo classification method based on the shooting angle shown in Figure 1 is applied to smart mobile terminals, including but not limited to mobile phones, notebook computers, tablet computers and palm Internet devices, multimedia devices, streaming media devices, mobile Internet devices (MID, mobileinternetdevice), wearable devices or other types of terminal devices.

目前市面上具有可旋转摄像头的移动终端由于设备厂商和工程技术人员的不懈努力,成本和技术问题都得到突破,已经成为比较普遍的产品,利用配备有可旋转摄像头的移动终端可以进行更多趣味拍照,本实施例中公开的一种基于可旋转摄像头的拍摄角度的照片分类方法正是面对配备有可旋转摄像头的移动终端而予以实现的技术方案,具体步骤如附图1所示,包括:Due to the unremitting efforts of equipment manufacturers and engineers and technicians, mobile terminals with rotatable cameras on the market have made breakthroughs in cost and technical problems, and have become relatively common products. Mobile terminals equipped with rotatable cameras can be used for more fun. Taking pictures, a photo classification method based on the shooting angle of the rotatable camera disclosed in this embodiment is just a technical solution for a mobile terminal equipped with a rotatable camera. The specific steps are shown in Figure 1, including :

步骤S101、当所述旋转摄像头进行照片拍摄时,获取所述旋转摄像头拍摄时的旋转角度。Step S101 , when the rotating camera takes pictures, acquire the rotation angle of the rotating camera when taking pictures.

当移动终端的旋转摄像头在执行拍摄操作时,移动终端可以从技术层面上非常简单地获取旋转摄像头在拍摄操作时的当前旋转角度,无论此时旋转摄像头是机械手动控制式还是电子自动控制式。When the rotating camera of the mobile terminal is performing a shooting operation, the mobile terminal can obtain the current rotation angle of the rotating camera during the shooting operation very simply from a technical level, regardless of whether the rotating camera is mechanically manually controlled or electronically controlled.

步骤S102、依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片。Step S102, according to the preset storage path rules, store the photos taken by the rotating camera at the current rotation angle.

该步骤中移动终端根据上述步骤S101中获取的所述旋转摄像头拍摄时的旋转角度,然后依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片。In this step, the mobile terminal stores the photos taken by the rotating camera at the current rotation angle according to the rotation angle of the rotating camera obtained in the above step S101 and according to the preset storage path rules.

其中,所述预设的存储路径规则可以是移动终端事先建立若干个不同旋转角度区间范围的文件夹,然后判断所述旋转摄像头拍摄时的旋转角度所处的角度区间范围,确定所述当前旋转角度拍摄的照片的存储文件夹。Wherein, the preset storage path rule may be that the mobile terminal establishes several folders with different rotation angle intervals in advance, and then judges the angle interval where the rotation angle of the rotating camera is when shooting, and determines the current rotation angle. Storage folder for photos taken at angles.

示例性的,移动终端建立不同旋转角度的文件夹,例如1-90度为文件夹1,91-180度为文件夹2,以此类推。移动终端依据旋转摄像头拍摄时的旋转角度对照片进行分类存储。例如,移动终端可以将旋转摄像头拍摄时的旋转角度位于区间范围1-90度的照片存储于文件夹1中,将旋转摄像头拍摄时的旋转角度位于区间范围91-180度的照片存储于文件夹2中,以此类推。Exemplarily, the mobile terminal establishes folders with different rotation angles, for example, folder 1 is 1-90 degrees, folder 2 is 91-180 degrees, and so on. The mobile terminal classifies and stores the photos according to the rotation angle when the rotating camera takes pictures. For example, the mobile terminal can store photos whose rotation angle is in the interval range 1-90 degrees when the rotating camera is taken in the folder 1, and store photos in the folder 1 when the rotation angle is in the interval 91-180 degrees when the rotating camera is taken. 2, and so on.

在优选的另一实施方式中,所述步骤S102依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片之前,所述一种基于拍摄角度的照片分类方法还可以包括下列步骤,具体参照附图2所示:In another preferred embodiment, before the step S102 stores the photos taken by the rotating camera at the current rotation angle according to the preset storage path rules, the photo classification method based on the shooting angle may also include the following Steps, as shown in Figure 2 for specific reference:

步骤S10X、获得所述照片的拍摄时间,并将所述照片命名为所述拍摄时间。Step S10X, obtaining the shooting time of the photo, and naming the photo as the shooting time.

在所述旋转摄像头拍摄照片时,移动终端还可获得照片的拍摄时间,并以所述拍摄时间命名所述照片。在以所述旋转摄像头不同旋转角度区间范围区分的文件夹中,可能包括大量拍摄旋转角度相同的照片,通过以所述拍摄时间命名的各照片文件名能够快捷且直观地区分各照片,并且能够获得各照片的拍摄时间。示例性的,比如于2015年9月18日上午9时23分56秒拍摄的照片,该照片的文件名命名为ph20150918092356;又比如于2015年9月20日下午6时33分26秒拍摄的照片,该照片的文件名命名为ph20150920183326,其中,ph为附加的前缀,不构成对本发明技术方案的前缀。When the rotating camera takes a photo, the mobile terminal can also obtain the shooting time of the photo, and name the photo according to the shooting time. In the folders distinguished by the ranges of different rotation angles of the rotating camera, there may be a large number of photos taken with the same rotation angle, and each photo can be quickly and intuitively distinguished by the file name of each photo named after the shooting time, and can The shooting time of each photo is obtained. Exemplary, such as the photo taken at 9:23:56 am on September 18, 2015, the file name of the photo is named ph20150918092356; another example is the photo taken at 6:33:26 pm on September 20, 2015 For the photo, the file name of the photo is named ph20150920183326, where ph is an additional prefix, which does not constitute a prefix to the technical solution of the present invention.

在优选的另一实施方式中,所述步骤S102依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片包括下列步骤,具体参照附图3所示:In another preferred implementation manner, the step S102 stores the photos taken by the rotating camera at the current rotation angle according to the preset storage path rules in the step S102, including the following steps, as shown in Figure 3 for details:

步骤S1021、依据预设的存储路径规则和所述旋转摄像头拍摄时的旋转角度,确定所述拍摄照片的当前存储路径。Step S1021: Determine the current storage path of the photographs according to the preset storage path rules and the rotation angle of the rotating camera when shooting.

具体的,可以依据所述旋转摄像头拍摄时的旋转角度所处的角度区间范围,确定所述当前旋转角度拍摄的照片的存储文件夹,例如,当前所拍摄的照片的拍摄角度为30度,正好位于文件夹1对应的角度区间范围,即【1,90】,此时文件夹1对应的存储路径即作为当前拍摄角度拍摄的照片的存储路径。Specifically, the storage folder of the photos taken at the current rotation angle can be determined according to the angle range of the rotation angle of the rotating camera when shooting. For example, the shooting angle of the currently taken photos is 30 degrees, which is exactly It is located in the angle range corresponding to folder 1, that is, [1,90]. At this time, the storage path corresponding to folder 1 is used as the storage path of the photos taken at the current shooting angle.

步骤S1022、将在当前拍摄角度拍摄的照片存储于所述当前存储路径。Step S1022, storing the photos taken at the current shooting angle in the current storage path.

具体的,移动终端将所述旋转摄像头在当前拍摄角度拍摄的照片存储于所述当前存储路径对应的文件夹1中。Specifically, the mobile terminal stores the photos taken by the rotating camera at the current shooting angle in the folder 1 corresponding to the current storage path.

综上所述,本实施例公开的一种基于可旋转摄像头的拍摄角度的照片分类方法,丰富了照片的分类存储方式,能让用户快速的依据拍摄角度分类存储拍摄的照片,节省用户整理照片的时间,并且进行有序的存储,实现照片按用户指定的方式(如指定的拍摄角度区间范围)自动进行分类存储;同时,能让用户依据指定的拍摄角度快速搜索到自己想查看的照片,丰富了用户的操作体验度。To sum up, the photo classification method based on the shooting angle of the rotatable camera disclosed in this embodiment enriches the classification and storage methods of photos, enables users to quickly classify and store the photos taken according to the shooting angles, and saves users from organizing photos. time, and store them in an orderly manner, so that the photos are automatically classified and stored according to the method specified by the user (such as the specified shooting angle range); at the same time, it allows users to quickly search for the photos they want to view according to the specified shooting angle. Enrich the user's operating experience.

实施例二Embodiment two

为了丰富用户对大量照片的管理和存储方式,方便用户日后基于旋转摄像头拍摄角度对照片进行筛选和查找,本实施例公开了一种基于拍摄角度的照片分类装置,应用于配备有旋转摄像头的移动终端,该分类装置的组成框图可以参照附图4所示,具体包括:拍摄角度获取模块201和拍摄照片存储模块202。In order to enrich the user's management and storage methods for a large number of photos, and facilitate users to filter and search photos based on the shooting angle of the rotating camera in the future, this embodiment discloses a photo classification device based on the shooting angle, which is applied to mobile phones equipped with a rotating camera. For the terminal, the composition block diagram of the classification device can refer to FIG. 4 , which specifically includes: a shooting angle acquisition module 201 and a photographed photo storage module 202 .

拍摄角度获取模块201,用于当所述旋转摄像头进行照片拍摄时,获取所述旋转摄像头拍摄时的旋转角度。The shooting angle obtaining module 201 is configured to obtain the rotation angle of the rotating camera when taking photos when the rotating camera takes pictures.

拍摄照片存储模块202,用于依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片。The photo storage module 202 is configured to store the photos taken by the rotating camera at the current rotation angle according to the preset storage path rules.

具体的,所述预设的存储路径规则是移动终端事先建立若干个不同旋转角度区间范围的文件夹,然后判断所述旋转摄像头拍摄时的旋转角度所处的角度区间范围确定所述当前旋转角度拍摄的照片的存储文件夹。Specifically, the preset storage path rule is that the mobile terminal establishes several folders with different rotation angle intervals in advance, and then determines the angle interval where the rotation angle of the rotating camera is when shooting to determine the current rotation angle Storage folder for captured photos.

示例性的,移动终端建立不同旋转角度的文件夹,例如1-90度为文件夹1,91-180度为文件夹2,以此类推。移动终端依据旋转摄像头拍摄时的旋转角度对照片进行分类存储。例如,移动终端可以将旋转摄像头拍摄时的旋转角度位于区间范围1-90度的照片存储于文件夹1中,将旋转摄像头拍摄时的旋转角度位于区间范围91-180度的照片存储于文件夹2中,以此类推。Exemplarily, the mobile terminal establishes folders with different rotation angles, for example, folder 1 is 1-90 degrees, folder 2 is 91-180 degrees, and so on. The mobile terminal classifies and stores the photos according to the rotation angle when the rotating camera takes pictures. For example, the mobile terminal can store photos whose rotation angles are in the interval range 1-90 degrees when the rotating camera is taken in the folder 1, and store photos in the folder 1 when the rotation angle is in the interval 91-180 degrees when the rotating camera is taken. 2, and so on.

在另一优选的实施方式中,所述的一种基于拍摄角度的照片分类装置,还包括:拍摄照片命名模块20X,用于获得所述照片的拍摄时间,并将所述照片命名为所述拍摄时间。该优选的实施方式中的照片分类装置的结构框图可以参照附图5所示。In another preferred embodiment, the device for classifying photos based on shooting angles further includes: a shooting photo naming module 20X, configured to obtain the shooting time of the photos, and name the photos as the shooting time. The structural block diagram of the photo classification device in this preferred embodiment can be shown in FIG. 5 .

在另一优选的实施方式中,所述拍摄照片存储模块202具体包括:In another preferred implementation manner, the photograph storage module 202 specifically includes:

存储路径获取单元2021,用于依据预设的存储路径规则和所述旋转摄像头拍摄时的旋转角度,确定所述拍摄照片的当前存储路径.The storage path acquisition unit 2021 is configured to determine the current storage path of the captured photos according to the preset storage path rules and the rotation angle of the rotating camera when shooting.

拍摄照片处理单元2022,用于将在当前拍摄角度拍摄的照片存储于所述当前存储路径。The photograph processing unit 2022 is configured to store the photograph photographed at the current photographing angle in the current storage path.

该优选的实施方式中的照片分类装置的结构框图可以参照附图6所示。The structural block diagram of the photo classification device in this preferred embodiment can be shown in FIG. 6 with reference to FIG.

本发明实施例还提供一种移动终端,具体包括如图4至图6所示的装置。An embodiment of the present invention also provides a mobile terminal, specifically including the devices shown in FIG. 4 to FIG. 6 .

基于同一发明构思,本发明实施例提供的一种基于拍摄角度的照片分类装置及移动终端,在解决问题的原理与前述基于拍摄角度的照片分类方法相似,因此该装置及移动终端的实施可以参见前述方法的实施,上述描述的模块和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Based on the same inventive concept, the embodiment of the present invention provides a photo classification device based on shooting angle and a mobile terminal. The problem-solving principle is similar to the above-mentioned photo classification method based on shooting angle. Therefore, the implementation of the device and mobile terminal can be found in For the implementation of the aforementioned method, and the specific working process of the modules and units described above, reference may be made to the corresponding process in the aforementioned method embodiment, and details are not repeated here.

综上所述,本实施例公开了一种基于可旋转摄像头的旋转角度对拍摄出的照片进行分类的装置,将不同旋转角度拍摄出的照片根据用户选择的拍摄角度区间范围进行筛选分类并分别对应存储在不同的文件夹中,对用户日常生活工作中产生的海量照片提供了一种新颖的查询以及存储处理的方式,方便用户日后的查看,提高了照片批量处理的效率,提升了用户体验。To sum up, this embodiment discloses a device for classifying photographs taken based on the rotation angle of a rotatable camera, which screens and classifies photographs taken at different rotation angles according to the range of shooting angles selected by the user and separates Correspondingly stored in different folders, it provides a novel query and storage processing method for the massive photos generated in the daily work of users, which is convenient for users to view in the future, improves the efficiency of batch processing of photos, and improves the user experience .

值得注意的是,上述装置或终端实施例中,所包括的各个模块和单元只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各模块和单元的具体名称也只是为了便于相互区分,并不用于限制本发明的保护范围。It is worth noting that in the above-mentioned device or terminal embodiments, the modules and units included are only divided according to functional logic, but are not limited to the above-mentioned divisions, as long as the corresponding functions can be realized; in addition, each module The specific names of the units and units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present invention.

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的终端实施例仅仅是示意性的,例如,所述模块或者单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,模块或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the terminal embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of modules or units may be in electrical, mechanical or other forms.

另外,在本发明各个实施例中的各功能模块或单元可以集成在一个处理模块或者单元中,也可以是各个模块或者单元单独物理存在,也可以两个或两个以上模块或者单元集成在一个模块或者单元中。In addition, each functional module or unit in each embodiment of the present invention may be integrated into one processing module or unit, each module or unit may exist separately physically, or two or more modules or units may be integrated into one processing module or unit. module or unit.

上述实施例为本发明较佳的实施方式,但本发明的实施方式并不受上述实施例的限制,其他的任何未背离本发明的精神实质与原理下所作的改变、修饰、替代、组合、简化,均应为等效的置换方式,都包含在本发明的保护范围之内。The above-mentioned embodiment is a preferred embodiment of the present invention, but the embodiment of the present invention is not limited by the above-mentioned embodiment, and any other changes, modifications, substitutions, combinations, Simplifications should be equivalent replacement methods, and all are included in the protection scope of the present invention.

Claims (9)

1.一种基于拍摄角度的照片分类方法,应用于配备有旋转摄像头的移动终端,其特征在于,包括下列步骤:1. A photo classification method based on shooting angle, applied to a mobile terminal equipped with a rotating camera, is characterized in that, comprising the following steps: 当所述旋转摄像头进行照片拍摄时,获取所述旋转摄像头拍摄时的旋转角度;When the rotating camera takes pictures, obtain the rotation angle of the rotating camera; 依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片。According to the preset storage path rules, the photos taken by the rotating camera at the current rotation angle are stored. 2.根据权利要求1所述的一种基于拍摄角度的照片分类方法,其特征在于,2. a kind of photo classification method based on shooting angle according to claim 1, is characterized in that, 所述预设的存储路径规则是移动终端事先建立若干个不同旋转角度区间范围的文件夹,然后判断所述旋转摄像头拍摄时的旋转角度所处的角度区间范围确定所述当前旋转角度拍摄的照片的存储文件夹。The preset storage path rule is that the mobile terminal establishes several folders with different rotation angle intervals in advance, and then judges the angle interval where the rotation angle of the rotating camera is taken to determine the photos taken by the current rotation angle storage folder. 3.根据权利要求1所述的一种基于拍摄角度的照片分类方法,其特征在于,所述依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片之前,还包括:3. A method for classifying photos based on shooting angles according to claim 1, wherein, before storing the photos taken by the rotating camera at the current rotation angle according to the preset storage path rules, it also includes: 获得所述照片的拍摄时间,并将所述照片命名为所述拍摄时间。The shooting time of the photo is obtained, and the photo is named as the shooting time. 4.根据权利要求1所述的一种基于拍摄角度的照片分类方法,其特征在于,所述依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片具体为:4. A method for classifying photos based on shooting angles according to claim 1, characterized in that, according to the preset storage path rules, storing the photos taken by the rotating camera at the current rotation angle is specifically: 依据预设的存储路径规则和所述旋转摄像头拍摄时的旋转角度,确定所述拍摄照片的当前存储路径;Determine the current storage path of the captured photos according to the preset storage path rules and the rotation angle of the rotating camera when shooting; 将在当前拍摄角度拍摄的照片存储于所述当前存储路径。The photos taken at the current shooting angle are stored in the current storage path. 5.一种基于拍摄角度的照片分类装置,应用于配备有旋转摄像头的移动终端,其特征在于,包括:5. A photo classification device based on shooting angle, applied to a mobile terminal equipped with a rotating camera, characterized in that it includes: 拍摄角度获取模块,用于当所述旋转摄像头进行照片拍摄时,获取所述旋转摄像头拍摄时的旋转角度;A shooting angle acquisition module, used to obtain the rotation angle of the rotating camera when taking photos when the rotating camera takes pictures; 拍摄照片存储模块,用于依据预设的存储路径规则,存储所述旋转摄像头在当前旋转角度拍摄的照片。The photo storage module is used to store the photos taken by the rotating camera at the current rotation angle according to the preset storage path rules. 6.根据权利要求5所述的一种基于拍摄角度的照片分类装置,其特征在于,6. A kind of photo classification device based on shooting angle according to claim 5, characterized in that, 所述预设的存储路径规则是移动终端事先建立若干个不同旋转角度区间范围的文件夹,然后判断所述旋转摄像头拍摄时的旋转角度所处的角度区间范围确定所述当前旋转角度拍摄的照片的存储文件夹。The preset storage path rule is that the mobile terminal establishes several folders with different rotation angle intervals in advance, and then judges the angle interval where the rotation angle of the rotating camera is taken to determine the photos taken by the current rotation angle storage folder. 7.根据权利要求5所述的一种基于拍摄角度的照片分类装置,其特征在于,还包括:7. A kind of photograph classification device based on shooting angle according to claim 5, is characterized in that, also comprises: 拍摄照片命名模块,用于获得所述照片的拍摄时间,并将所述照片命名为所述拍摄时间。The photo-taking naming module is used to obtain the shooting time of the photo, and name the photo as the shooting time. 8.根据权利要求5所述的一种基于拍摄角度的照片分类装置,其特征在于,所述拍摄照片存储模块包括:8. A kind of photo classification device based on shooting angle according to claim 5, characterized in that, the photograph storage module comprises: 存储路径获取单元,用于依据预设的存储路径规则和所述旋转摄像头拍摄时的旋转角度,确定所述拍摄照片的当前存储路径;A storage path acquisition unit, configured to determine the current storage path of the captured photos according to the preset storage path rules and the rotation angle of the rotating camera when shooting; 拍摄照片处理单元,用于将在当前拍摄角度拍摄的照片存储于所述当前存储路径。The photograph processing unit is configured to store the photograph photographed at the current photographing angle in the current storage path. 9.一种移动终端,其特征在于,所述移动终端包括权利要求5至8任一项所述的装置。9. A mobile terminal, characterized in that the mobile terminal comprises the device according to any one of claims 5 to 8.
CN201510624660.1A 2015-09-25 2015-09-25 A photo classification method, device and mobile terminal based on shooting angle Pending CN105138699A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510624660.1A CN105138699A (en) 2015-09-25 2015-09-25 A photo classification method, device and mobile terminal based on shooting angle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510624660.1A CN105138699A (en) 2015-09-25 2015-09-25 A photo classification method, device and mobile terminal based on shooting angle

Publications (1)

Publication Number Publication Date
CN105138699A true CN105138699A (en) 2015-12-09

Family

ID=54724046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510624660.1A Pending CN105138699A (en) 2015-09-25 2015-09-25 A photo classification method, device and mobile terminal based on shooting angle

Country Status (1)

Country Link
CN (1) CN105138699A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454125A (en) * 2016-11-29 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Imaging method, imaging apparatus and terminal
CN107339923A (en) * 2017-08-18 2017-11-10 余阳 Measuring scale and measuring method
CN107454333A (en) * 2017-08-29 2017-12-08 深圳市友信长丰科技有限公司 The classification method of sampling, device, system, storage medium and computer equipment
CN108803991A (en) * 2018-06-12 2018-11-13 广州视源电子科技股份有限公司 Object screening method and device, computer readable storage medium and electronic terminal
CN111294542A (en) * 2020-02-17 2020-06-16 维沃移动通信有限公司 Image storage method and electronic device
CN114200967A (en) * 2021-11-29 2022-03-18 河南牧原智能科技有限公司 Method for determining preset angle, method for detecting body temperature of livestock and product
CN114577180A (en) * 2022-05-06 2022-06-03 成都纵横通达信息工程有限公司 Geographic information mapping device, system and method based on unmanned aerial vehicle

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103945134A (en) * 2014-05-16 2014-07-23 深圳市东方拓宇科技有限公司 Method and terminal for taking and viewing photos
US20150105123A1 (en) * 2013-10-11 2015-04-16 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN104537054A (en) * 2014-12-26 2015-04-22 广东欧珀移动通信有限公司 Photo sorting method and device based on geographic positions
CN104767933A (en) * 2015-03-13 2015-07-08 北京畅游天下网络技术有限公司 Portable digital equipment with photographing function and method for screening photos
CN104883498A (en) * 2015-04-30 2015-09-02 广东欧珀移动通信有限公司 Shooting method based on rotary camera, and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150105123A1 (en) * 2013-10-11 2015-04-16 Lg Electronics Inc. Mobile terminal and controlling method thereof
CN103945134A (en) * 2014-05-16 2014-07-23 深圳市东方拓宇科技有限公司 Method and terminal for taking and viewing photos
CN104537054A (en) * 2014-12-26 2015-04-22 广东欧珀移动通信有限公司 Photo sorting method and device based on geographic positions
CN104767933A (en) * 2015-03-13 2015-07-08 北京畅游天下网络技术有限公司 Portable digital equipment with photographing function and method for screening photos
CN104883498A (en) * 2015-04-30 2015-09-02 广东欧珀移动通信有限公司 Shooting method based on rotary camera, and terminal

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106454125A (en) * 2016-11-29 2017-02-22 宇龙计算机通信科技(深圳)有限公司 Imaging method, imaging apparatus and terminal
CN107339923A (en) * 2017-08-18 2017-11-10 余阳 Measuring scale and measuring method
CN107339923B (en) * 2017-08-18 2024-01-19 余阳 Measuring ruler and measuring method
CN107454333A (en) * 2017-08-29 2017-12-08 深圳市友信长丰科技有限公司 The classification method of sampling, device, system, storage medium and computer equipment
CN107454333B (en) * 2017-08-29 2019-07-09 深圳市友信长丰科技有限公司 The classification method of sampling, device, system, storage medium and computer equipment
CN108803991A (en) * 2018-06-12 2018-11-13 广州视源电子科技股份有限公司 Object screening method and device, computer readable storage medium and electronic terminal
CN111294542A (en) * 2020-02-17 2020-06-16 维沃移动通信有限公司 Image storage method and electronic device
CN114200967A (en) * 2021-11-29 2022-03-18 河南牧原智能科技有限公司 Method for determining preset angle, method for detecting body temperature of livestock and product
CN114577180A (en) * 2022-05-06 2022-06-03 成都纵横通达信息工程有限公司 Geographic information mapping device, system and method based on unmanned aerial vehicle
CN114577180B (en) * 2022-05-06 2022-07-15 成都纵横通达信息工程有限公司 Geographic information mapping device, system and method based on unmanned aerial vehicle

Similar Documents

Publication Publication Date Title
CN105138699A (en) A photo classification method, device and mobile terminal based on shooting angle
US9195678B2 (en) Automatic selection of digital images from a multi-sourced collection of digital images
JP6123119B2 (en) Method and terminal for associating information
EP3210371B1 (en) Camera application
WO2017129018A1 (en) Picture processing method and apparatus, and smart terminal
US20120226663A1 (en) Preconfigured media file uploading and sharing
CN107622025B (en) Data transmission method and equipment
EP3366004B1 (en) Providing camera settings from at least one image/video hosting service
CN104850848A (en) Photo Classification Method and Device
CN104572922A (en) Image processing method and device based on mobile equipment
CN104639839B (en) Shooting method and device
CN105100195A (en) Data transmission method and device thereof
CN104252697A (en) Method and apparatus for rotating photo automatically, and terminal
CN105635256A (en) Multimedia synchronization method, device and system
CN111480168B (en) Context-based image selection
TW201619877A (en) System and method of querying calendar event
CN108062405A (en) Picture classification method and device, storage medium and electronic equipment
CN105007300A (en) Apparatus and method for sharing collective photograph album based on regionalism
WO2016131273A1 (en) Contact information processing method, device, and mobile terminal
CN104981753B (en) Method and apparatus for content manipulation
CN115086560A (en) Image management optimization method for mobile terminal and mobile terminal
TW201624322A (en) System and method of classifying images
CN104679913B (en) Image storage method and device
CN112637041B (en) Method, device and storage medium for publishing information based on priority
TWI621954B (en) Method and system of classifying image files

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151209

RJ01 Rejection of invention patent application after publication