CN105872382A - A method and terminal for assisting photography - Google Patents
A method and terminal for assisting photography Download PDFInfo
- Publication number
- CN105872382A CN105872382A CN201610281645.6A CN201610281645A CN105872382A CN 105872382 A CN105872382 A CN 105872382A CN 201610281645 A CN201610281645 A CN 201610281645A CN 105872382 A CN105872382 A CN 105872382A
- Authority
- CN
- China
- Prior art keywords
- photographing
- line draft
- terminal
- pose
- filter
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
- H04N5/2621—Cameras specially adapted for the electronic generation of special effects during image pickup, e.g. digital cameras, camcorders, video cameras having integrated special effects capability
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
Description
技术领域technical field
本发明涉及图像信息处理技术领域,尤其涉及一种辅助拍照的方法和终端。The present invention relates to the technical field of image information processing, in particular to a method and terminal for assisting in photographing.
背景技术Background technique
人们在日常生活中经常会通过拍照来留下美好回忆,对于没有专门研究过摄影的普通用户,平时拍生活照,都不太擅长摆姿势,大多数人只会两个,即剪刀手和呆木头,姿势比较单一。和家人、朋友或亲人一起聚会或活动时拍集体照,姿势单一的画面感会更差。People often leave good memories by taking photos in their daily life. For ordinary users who have not specialized in photography, they are not very good at posing for daily life photos. Most people only know two, namely, scissor hands and dumb Wood, the posture is relatively simple. When taking a group photo at a party or event with family, friends or relatives, the picture with a single pose will be even worse.
发明内容Contents of the invention
本发明实施例提供了一种辅助拍照的方法和终端,来解决以上技术问题。Embodiments of the present invention provide a method and terminal for assisting in photographing to solve the above technical problems.
为达此目的,本发明采用以下技术方案:For reaching this purpose, the present invention adopts following technical scheme:
第一方面,本发明实施例提供了一种辅助拍照的方法,该方法具体包括:In the first aspect, an embodiment of the present invention provides a method for assisting in taking pictures, and the method specifically includes:
驱动终端的拍照装置开始工作;The camera device of the drive terminal starts to work;
辅助拍照模式下,从pose线稿资源库中获取拍照姿势线稿素材;In the assisted photo mode, obtain the photo pose line draft material from the pose line draft resource library;
选定所述拍照姿势线稿素材中的一个拍照姿势线稿作为拍照时的模仿姿势;Selecting a photographing pose line draft in the photographing pose line draft material as an imitation pose when taking pictures;
在终端的显示屏上显示所述模仿姿势;displaying said imitation gesture on a display screen of the terminal;
其中,所述拍照姿势线稿素材包括至少一个拍照姿势线稿。Wherein, the photographing pose line draft material includes at least one photographing pose line draft.
优选的,所述步骤:驱动终端的拍照装置开始工作之后,还包括:Preferably, the step: after driving the camera device of the terminal to start working, further includes:
检测终端的辅助拍照功能是否开启;Detect whether the auxiliary camera function of the terminal is enabled;
若是,控制终端工作于所述辅助拍照模式;If so, the control terminal works in the auxiliary photographing mode;
否则,控制终端工作于非辅助拍照模式。Otherwise, the control terminal works in the non-assisted photographing mode.
优选的,所述步骤:驱动终端的拍照装置开始工作之后,还包括:Preferably, the step: after driving the camera device of the terminal to start working, further includes:
加载预先存储的滤镜集;所述滤镜集包括至少一个用于渲染拍照效果的模拟滤镜;Loading a pre-stored filter set; the filter set includes at least one analog filter for rendering photographic effects;
选定一个所述模拟滤镜作为拍照时的渲染滤镜;Selecting one of the analog filters as a rendering filter when taking pictures;
通过所述渲染滤镜,对所述拍照装置拍摄的原始图像进行渲染;Rendering the original image captured by the photographing device through the rendering filter;
在所述显示屏上显示所述原始图像经所述渲染滤镜渲染后得到的渲染图像。A rendered image obtained by rendering the original image through the rendering filter is displayed on the display screen.
优选的,所述步骤:在所述显示屏上显示所述原始图像经所述渲染滤镜渲染后得到的渲染图像之后,还包括:Preferably, the step: after displaying the rendered image obtained by rendering the original image through the rendering filter on the display screen, further includes:
实时监测终端的快门操控开关是否被点击或选中;Real-time monitoring of whether the shutter control switch of the terminal is clicked or selected;
若是,将当前所述显示屏显示的渲染图像存储于终端的存储器中;If so, storing the rendered image currently displayed on the display screen in a memory of the terminal;
否则,检测是否收到驱动所述拍照装置停止工作的控制信号;Otherwise, detect whether a control signal for driving the photographing device to stop working is received;
所述步骤:检测是否收到驱动所述拍照装置停止工作的控制信号之后,还包括:若收到驱动所述拍照装置停止工作的控制信号,驱动所述拍照装置停止工作。The step: after detecting whether a control signal for driving the photographing device to stop working is received, further includes: driving the photographing device to stop working if a control signal for driving the photographing device to stop working is received.
优选的,所述pose线稿资源库包括服务器存储的在线pose线稿资源库和终端的存储器存储的离线pose线稿资源库;Preferably, the pose line draft resource library includes an online pose line draft resource library stored in the server and an offline pose line draft resource library stored in the memory of the terminal;
所述步骤:辅助拍照模式下,从pose线稿资源库中获取拍照姿势线稿素材,具体包括:Said steps: in the assisted photographing mode, obtain the photographing pose line draft material from the pose line draft resource library, specifically including:
检测终端和服务器是否建立通信连接;Detect whether the terminal and the server establish a communication connection;
若是,从所述在线pose线稿资源库中获取拍照姿势线稿素材;If so, obtain the photographic pose line draft material from the online pose line draft resource library;
否则,从所述离线pose线稿资源库中获取拍照姿势线稿素材。Otherwise, obtain the photographing pose line draft material from the offline pose line draft resource library.
第二方面,本发明实施例提供了一种辅助拍照的终端,该终端包括拍照装置;还包括:In a second aspect, an embodiment of the present invention provides a terminal for assisting in taking photos, the terminal includes a camera; and further includes:
驱动开关,用于驱动所述拍照装置开始工作;A drive switch, used to drive the photographing device to start working;
素材获取模块,用于辅助拍照模式下,从pose线稿资源库中获取拍照姿势线稿素材;The material acquisition module is used to obtain the photographing pose line draft material from the pose line draft resource library in the auxiliary photographing mode;
模仿姿势选定模块,用于选定所述拍照姿势线稿素材中的一个拍照姿势线稿作为拍照时的模仿姿势;An imitation posture selection module, used to select a photographing posture line draft in the photographing posture line draft material as an imitation posture when taking pictures;
显示屏,用于显示所述模仿姿势;a display screen for displaying the imitation gesture;
其中,所述拍照姿势线稿素材包括至少一个拍照姿势线稿。Wherein, the photographing pose line draft material includes at least one photographing pose line draft.
优选的,所述终端还包括:辅助拍照功能开关,用于开启或关闭终端的辅助拍照功能;Preferably, the terminal further includes: an auxiliary camera function switch, which is used to turn on or off the auxiliary camera function of the terminal;
终端的辅助拍照功能开启时,控制终端工作于所述辅助拍照模式;When the auxiliary photographing function of the terminal is turned on, the terminal is controlled to work in the auxiliary photographing mode;
终端的辅助拍照功能关闭时,控制终端工作于非辅助拍照模式。When the auxiliary camera function of the terminal is turned off, the terminal is controlled to work in the non-assisted camera mode.
优选的,所述终端还包括:滤镜加载模块,用于加载预先存储的滤镜集;所述滤镜集包括至少一个用于渲染拍照效果的模拟滤镜;Preferably, the terminal further includes: a filter loading module, configured to load a pre-stored filter set; the filter set includes at least one analog filter for rendering a photographing effect;
滤镜选定模块,用于选定一个所述模拟滤镜作为拍照时的渲染滤镜;A filter selection module, used to select one of the analog filters as a rendering filter when taking pictures;
效果渲染模块,用于通过所述渲染滤镜,对所述拍照装置拍摄的原始图像进行渲染;An effect rendering module, configured to render the original image captured by the photographing device through the rendering filter;
所述显示屏还用于显示所述原始图像经所述渲染滤镜渲染后得到的渲染图像。The display screen is also used to display a rendered image obtained by rendering the original image through the rendering filter.
优选的,所述终端还包括快门操控开关和存储器;Preferably, the terminal further includes a shutter control switch and a memory;
所述拍照装置实时监测所述快门操控开关是否被点击或选中;若是,将当前所述显示屏显示的渲染图像存储于所述存储器中;否则,检测是否收到所述驱动开关发送的驱动所述拍照装置停止工作的控制信号;The photographing device monitors in real time whether the shutter control switch is clicked or selected; if so, stores the rendered image currently displayed on the display screen in the memory; otherwise, detects whether a drive signal sent by the drive switch is received. The control signal for stopping the work of the photographing device;
所述驱动开关还用于向所述拍照装置发送控制所述拍照装置停止工作的控制信号,以驱动所述拍照装置停止工作;The drive switch is also used to send a control signal to the photographing device to stop the photographing device from working, so as to drive the photographing device to stop working;
所述拍照装置还用于若收到所述驱动开关发送的控制所述拍照装置停止工作的控制信号,停止工作。The photographing device is further configured to stop working if it receives a control signal sent by the drive switch to control the photographing device to stop working.
优选的,所述终端还包括通信连接模块,用于和服务器建立通信连接;Preferably, the terminal further includes a communication connection module, configured to establish a communication connection with the server;
所述pose线稿资源库包括所述服务器存储的在线pose线稿资源库和所述存储器存储的离线pose线稿资源库;The pose line draft resource library includes an online pose line draft resource library stored in the server and an offline pose line draft resource library stored in the memory;
所述从pose线稿资源库中获取拍照姿势线稿素材,具体包括:The acquisition of the photographic pose line draft material from the pose line draft resource library specifically includes:
辅助拍照模式下,所述素材获取模块还用于检测终端和服务器是否建立通信连接;若是,从所述在线pose线稿资源库中获取拍照姿势线稿素材;否则,从所述离线pose线稿资源库中获取拍照姿势线稿素材。Under the auxiliary photographing mode, the material acquisition module is also used to detect whether a communication connection is established between the terminal and the server; if so, obtain the photographing pose line draft material from the online pose line draft resource library; otherwise, obtain the pose line draft material from the offline pose line draft Get the photo pose line draft material from the resource library.
从以上技术方案可以看出,本发明实施例具有以下优点:本发明在用户拍照时给出拍照姿势线稿,提示用户拍照可摆成的姿势,用户只需根据拍照姿势线稿摆出相应的姿势就可以拍出优美的照片,十分方便和实用。From the above technical solutions, it can be seen that the embodiments of the present invention have the following advantages: the present invention provides a line draft of a photographing pose when the user takes a photo, and prompts the user to take a photo of a pose that can be taken, and the user only needs to pose correspondingly according to the draft of the photographing pose. It is very convenient and practical to take beautiful photos with just one posture.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings on the premise of not paying creative efforts.
图1是本发明所述的辅助拍照的终端的结构方框图。FIG. 1 is a structural block diagram of a terminal for assisting photographing according to the present invention.
图2是本发明所述的辅助拍照的方法流程图。Fig. 2 is a flow chart of the method for assisting in photographing according to the present invention.
图中:In the picture:
100、终端;200、服务器;101、通信连接模块;102、驱动开关;103、拍照装置;104、快门操控开关;105、显示屏;106、存储器;107、滤镜开关;108、滤镜加载模块;109、滤镜选定模块;110、效果渲染模块;111、辅助拍照功能开关;112、素材获取模块;113、模仿姿势选定模块。100. Terminal; 200. Server; 101. Communication connection module; 102. Drive switch; 103. Camera device; 104. Shutter control switch; 105. Display screen; 106. Memory; 107. Filter switch; module; 109, filter selection module; 110, effect rendering module; 111, auxiliary camera function switch; 112, material acquisition module; 113, imitation gesture selection module.
具体实施方式detailed description
本发明实施例提供了一种辅助拍照的方法和终端,用于在拍照时提示用户摆出合适的拍照姿势。Embodiments of the present invention provide a method and a terminal for assisting in taking pictures, which are used for prompting a user to adopt a suitable pose for taking pictures when taking pictures.
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,下面所描述的实施例仅仅是本发明一部分实施例,而非全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
下面结合附图并通过具体实施方式来进一步说明本发明的技术方案。The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and through specific implementation methods.
本实施例提供的方法主要应用于各种具备拍照功能的智能终端,包括智能手机、笔记本电脑、平板电脑、数码相机等,优选的,所述智能终端包括一触摸屏。The method provided in this embodiment is mainly applied to various intelligent terminals with a camera function, including smart phones, notebook computers, tablet computers, digital cameras, etc. Preferably, the intelligent terminal includes a touch screen.
请参考图1,图1是本发明所述的辅助拍照的终端100的结构方框图。该终端100包括:通信连接模块101、驱动开关102、拍照装置103、快门操控开关104、显示屏105、存储器106、辅助拍照功能开关111、素材获取模块112以及模仿姿势选定模块113。Please refer to FIG. 1 . FIG. 1 is a structural block diagram of a terminal 100 for assisting photographing according to the present invention. The terminal 100 includes: a communication connection module 101, a driving switch 102, a photographing device 103, a shutter control switch 104, a display screen 105, a memory 106, an auxiliary photographing function switch 111, a material acquisition module 112 and an imitation pose selection module 113.
其中,驱动开关102用于驱动拍照装置103工作或停止工作;具体为:通过触控或操控驱动开关102开启或关闭,使其向拍照装置103发送驱动拍照装置103开始工作或停止工作的控制信号,以驱动拍照装置103开始工作或停止工作。Wherein, the drive switch 102 is used to drive the photographing device 103 to work or stop working; specifically: by touching or manipulating the drive switch 102 to turn on or off, so that it sends a control signal to the photographing device 103 to drive the photographing device 103 to start working or stop working , to drive the photographing device 103 to start working or stop working.
拍照装置103为终端100的拍照或摄像设备,例如终端100为智能手机时,拍照装置103为摄像头及其相关装置或电路。The photographing device 103 is a photographing or imaging device of the terminal 100, for example, when the terminal 100 is a smart phone, the photographing device 103 is a camera and related devices or circuits.
快门操控开关104用于控制拍照装置103是否进行拍照,具体的,拍照装置103实时监测快门操控开关104是否被点击或选中;若是,捕获当前显示屏105显示的图像,并存储于存储器106中;否则,检测是否收到驱动开关102发送的驱动拍照装置103停止工作的控制信号。The shutter control switch 104 is used to control whether the photographing device 103 takes pictures. Specifically, the photographing device 103 monitors in real time whether the shutter control switch 104 is clicked or selected; if so, captures the image currently displayed on the display screen 105 and stores it in the memory 106; Otherwise, it is detected whether a control signal for driving the photographing device 103 to stop working is received from the drive switch 102 .
本实施例中,快门操控开关104采用按键或功能按钮的形式实现均可。如快门操控开关104采用按键操作形式,点击一次按键即触发快门操控开关104,拍照装置103即拍照一次;如快门操控开关104采用如触摸屏上的功能按钮形式,选中快门操控开关104即触发快门操控开关104,拍照装置103即拍照一次。In this embodiment, the shutter control switch 104 may be implemented in the form of a button or a function button. If the shutter control switch 104 adopts the button operation form, clicking the button once triggers the shutter control switch 104, and the photographing device 103 takes a picture once; if the shutter control switch 104 adopts a function button form on a touch screen, selecting the shutter control switch 104 triggers the shutter control Switch 104, and the photographing device 103 takes a photograph once.
具体的,辅助拍照功能开关111用于开启或关闭终端100的辅助拍照功能;辅助拍照功能开启时,终端100工作于辅助拍照模式;辅助拍照功能关闭或不开启时,终端100工作于非辅助拍照模式。Specifically, the auxiliary camera function switch 111 is used to turn on or off the auxiliary camera function of the terminal 100; when the auxiliary camera function is enabled, the terminal 100 works in the auxiliary camera mode; model.
素材获取模块112用于辅助拍照模式下,从pose(姿势)线稿资源库中获取拍照姿势线稿素材;其中,pose线稿资源库包括服务器200存储的在线pose线稿资源库和存储器106存储的离线pose线稿资源库。The material acquisition module 112 is used to obtain the photographing pose line draft material from the pose (posture) line draft resource library in the auxiliary photographing mode; wherein, the pose line draft resource library includes an online pose line draft resource library stored in the server 200 and stored in the memory 106. Offline pose line draft resource library.
具体的,终端100的通信连接模块101用于和服务器200建立通信连接。所述从pose线稿资源库中获取拍照姿势线稿素材,具体包括:Specifically, the communication connection module 101 of the terminal 100 is used to establish a communication connection with the server 200 . The acquisition of the photographic pose line draft material from the pose line draft resource library specifically includes:
驱动开关102驱动拍照装置103开始工作后,素材获取模块112会获取辅助拍照功能开关111的状态,以确定终端100是否工作于辅助拍照模式。After the driving switch 102 drives the photographing device 103 to start working, the material acquisition module 112 will acquire the state of the auxiliary photographing function switch 111 to determine whether the terminal 100 is working in the auxiliary photographing mode.
若终端100工作于辅助拍照模式,素材获取模块112先检测终端100和服务器200是否建立通信连接;若是,从服务器200的在线pose线稿资源库中获取拍照姿势线稿素材;否则,从终端100的本地存储器106中预先存储的离线pose线稿资源库中获取拍照姿势线稿素材。If the terminal 100 works in the auxiliary photographing mode, the material acquisition module 112 first detects whether the terminal 100 and the server 200 establish a communication connection; Get the photographic pose line draft material from the offline pose line draft resource library pre-stored in the local storage 106 of .
其中,离线pose线稿资源库还可支持手动更新。更新时,终端100需和服务器200建立通信连接,用户可选的从服务器200的在线pose线稿资源库中下载所需的拍照姿势线稿素材,并存储于所述离线pose线稿资源库中。Among them, the offline pose line draft resource library can also support manual update. When updating, the terminal 100 needs to establish a communication connection with the server 200, and the user can optionally download the required photographic pose line draft material from the online pose line draft resource library of the server 200, and store it in the offline pose line draft resource library .
具体的,素材获取模块112获取到拍照姿势线稿素材后,模仿姿势选定模块113读取所述拍照姿势线稿素材,拍照姿势线稿素材中可包括多个拍照姿势线稿,通过菜单或列表等方式显示于显示屏105中,供用户选择,进而选定所需的拍照姿势线稿作为拍照时的模仿姿势。例如:每个拍照姿势线稿以一功能按钮的方式显示于显示屏105中,用户选中该按钮即在显示屏105中展示该拍照姿势线稿。Specifically, after the material acquisition module 112 acquires the line draft material of the photographing pose, the imitation pose selection module 113 reads the line draft material of the photographing pose. The line draft material of the photographing pose may include multiple line drafts of the photographing pose. A list or the like is displayed on the display screen 105 for the user to choose, and then select the required photographing posture line drawing as the imitation posture when taking a photo. For example: each photographing pose sketch is displayed on the display screen 105 in the form of a function button, and the user selects the button to display the photographing pose sketch on the display screen 105 .
本发明实施例在用户拍照时给出拍照姿势线稿,提示用户拍照可摆成的姿势,用户只需根据拍照姿势线稿摆出相应的姿势就可以拍出优美的照片,十分方便和实用。The embodiment of the present invention provides a picture-taking pose line draft when the user is taking a picture, and prompts the user to take a picture.
此外,终端100还包括:滤镜开关107、滤镜加载模块108、滤镜选定模块109以及效果渲染模块110。In addition, the terminal 100 also includes: a filter switch 107 , a filter loading module 108 , a filter selection module 109 and an effect rendering module 110 .
其中,滤镜开关107用于开启或关闭终端100的滤镜功能;滤镜加载模块108用于滤镜功能开启后,加载预先存储的滤镜集;所述滤镜集包括至少一个用于渲染拍照效果的模拟滤镜;滤镜选定模块109用于选定一个所述模拟滤镜作为拍照时的渲染滤镜;效果渲染模块110用于通过所述渲染滤镜,对拍照装置103拍摄的原始图像进行渲染,得到原始图像的渲染图像。Among them, the filter switch 107 is used to turn on or off the filter function of the terminal 100; the filter loading module 108 is used to load a pre-stored filter set after the filter function is turned on; the filter set includes at least one for rendering The simulation filter of photographing effect; Filter selection module 109 is used for selecting one described simulation filter as the rendering filter when taking pictures; The original image is rendered to obtain a rendered image of the original image.
终端100的滤镜功能开启后,显示屏105中显示的不再是拍照装置103实际拍摄到的图像,而是显示原始图像经所述渲染滤镜渲染后得到的渲染图像。After the filter function of the terminal 100 is turned on, what is displayed on the display screen 105 is no longer the image actually captured by the photographing device 103, but the rendered image obtained by rendering the original image through the rendering filter.
本实施例中,滤镜功能可以和辅助拍照功能结合使用,滤镜功能使拍照装置103拍摄到的图像更加美观,辅助拍照功能使用户在拍照时无需再花过多时间去考虑摆什么姿势,使拍照更方便。In this embodiment, the filter function can be used in combination with the auxiliary photographing function. The filter function makes the image captured by the photographing device 103 more beautiful. Make taking pictures more convenient.
终端100的具体工作流程请继续请参考图2,图2是本发明所述的辅助拍照的方法流程图。该方法包括:Please continue to refer to FIG. 2 for the specific workflow of the terminal 100 . FIG. 2 is a flow chart of the method for assisting in photographing according to the present invention. The method includes:
S301、驱动终端100的拍照装置103开始工作。S301, drive the photographing device 103 of the terminal 100 to start working.
驱动开关102用于驱动拍照装置103工作或停止工作;具体为:通过触控或操控驱动开关102开启或关闭,使其向拍照装置103发送驱动拍照装置103开始工作或停止工作的控制信号,以驱动拍照装置103开始工作或停止工作。The drive switch 102 is used to drive the photographing device 103 to work or stop working; specifically: by touching or manipulating the drive switch 102 to turn on or off, it sends a control signal to the photographing device 103 to drive the photographing device 103 to start working or stop working, so as to Drive the camera device 103 to start working or stop working.
其中,驱动开关102开启拍照装置103时,还向素材获取模块112以及滤镜加载模块108发送开始工作的通知信号;驱动开关102关闭拍照装置103时,还向素材获取模块112以及滤镜加载模块108发送停止工作的通知信号。Wherein, when the driving switch 102 turns on the camera device 103, it also sends a notification signal of starting work to the material acquisition module 112 and the filter loading module 108; 108 Send a notification signal to stop working.
S302、检测终端100的辅助拍照功能是否开启;若是,进入步骤S303;否则,进入步骤S304。S302. Detect whether the auxiliary photographing function of the terminal 100 is enabled; if yes, go to step S303; otherwise, go to step S304.
素材获取模块112收到开始工作的通知信号后,开始工作,获取辅助拍照功能开关111的开关状态,以确定终端100是否工作于辅助拍照模式。其中,辅助拍照功能开关111用于开启终端100的辅助拍照功能。The material acquisition module 112 starts to work after receiving the notification signal of starting to work, and acquires the switching state of the auxiliary photographing function switch 111 to determine whether the terminal 100 is working in the auxiliary photographing mode. Wherein, the auxiliary photographing function switch 111 is used to enable the auxiliary photographing function of the terminal 100 .
S303、控制终端100工作于辅助拍照模式,进入步骤S305。S303. The control terminal 100 works in the auxiliary photographing mode, and enters step S305.
S304、控制终端100工作于非辅助拍照模式,进入步骤S310。S304. The control terminal 100 works in the non-assisted photographing mode, and enters step S310.
S305、检测终端100和服务器200是否建立通信连接;若是,进入步骤S306;否则,进入步骤S307。S305. Check whether the terminal 100 and the server 200 have established a communication connection; if yes, go to step S306; otherwise, go to step S307.
pose线稿资源库包括服务器200存储的在线pose线稿资源库和终端100的存储器106存储的离线pose线稿资源库。The pose line draft resource library includes an online pose line draft resource pool stored in the server 200 and an offline pose line draft resource pool stored in the memory 106 of the terminal 100 .
S306、从在线pose线稿资源库中获取拍照姿势线稿素材,进入步骤S308。S306. Obtain the photographic pose line draft material from the online pose line draft resource library, and proceed to step S308.
S307、从离线pose线稿资源库中获取拍照姿势线稿素材,进入步骤S308。S307. Obtain the photographing pose line draft material from the offline pose line draft resource library, and proceed to step S308.
S308、选定所述拍照姿势线稿素材中的一个拍照姿势线稿作为拍照时的模仿姿势。S308. Select a photographing pose line draft in the photographing pose line draft material as an imitation pose when taking pictures.
其中,所述拍照姿势线稿素材包括至少一个拍照姿势线稿。Wherein, the photographing pose line draft material includes at least one photographing pose line draft.
S309、在显示屏105上显示所述模仿姿势,进入步骤S310。S309. Display the imitation gesture on the display screen 105, and proceed to step S310.
S310、检测终端100的滤镜功能是否开启;若是,进入步骤S311;否则,进入步骤S312。S310. Detect whether the filter function of the terminal 100 is enabled; if yes, go to step S311; otherwise, go to step S312.
本步骤即检测滤镜开关107的开关状态,滤镜开关107用于开启或关闭终端100的滤镜功能。This step is to detect the switch state of the filter switch 107 , and the filter switch 107 is used to enable or disable the filter function of the terminal 100 .
S311、加载预先存储的滤镜集,进入步骤S313。S311. Load a pre-stored filter set, and go to step S313.
滤镜加载模块108用于滤镜功能开启后,加载预先存储的滤镜集,并在显示屏105中以功能按钮或其他可功能选择的方式进行展示;所述滤镜集包括至少一个用于渲染拍照效果的模拟滤镜。本实施例中,滤镜集存储于本地的存储器106中。The filter loading module 108 is used to load a pre-stored filter set after the filter function is turned on, and display it in the display screen 105 in a function button or other selectable mode; the filter set includes at least one for An analog filter for rendering camera effects. In this embodiment, the filter set is stored in the local storage 106 .
S313、选定一个所述模拟滤镜作为拍照时的渲染滤镜,进入步骤S314。S313. Select one of the analog filters as a rendering filter when taking pictures, and proceed to step S314.
S314、通过所述渲染滤镜,对拍照装置103拍摄的原始图像进行渲染,进入步骤S315。S314. Render the original image captured by the photographing device 103 through the rendering filter, and proceed to step S315.
效果渲染模块110通过所述渲染滤镜,对拍照装置103拍摄的原始图像进行渲染,得到原始图像的渲染图像。The effect rendering module 110 renders the original image captured by the photographing device 103 through the rendering filter to obtain a rendered image of the original image.
S315、在显示屏105显示所述渲染图像,进入步骤S316。S315. Display the rendered image on the display screen 105, and go to step S316.
终端100的滤镜功能开启后,显示屏105中显示的不再是拍照装置103实际拍摄到的图像,而是显示原始图像经所述渲染滤镜渲染后得到的渲染图像。After the filter function of the terminal 100 is turned on, what is displayed on the display screen 105 is no longer the image actually captured by the photographing device 103, but the rendered image obtained by rendering the original image through the rendering filter.
S316、实时监测终端100的快门操控开关104是否被点击或选中;若是,进入步骤S317;否则,进入步骤S319。S316 , monitor in real time whether the shutter control switch 104 of the terminal 100 is clicked or selected; if yes, go to step S317 ; otherwise, go to step S319 .
S317、将当前显示屏105显示的渲染图像存储于存储器106中,进入步骤S319。S317. Store the rendered image currently displayed on the display screen 105 in the memory 106, and enter step S319.
S319、检测是否收到驱动拍照装置103停止工作的控制信号;若是,进入步骤S320;否则,返回步骤S302。S319. Detect whether a control signal for driving the photographing device 103 to stop working is received; if yes, enter step S320; otherwise, return to step S302.
本步骤即检测驱动开关102的开关状态或用户是否退出拍照界面。This step is to detect the switch state of the drive switch 102 or whether the user exits the camera interface.
S320、驱动拍照装置103停止工作。S320, driving the photographing device 103 to stop working.
当通过驱动开关102驱动拍照装置103停止工作,或用户退出拍照界面时,控制拍照装置103停止工作。When the camera device 103 is driven to stop working through the driving switch 102, or the user exits the camera interface, the camera device 103 is controlled to stop working.
本实施例中,步骤S310之后还包括步骤S312。In this embodiment, step S312 is further included after step S310.
S312、实时监测终端100的快门操控开关104是否被点击或选中;若是,进入步骤S318;否则,进入步骤S319。S312, real-time monitoring whether the shutter control switch 104 of the terminal 100 is clicked or selected; if yes, go to step S318; otherwise, go to step S319.
S318、将拍照装置103当前捕获的原始图像存储于存储器106中,进入步骤S319。S318. Store the original image currently captured by the photographing device 103 in the memory 106, and enter step S319.
本实施例中,步骤之间的相互顺序并不是不可改变的,如先进行步骤S310,其并不影响本发明所产生的技术效果。In this embodiment, the order of the steps is not immutable. For example, step S310 is performed first, which does not affect the technical effect produced by the present invention.
本实施例在拍照时通过把不同场景下拍照姿势线稿实时显示在终端100的显示屏105上指示用户摆出专业的姿势,让普通人也能拍出好照片,让你的生活照不再那么单调。This embodiment instructs the user to pose in a professional pose by displaying the line drafts of photographing poses in different scenes in real time on the display screen 105 of the terminal 100 when taking pictures, so that ordinary people can also take good photos, and your life photos will no longer be So monotonous.
本发明实施例中,线稿即用线条构成的简图,其和拍摄装置103捕获的图像在显示屏105上叠加显示,可设置其位于显示屏105的中部,也可设置其位于显示屏105的周边,其对用户查看拍摄装置103捕获的图像的视觉影响可忽略不计,而且线稿还可通过手动设置其大小,用户可根据需求对其大小进行设置,此外,线稿还支持在显示屏105的屏幕上进行拖动,使其位于显示屏105上任意位置,以适合不同用户的需求。In the embodiment of the present invention, the line draft is a simple diagram made of lines, which is superimposed and displayed on the display screen 105 with the image captured by the shooting device 103. surroundings, its visual impact on the user viewing the images captured by the shooting device 103 is negligible, and the size of the line draft can also be manually set, and the user can set its size according to the needs. In addition, the line draft also supports the display screen 105 on the screen, so that it is located at any position on the display screen 105, to suit the needs of different users.
应该理解的是,本实施例的终端100还包括可读存储介质、一个或者一个以上的处理器,以及一个或者一个以上的程序;其中,一个或者一个以上程序存储于可读存储介质中,且经配置由一个或者一个以上处理器执行,一个或者一个以上程序包含用于进行以上步骤的指令。It should be understood that the terminal 100 in this embodiment also includes a readable storage medium, one or more processors, and one or more programs; wherein, one or more programs are stored in the readable storage medium, and Configured for execution by one or more processors, one or more programs contain instructions for performing the above steps.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括内存、缓存、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium, and the storage medium can include Memory, cache, disk or CD, etc.
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still understand the foregoing The technical solutions recorded in each embodiment are modified, or some of the technical features are replaced equivalently; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610281645.6A CN105872382A (en) | 2016-04-29 | 2016-04-29 | A method and terminal for assisting photography |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610281645.6A CN105872382A (en) | 2016-04-29 | 2016-04-29 | A method and terminal for assisting photography |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105872382A true CN105872382A (en) | 2016-08-17 |
Family
ID=56629025
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610281645.6A Pending CN105872382A (en) | 2016-04-29 | 2016-04-29 | A method and terminal for assisting photography |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105872382A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107295184A (en) * | 2017-06-29 | 2017-10-24 | 广东艾檬电子科技有限公司 | A kind of photographic method and device |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201821414U (en) * | 2010-08-06 | 2011-05-04 | 天津三星光电子有限公司 | Digital camera with photography posture reference function |
CN102891958A (en) * | 2011-07-22 | 2013-01-23 | 北京华旗随身数码股份有限公司 | Digital camera with posture guiding function |
CN103297697A (en) * | 2013-05-30 | 2013-09-11 | 北京小米科技有限责任公司 | Method and device for displaying template pictures during photographing |
CN104010124A (en) * | 2013-02-22 | 2014-08-27 | 腾讯科技(深圳)有限公司 | Method and device for displaying filter effect, and mobile terminal |
CN104184934A (en) * | 2013-05-23 | 2014-12-03 | 北京千橡网景科技发展有限公司 | Method and apparatus for providing auxiliary reference for shooting |
CN104284092A (en) * | 2014-10-16 | 2015-01-14 | 北京橙鑫数据科技有限公司 | Photographing method, intelligent terminal and cloud server |
CN104539842A (en) * | 2014-12-17 | 2015-04-22 | 宇龙计算机通信科技(深圳)有限公司 | Intelligent photographing method and photographing device |
US20150146042A1 (en) * | 2013-11-26 | 2015-05-28 | Kathleen Panek-Rickerson | Template Photography and Methods of Using the Same |
CN104767940A (en) * | 2015-04-14 | 2015-07-08 | 深圳市欧珀通信软件有限公司 | Photography method and device |
CN104808975A (en) * | 2014-01-26 | 2015-07-29 | 腾讯科技(深圳)有限公司 | Filter realizing method and device of camera application |
-
2016
- 2016-04-29 CN CN201610281645.6A patent/CN105872382A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201821414U (en) * | 2010-08-06 | 2011-05-04 | 天津三星光电子有限公司 | Digital camera with photography posture reference function |
CN102891958A (en) * | 2011-07-22 | 2013-01-23 | 北京华旗随身数码股份有限公司 | Digital camera with posture guiding function |
CN104010124A (en) * | 2013-02-22 | 2014-08-27 | 腾讯科技(深圳)有限公司 | Method and device for displaying filter effect, and mobile terminal |
CN104184934A (en) * | 2013-05-23 | 2014-12-03 | 北京千橡网景科技发展有限公司 | Method and apparatus for providing auxiliary reference for shooting |
CN103297697A (en) * | 2013-05-30 | 2013-09-11 | 北京小米科技有限责任公司 | Method and device for displaying template pictures during photographing |
US20150146042A1 (en) * | 2013-11-26 | 2015-05-28 | Kathleen Panek-Rickerson | Template Photography and Methods of Using the Same |
CN104808975A (en) * | 2014-01-26 | 2015-07-29 | 腾讯科技(深圳)有限公司 | Filter realizing method and device of camera application |
CN104284092A (en) * | 2014-10-16 | 2015-01-14 | 北京橙鑫数据科技有限公司 | Photographing method, intelligent terminal and cloud server |
CN104539842A (en) * | 2014-12-17 | 2015-04-22 | 宇龙计算机通信科技(深圳)有限公司 | Intelligent photographing method and photographing device |
CN104767940A (en) * | 2015-04-14 | 2015-07-08 | 深圳市欧珀通信软件有限公司 | Photography method and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107295184A (en) * | 2017-06-29 | 2017-10-24 | 广东艾檬电子科技有限公司 | A kind of photographic method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8773502B2 (en) | Smart targets facilitating the capture of contiguous images | |
US9106836B2 (en) | Imaging apparatus, control method for the same, and recording medium, where continuous shooting or single shooting is performed based on touch | |
KR102131733B1 (en) | Mobile terminal and method for starting shooting on mobile terminal | |
CN104574397B (en) | The method and mobile terminal of a kind of image procossing | |
CN110650241B (en) | Method and mobile terminal for presenting panoramic photos in mobile terminal | |
US20140240453A1 (en) | Apparatus and method photographing image | |
KR20210133112A (en) | Video processing method, apparatus and storage media | |
WO2016107055A1 (en) | Processing method and device for image splicing | |
US20140240540A1 (en) | Apparatus and method for processing an image in device | |
TW201135341A (en) | Front projection system and method | |
CN108965611A (en) | Shoot switching method, device, equipment and the storage medium at interface | |
CN104486544B (en) | The image pickup method and device of a kind of distant view photograph | |
WO2017063133A1 (en) | Shooting method and mobile device | |
CN113965694A (en) | Video recording method, electronic device and computer readable storage medium | |
CN105933614A (en) | Method and system for taking pictures and taking pictures | |
JP2017162371A (en) | Image processing device, image processing method and program | |
CN105554390A (en) | A camera method and device, selfie stick, camera system and mobile terminal | |
JP2013146011A (en) | Imaging device and program | |
TW201618532A (en) | System and method for taking pictures using assistance icon | |
JP2005204015A (en) | Mobile equipment and image processing method | |
CN105872382A (en) | A method and terminal for assisting photography | |
JP5907184B2 (en) | Information processing apparatus, information processing method, and program | |
JP2017103657A (en) | Imaging apparatus, imaging method, and computer program for imaging apparatus | |
WO2019061118A1 (en) | Panoramic capture method and terminal | |
CN107920210A (en) | Image capturing method, device and terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160817 |